4 ms·
> I just wish the creator of Rust had said "I'm going to add a native compilation target and the minimal new syntax to support borrow checking to TypeScript and
by Jtsummers 4y ago
> I just wish the creator of Rust had said "I'm going to add a native compilation target and the minimal new syntax to support borrow checking to TypeScript and make interop extremely easy".
Typescript did not exist when the Rust effort began. Rust saw its first public release in 2010, Typescript in 2012. Rust's development effort began several years before that public release (not sure about Typescript).
Until we can rewrite the timeline (in which case, Typescript vs Rust would be among the most useless things to effect) then there's not much point in wishing that Rust had taken Typescript as its base.