Moving from JS to statically typed Flow or TypeScript prevented 15% of bugs found in trunk: https://earlbarr.com/publications/typestudy.pdf
Interesting paper. Whilst I think this number might be used to justify both static and dynamic types, I'll take anything lightweight that reduces my bug count!
miniblog.
Related Posts
Compile times of 30-60 seconds are particularly challenging: they're too short to do something else, but too long to get into a flow state.
I find music helps avoid context switching at least.
Adding LLVM control flow integrity to make exploits harder is coming to Rust: https://rcvalle.com/docs/rust-cfi-design-doc.pdf
The primary use case is mixing C/C++ with Rust: you have weaker memory safety guarantees and hardening is still necessary. You don't want a partial Rust port to reduce security!