Re:All About E: The Language That Infiltrated JavaScript
by berkes on Thursday October 27, 2022 @10:43AM
(#33358266)
> You need to compile and distribute a runtime or, in the case of dynamic languages,
But for all other languages there are easy compilers. Which is why WASM, apparently, is used with such languages mostly[1]
I'd expect that these runtimes can be both distributed with browsers when they become really popular, and can be reduced in size. E.g. Python's runtime is relatively large and ships with a large stdlib. Most of which won't be needed in your code, so I'd expect it to be possible to compile a runtime that only includes what your code really needs, for example.
But for all other languages there are easy compilers. Which is why WASM, apparently, is used with such languages mostly[1]
I'd expect that these runtimes can be both distributed with browsers when they become really popular, and can be reduced in size. E.g. Python's runtime is relatively large and ships with a large stdlib. Most of which won't be needed in your code, so I'd expect it to be possible to compile a runtime that only includes what your code really needs, for example.
[1] https://blog.scottlogic.com/2022/06/20/state-of-wasm-2022.ht...