News for hackers. Stuff that matters.
Re:Resource efficient Thread Pools with Zig by stewbrew on Monday September 13, 2021 @09:00AM (#28510937)
Erm, could somebody explain to me why I shouldn't understand this as an argument pro go given that it is about as fast as the fully optimized versions of zig and rust?
Re:Resource efficient Thread Pools with Zig by jerf on Monday September 13, 2021 @10:12AM (#28511739)
Go's value proposition is that it has good bang-for-the-buck. It's fairly easy to write in. There's easier, but it's fairly easy. It performs fairly well. There are things that perform better, but it's fairly good. It scales fairly well. There's things that scale better, but it's pretty good.

If you draw all this out on the programming landscape, I think one of the reasons Go has succeeded as well as it did is that this was a poorly covered part of the landscape. There were languages that were much easier, but performed much worse, and languages that performed much better, but generally required a lot more developer effort.

I don't expect Go to ever top the charts on performance on a task like this, but it's often hanging around at only a bit slower, and it does that across a wide variety of tasks and on a wide variety of dimensions. It's not the best at much of anything, but it's pretty darned good for pretty cheap on a lot of measures.

Re:Resource efficient Thread Pools with Zig by kristoff_it on Monday September 13, 2021 @09:08AM (#28511009)
I think that's a perfectly reasonable way of looking at it.
Re:Resource efficient Thread Pools with Zig by mamcx on Monday September 13, 2021 @11:31AM (#28512764)
Well, work with several task is THE thing with Go, right? If it were too much worse Go will fail.

In situations like this, is important to remember that Rust/Zig are (system)languages to MAKE "Go" but also, million other different things with different goals.

So other way to look at this is "If I wanna designa language with a runtime like Go, this both have it that close!"