As long as we offer a similar `unsafe` option, a stronger type system
around mutability+concurrency might have a range of benefits for JS.
Rust's definitely has a number of virtues.
A little hard to imagine grafting onto JS though. :-)
A little hard to imagine grafting onto JS though. :-)
However, Rust is also explicitly designed to allow access to the "raw rope" when abstractions don't cut it (or when building the abstractions): that is what `unsafe` allows.