News for hackers. Stuff that matters.
Re:Thoughts on Go vs. Rust vs. Zig by auxiliarymoose on Thursday December 04, 2025 @06:47PM (#46154929)
Agreed. Rob Pike presented a good talk "Concurrency is not Parallelism" which explains the motivations behind Go's concurrency model: https://youtu.be/oV9rvDllKEg

Between the lack of "colored functions" and the simplicity of communicating with channels, I keep surprising myself with how (relatively) quick and easy it is to develop concurrent systems with correct behavior in Go.

Re:Thoughts on Go vs. Rust vs. Zig by PaulKeeble on Thursday December 04, 2025 @07:17PM (#46155204)
Its a bit messy to do parallelism with it but it still works and its a consistent pattern and their are libraries that add it for the processing of slices and such. It could be made easier IMO, they are trying to dissuade its use but its actually really common to want to process N things distributed across multiple CPUs nowadays.
Re:Thoughts on Go vs. Rust vs. Zig by silisili on Thursday December 04, 2025 @07:37PM (#46155376)
True. But in my experience, the pattern of just using short lived goroutines via errgroup or a channel based semaphore, will typically get you full utilization across all cores assuming your limit is high enough.

Perhaps less guaranteed in patterns that feed a fixed limited number of long running goroutines.

Re:Thoughts on Go vs. Rust vs. Zig by theshrike79 on Friday December 05, 2025 @03:10AM (#46157925)
Just the fact that you can prototype with a direct solution and then just pretty much slap on concurrency by wrapping it in "go" and adding channels is amazing.