Re:I stopped everything and started writing C again
by johnisgood on Wednesday March 12, 2025 @09:39AM
(#43343152)
When it comes to multithreaded programs, I much prefer Go over C, too. :)
Re:I stopped everything and started writing C again
by johnisgood on Wednesday March 12, 2025 @12:13PM
(#43344768)
I also like Ada, it has built-in concurrency support, but I typically pick Go (and Elixir) these days. It used to be Ada and Erlang before.
Obviously, all of these languages are capable of doing anything the others can. Turing complete is turing complete. But compare the experience of writing a multithreaded program that has, as part of it, an embedded HTTP server that provides statistics as it runs. It's painful in C, fairly annoying in C++ unless you match well to some existing framework, pretty straightforward in Rust, and kinda trivial in Go.