3 ms·
| Static | Dynamic -------+--------+--------- Strong | Rust | (lisp?) Weak | TS | JS TypeScript bolts on a Static type checker onto JS, and
by infogulch 3y ago
| Static | Dynamic
-------+--------+---------
Strong | Rust | (lisp?)
Weak | TS | JS
TypeScript bolts on a Static type checker onto JS, and the types are erased before running in a real JS runtime. At runtime the types can change out from underneath you for many local and nonlocal reasons. This is simply impossible in Rust in general.