3 ms·
Is it a good test case though? If the language is designed for writing compilers then sure, but I imagine most people using TypeScript (for example) just want t
by pharmakom 6y ago
Is it a good test case though? If the language is designed for writing compilers then sure, but I imagine most people using TypeScript (for example) just want to write full-stack web applications.
- MaxBarraclough 6y agoI agree that TypeScript isn't an obvious choice for writing a compiler, but self-hosting still has advantages. It tests out the language at scale, and there's the 'dogfooding' aspect that the compiler developers use the language they created (although as you say they're using it for an unusual purpose).
- pjmlp 6y agoDepends, https://www.infoworld.com/article/3436840/microsoft-proposes-static-typescript-for-embedded-systems.html https://www.infoworld.com/article/3436840/microsoft-proposes... https://www.microsoft.com/en-us/research/blog/rocket-fast-embedded-typescript-for-makecode-arcade/ https://www.microsoft.com/en-us/research/blog/rocket-fast-em...