4 ms·
https://github.com/thepowersgang/mrustc https://github.com/thepowersgang/mrustc is an alternative compiler for Rust.
by heinrich5991 8y ago
https://github.com/thepowersgang/mrustc https://github.com/thepowersgang/mrustc is an alternative compiler for Rust.
- iainmerrick 8y agoCool! Looks like that’s not quite ready for prime time, but I hope it succeeds.
- coldtea 8y agoYeah, but no language of the ones the parent mentioned has a non-toy, non-personal-project alternative compiler. Perhaps only Golang (go and go-gcc). For all others, everybody uses the standard compiler. Even in Python, PyPy is not even 10% of the users. Whereas in C/C++ and other such older languages there are several implementation (MS, GCC, LLVM, Borland, Intel) with strong uptake and strong communities/companies behind them.
- nicoburns 8y agoJavaScript isn't quite as new as those listed, but it has at least 5 or 6 implementations.
- coldtea 8y agoYeah, JS too.
- sacado2 8y agoYes, go has a formal specification, which not only opens the possibility for alternative implementations, but, more importantly, allows for the development of tools like linters. It's way harder to develop tooling for a language which is only defined as "what its compiler can compile".