3 ms·
TypeRunner – High-performance TypeScript compiler
- lioeters 4y ago> It consists of roughly 30k LoC and shows very promising results. The approach is a TS-to-bytecode compiler and then run the bytecode in a custom virtual machine. The data show that this approach can lead to a hundred- to several-thousand-fold improvement in speed. > Currently, the development of TypeRunner is almost stalled and was more an experiment/proof of concept. To actually make this a reality, funding is necessary.
- vsroy 4y agoSince no one seems to be commenting; this is very cool. Can you explain what you mean by TS-to-bytecode? Presumably; you're not interpreting JS. So, what are you interpreting; the types themselves? I guess this actually makes a lot of sense, since Typescript's type system is its own programming language.
- markhalonen 4y agoVery cool -- developer experience on larger TypeScript projects has poor performance. Auto-complete is perceptibly slow. Interesting to see this project and Bun get thousands of stars in just a couple days, the People want Performance!
- xmonkee 4y agoWhat does it mean for Typescript to be usable in "other languages"?