3 ms·
Not quiet. They are compiling the current compiler to wasm and then using that compiler to build future versions of their compiler. In other words, they are d
by cogman10 4y ago
Not quiet.
They are compiling the current compiler to wasm and then using that compiler to build future versions of their compiler.
In other words, they are doing the described rust approach but instead using a platform agnostic target instead of doing a binary. That allows them to build on any platform that has a C compiler and to use current language features without needing manually backport them.
They could directly target C or C++ but that runs a greater risk of accidentally generating UB. Targeting a bytecode decreases that risk.