4 ms·
> t would be great if those wannabe C++ replacements were fully bootstraped This would require (re)writing the OS in the replacement language Also need assem
by SJC_Hacker 10mo ago
> t would be great if those wannabe C++ replacements were fully bootstraped
This would require (re)writing the OS in the replacement language
Also need assembler to be taken seriously, which Rust can’t do last I checked
- throwaway17_17 10mo agoCan you explain the assembler bit? Are you talking about the handling of inline assembly? I though Rust allowed that in unsafe code.
- steveklabnik 10mo agoIt does! And it's in the language proper, unlike being a compiler extension like it is in C.
- tialaramex 10mo agoAnd Rust also has a good story for all the accompanying baggage such as naked assembler functions, whereas even with your extension in C or C++ there may just be a shrug emoji, or some blog posts because hey it's not part of the language.
- pjmlp 10mo agoNah, they could start by not depending on LLVM/GCC and do their whole compiler back to back.
- lenkite 10mo agoIsn't that what Rust is attempting with Cranelift ? They had making Cranelift backend "production-ready" for development use as a goal for 2026. I am guessing it will be a few years beyond that before it is made available for general production-ready use. I think Zig might possibly beat Rust's timeline here for a "No C/C++" toolchain. That is if its lead doesn't burn himself out.
- pjmlp 10mo agoThe effort seems to have stagnated and if you look into their website, now focused on wasm runtimes.