4 ms·
So now I have to write C code ? XD
by madrafi 9y ago
So now I have to write C code ? XD
- madrafi 9y agoOne thing though How is taking the whole C in the browser approach ressource wise ?
- flavio81 9y agoIt is not C in the browser. It is a sort-of-virtual machine in the browsers. Browsers (i.e. Chrome) are already doing this to execute Javascript, for example. Webassembly, to put it in a simplified way, allows you to "bypass" the javascript layer and target directly the virtual-machine. And done in a compatible, well-documented way. So you can gain in performance, and flexiblity.
- flavio81 9y agoNo, you can write in many other languages. For example there are many compilers out there that will compile <insert your favorite programming language> into LLVM bytecode. And then you can translate such LLVM bytecode into Webassembly using a tool like Emscripten. Thus you can compile <insert your favorite programming language> to Webassembly!