6 ms·
Yeah the problem isn't nearly as pronounced for rust, since rustup exists and rust itself isn't really available on any platforms you can't just update the tool
by boondaburrah 5y ago
Yeah the problem isn't nearly as pronounced for rust, since rustup exists and rust itself isn't really available on any platforms you can't just update the toolchain yourself.
C++ has a lot more tangled dependencies going on especially when you're stuck with a vendor's compiler.
Make no mistake: the problem here isn't necessarily technological.
- jcelerier 5y agoI don't understand what would be an environment where you could fetch the latest rust from internet but not the latest clang. I do my builds on centos:8 (well, rockylinux now) and it has access to the latest GCC 11. On Debian derivatives llvm itself provides up to date repos and on Windows, llvm-mingw works perfectly.
- boondaburrah 5y agoGenerally, an environment where you can't use clang /at all/. There are many C++ compilers.
- jcelerier 5y agobut this does not make sense. If you can't even change the C++ compiler you use you can't write non-C++ code (e.g. Rust) either. Otherwise let me just fork Clang into the "Gnalc" compiler for the "Sulpsulpees" language which happens to be exactly compatible with the programming language that the clang++-13 binary supports. Takes me a whole 15 minutes, most of which will be taken by forking the LLVM repo on github, and I can guarantee than porting to it will be less effort than porting to Rust. I can even provide the backing of a proper non-profit foundation established on two continents for your legal team's needs.
- boondaburrah 5y agoThe reason you can't use clang is not a technical one, but that you are /required/ to use the platform's provided C++ compiler. And yes, you are making my point. We are in violent agreement. You can't write Rust either, which is why C++ support would be initially exciting, until you learn you can't use just any C++ compiler and the one you can use is excluded.
- jcelerier 5y agoWho has such stupid requirements ? What's the "platform" compiler for something that provides GCC up to 11, like centos ?
- boondaburrah 5y agoEmbedded stuff usually, game consoles. Also if you have an Enterprise SKU of Visual Studio it costs real money to upgrade. Maybe your company has purchased a compiler suite you have to use. Maybe you have to link against proprietary libs that were only provided for a certain MSVC ABI.
- jcelerier 5y agoBut you originally said: "Yeah the problem isn't nearly as pronounced for rust," It does not make sense: the problem is even worse for rust in that case, since you cannot even use it ?
- boondaburrah 5y agoExactly, that's why one would get excited for C++ support. However, I realise the point is moot since there would be no way to compile the library. I've been living too long in "Compiles to C" languages this month I guess.