Migueldeicaza, (edited ) to random
@Migueldeicaza@mastodon.social avatar

Over on twitter there has been a bit of a back and forth on C# and Rust simple json server performance.

I know C# has gotten a ton of performance tuning on the stack, and was wondering if Swift was up to the task.

I have never done Swift on the Server before, but the results are impressive:

Swift: 64k req/sec
.NET: 61k req/sec

https://gist.github.com/migueldeicaza/d85ef9fe0ac0a14162aeff512dd9072e

Original thread:

https://x.com/migueldeicaza/status/1794361106665750860

mackuba,
@mackuba@martianbase.net avatar

@Migueldeicaza I wonder why here https://www.techempower.com/benchmarks/#hw=ph&test=json&section=data-r22 Swift/Vapor is doing much, much worse than C# or Rust?

Should I use Rust and Go together or just Go?

So I want to make a new project. It will have a website and an algorithm which will handle the requests. The thing is, web development in Rust feels harder than say in Go or Python. So I thought maybe I could somehow make bindings in Rust for Go since the faster the algorithm is, the better. However, that seems to complicate...

aura, to random

this Mitra instance feels fast. Is it because its written in Rust? Or is it because there is pretty much no load on the server ?

nimda,

@aura most of the speediness is probably no load and good ping to L.A. (where the VPS is). The VPS is 4 core, 2GB, nothing special. Mitra also uses actix for the HTTP framework which has really nice performance too: https://www.techempower.com/benchmarks/#hw=ph&test=fortune&section=data-r22

Welcome!

image/png

kubikpixel, (edited ) to ArtificialIntelligence
@kubikpixel@chaos.social avatar

Yes this I am, I build software not hardware 🤷‍♂️

#comic #computer #joke #building #hw #hardware #nerdhumor #humor #hacker

ottaross, to Electronics
@ottaross@mastodon.social avatar

I've been a big fan of #DigiKey for more than 20yrs.

Before even Amazon was a thing they could take orders for electronic parts in an afternoon and get them to my door before 10:00am the next day.

It seemed like magic. You didn't have to even pause your proj to try a new component. Maybe you'd switch focus for the afternoon, then the next morning the chips or resistors you needed were at your door before you finished drinking your tea…

#maker #electronics #HW

ottaross,
@ottaross@mastodon.social avatar

It seems much slower now, taking a couple of days or so. Possible the parts I ordered yesterday may not even make it here before the weekend. Perhaps courier co's are more heavily loaded, or supply chains are still recovering.

I'm almost finished my second cup of tea, and still doing work-arounds for the items I need on my current project. Guess I was spoiled during the easy days.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines