News for hackers. Stuff that matters.
Re:How JavaScript engines achieve great performance by saagarjha on Thursday November 25, 2021 @06:08AM (#29340288)
Because type system unsoundness leads to real bugs when people (quite reasonably) make assumptions based on the belief that it is sound. I think on the whole TypeScript does an OK job (considering that most languages have unsound type systems too, including Java) because it’s certainly better than nothing but it’s still something to watch out for.
Re:How JavaScript engines achieve great performance by afiori on Friday November 26, 2021 @04:56AM (#29348838)
It would be nice if typescript had a option to compile with (obviously limited) runtime checks