3 ms·
If you could write an executable file, you could make a compiler in browser JS.
by euroclydon 8y ago
If you could write an executable file, you could make a compiler in browser JS.
- tantalor 8y agoWell, you can already do that, but the file has to be written to your Downloads folder or wherever.
- pjmlp 8y agoYou already can do that by compiling into a WASM module and reloading it afterwards.
- deleted 8y ago[deleted]
- icebraining 8y agohttps://bellard.org/jslinux/index.html https://bellard.org/jslinux/index.html, besides the whole kernel, actually includes a functional port of gcc! You can compile C files right in the browser, and then use "export_file [file]" to get it to your machine.