News for hackers. Stuff that matters.
Re:Go vs. C: A Language Comparison of Concurrent Programming... by nutate on Tuesday December 16, 2014 @11:35PM (#8761093)
Awesome write up. I did a fair amount of POSIX threads based c code and a bit of Go as if it were compiled Python programming. This helps bridge the gap between arcane pthreads best practices and the much more terse Go channel methodology. Thanks for doing this so I can start wrapping my head around the finer points of goroutines, etc.
Re:Go vs. C: A Language Comparison of Concurrent Programming... by bradhe on Wednesday December 17, 2014 @01:06AM (#8761276)
Comparing a language designed 35 years ago with a language designed a few years ago on the merits of a particular niche that the newer language was designed practically from the ground up for. Shocking conclusion here...
Re:Go vs. C: A Language Comparison of Concurrent Programming... by ustolemyname on Tuesday December 16, 2014 @03:53PM (#8759398)
This seems to be more "Go vs. POSIX Threads". I was expecting a discussion of Go vs. <stdatomic.h> and <threads.h> from C11.
Re:Go vs. C: A Language Comparison of Concurrent Programming... by amelius on Tuesday December 16, 2014 @03:48PM (#8759368)
What about Rust vs. Go?
Re:Go vs. C: A Language Comparison of Concurrent Programming... by dead10ck on Tuesday December 16, 2014 @06:34PM (#8760264)
I may do that in the future, once Rust has stabilized. They've recently changed the concurrency model to use native threads, instead of green threads, so their documentation is not accurate at present. And a comparison between them wouldn't really be meaningful anyway, until Rust has stabilized. That said, I'm sure there are plenty of other articles that compare Go and Rust.