Re:The TypeScript compiler is now implemented internally wit...
by shepherdjerred on Wednesday November 02, 2022 @08:34PM
(#33445018)
> TS has much more in common with Rust than with JS, in terms of typing.
TS has much more in common with JS than it does with Rust in every other comparison
Every TS dev will know at least a little bit of JS. Not every TS dev will know Rust at all. They're very different languages.
Re:The TypeScript compiler is now implemented internally wit...
by satvikpendem on Wednesday November 02, 2022 @08:51PM
(#33445171)
Compiler engineers will be far more familiar with Rust, C++, C and other similar languages than with JS, so it doesn't really matter whether TS and JS are similar as long as compiler engineers can use their preferred language to build the compiler.
Why not? TS has much more in common with Rust than with JS, in terms of typing. Compiler engineers are not that prevalent in the community, but they are much more prevalent in the systems engineering world which Rust is a part of, so I'd assume it's actually more beneficial to have a compiler in Rust than in TS because it would mean more people interested in contributing.