by mmanulis on 8/9/17, 5:33 PM with 8 comments
Even if it's not possible for Clang or GCC, any reason(s) why JS cannot be treated as a machine language, potentially using a subset of it in the beginning.
I imagine the "model" would be centered around DOM manipulation and AJAX facilities.
I'm sure I'm not the first one to ask this, if people have relevant links to share, would love to see them.
by acemarke on 8/9/17, 6:28 PM
More specifically, Emscripten seems to be exactly what you're describing: https://github.com/kripken/emscripten
by flavio81 on 8/9/17, 6:35 PM
BTW, asm.js has been superseded by Webassembly which ditches Javascript​ completely.