Thompson caught pants down (harassing C++). Well, him and Pike later ended up with Python replacement for YouTube and many other related Google services.
While u can easily use Go to replace tasks of Python, JavaScript, Ruby etc and get respectable performance, the problems arises when you try to use it for it was originally meant for replace C++.
We're still waiting for companies to come out and say we use Go exclusively for High Frequency Trading.
Till date, all languages meant to replace C++ falls short @ one major thing or the other with D being the closest. If you're a C++ programmer that cares about C++, you'd love.
- D never got the publicity it needed, plus the idea of GC that can't be turned off in the early days was a push off.
Rule: Never tell C++ your GC is better than RAII.
- Rust missed the point entirely focusing on Memory Safety as it's war campaign slogan forgetting C++ made it's glory with RAII and Templates (metaprogramming) or compile-time evaluations, and most importantly ability to just include a C header and sit back and relax.
As if that wasn't enough Rust came with a Syntax that arguably makes you think: shouldn't I be considering Erlang instead. U need adoption? U need a very low entry barrier.
D solves this in the beginning but missed the point about GC and payed for it. Even though they made changes now it's might just be too late you know - like the cheating wife, taking her back rarely happens.
We still say use the right tool for the Job. Go is a relief for those drowned in the ocean of NodeJS, Python and company, it's a life saver. But when you start going higher, an ms GC won't be enough.
they probably didn’t want to „replace C++“, they wanted to replace C++ in a certain area of high-performance server software development but people misinterpreted it as „they want to replace C++ entirely“ It just cannot replace C++ being a garbage collected language with poor compiler optimizations, that’s obvious Without starting a debate right now, I’d say that Rust learned from the mistakes made in C/C++ and solve them, but it needs time to get adopted by the industry yet. comparing Erlang to Rust is nonsense. Rust has a much lower entry barrier than C++. for most business tasks Go is more than just sufficiently fast. It solves the problem. Go is not a systems programming (software for software) language, it’s an application programming (software for businesses) language. The problem of C++ is that it must remain backward-compatible, so it has to carry a lot of very old and outdated legacy. This is why newer languages slowly eat C++’ market share
Обсуждают сегодня