|
|
|
|
|
by saghm
686 days ago
|
|
> Because the context here is the idea of using the type system to justify removing those sorts of dynamic checks to generate better code It's more specific than that; the discussion is about writing an ahead-of-time compiler, which necessarily wouldn't be running on a JavaScript engine. The compiler could just as easily emit code that always throws a runtime exception instead of emitting an equivalent to whatever the JavaScript would do. |
|