3 ms·
A javascript application compiled to wasm doesn't really make sense. Javascript isn't a compiled language. This compiled/interpreted distinction has gotten qui
by stcredzero 11y ago
A javascript application compiled to wasm doesn't really make sense. Javascript isn't a compiled language.
This compiled/interpreted distinction has gotten quite fuzzy, and it has been for decades now. Smalltalk was always a compiled language with really late binding. It did compile to a bytecode which was interpreted at first, but that became JIT compiled in all but one commercial VM. This all happened over a decade ago.
Also, there is clearly a subset of Javascript programs that could be usefully compiled down to a small, fast, compact machine language program.
- deleted 11y ago[deleted]
- geon 11y ago> there is clearly a subset of Javascript I suppose the extra restrictions of Typescript would help. At least if you add extra restrictions to make it easier to compile.