16 ms·
Now I would probably also pick rust over go for something like an operating system, but this here was written explicitly to research the performance trade-offs
by koffiezet 6y ago
Now I would probably also pick rust over go for something like an operating system, but this here was written explicitly to research the performance trade-offs of writing it in a high-level gc'd language.
> go (and garbage-collected languages/runtimes in general) may be poor successors to C and C++ for applications where consistent performance and memory efficiency are important.
I think the latter part here is indeed important. From my pov, Go is a lot better suited for a lot of the stuff I previously used C/C++ for, where a scripting language like Python was sometimes an alternative. I rarely touch C/C++ anymore these days (except for arduino stuff), and python, which I used a lot before, has become something I only use when I really need a dynamic language for some hacky stuff.
But languages are just tools, pick the best-one for your problem. Go certainly carved out it's niche, and Rust is also going pretty strong, and although maybe not as accepted, is also very interesting and promising.