WebAssembly?



  • Will WebAssembly be enabled on the game servers, now that the initial version has reached cross-browser consensus? I've tested wasm code on the browser simulation and it works as expected, but it has to be explicitly enabled with a flag in order to work in node.js.


  • YP

    I don't think webassembly is possible with node 6.x


  • Dev Team

    WebAssembly is a really cool technology and we're looking forward to research the benefits it can give to Screeps ecosystem. However, virtual machine safety and other aspects should be carefully investigated here. Have you tried it on your own private server?


  • YP

    I'd be interested to know what you are doing with webassembly within screeps and what you think it could be used for in screeps. I recently watched a talk about webassembly on a mozilla devroadshow event and as far as I understood it, it is currently very limited. (it can only handle numbers as datatype afaik?)


  • Dev Team

    Experimental WebAssembly support has been enabled just now on the PTR.