4 ms·
Using existing compiler toolchains, obviously. In 11 years I think it's interesting to see how that has panned out. Go is very popular for a relatively new lang
by staticassertion 4y ago
Using existing compiler toolchains, obviously. In 11 years I think it's interesting to see how that has panned out. Go is very popular for a relatively new languages, yes.
- pjmlp 4y agoMeaning keeping C and C++ alive, if nothing else as the languages those compiler toolchains are written on.
- staticassertion 4y agoDoes anyone think that C and C++ are going to die? Anyway, I'm actually glad that Go went down this path exactly because it allows us to look at the decision and see the costs. I'm very curious to see if we do hit that S curve, as another poster mentioned.
- pjmlp 4y agoNot on our lifetime, but reducing the use cases that require their uses helps. This is also why I follow GraalVM since the days it used to be MaximeVM.
- staticassertion 4y agoI personally have no issue with C++ being used for compilers, but to each their own.
- pjmlp 4y agoDepends on how one stands in regards to secure code. I love C++, but secure like the ALGOL linage it will never be, no matter how many fixes we throw at it, because that C copy-paste compatibility layer is never going to be thrown away.
- staticassertion 4y agoI'm quite fond of secure code but attackers don't really exploit memory unsafety in compilers as they're not often in a position to or, if they are, there are much simpler ways to execute code.
- pjmlp 4y agoExcept compilers aren't used in isolation, if one writes the compiler toolchain in C++, chances are other system critical components are also written in C++, if nothing else for the comfort of single language use. Security must be applied end to end, and not pontual.
- Shorel 4y agoTen years ago, that was the feeling. C++ was perceived as a dead end. Everything was going to be Java or C#. But it didn't die. And today there are more C++ jobs available than a decade ago. In contrast, today there are some new languages that can actually be good contenders for C++. My personal favourite is Dlang.
- pjmlp 4y agoKind of true, depends where you look at. Compilers, HPC, GPGPU, game engines, OS drivers, C++ is probaly the king of those domains. Distributed computing, GUI frameworks, mobile apps, CNCF, other contenders rule the day.
- eikenberry 4y agoYep... and it would have likely just fizzled out as all the existing toolchains have a terrible UX and that is one of Go's best points.