News for hackers. Stuff that matters.
Re:WebAssembly Browser Preview by votr on Monday October 31, 2016 @01:06PM (#12838677)
Is there support for only C/C++ at this time?
Re:WebAssembly Browser Preview by lambda on Monday October 31, 2016 @01:15PM (#12838764)
There is pretty bleeding-edge support for compiling to both asm.js and WebAssembly in Rust that recently landed: https://users.rust-lang.org/t/compiling-to-the-web-with-rust...

So, at the very least there's support for C, C++, and Rust at the moment, though of course since the standards aren't yet finalized and the toolchains are evolving how well it works at any given moment may vary. I'm sure there's work going on for other languages to compile down to WASM, just not sure of the status of any other languages at the moment.

Re:WebAssembly Browser Preview by seeekr on Monday October 31, 2016 @01:15PM (#12838769)
Rust can compile to wasm (and asm.js) as well via emscripten. More info here: https://users.rust-lang.org/t/compiling-to-the-web-with-rust...
Re:WebAssembly Browser Preview by bobajeff on Monday October 31, 2016 @01:24PM (#12838874)
Yes. WebAssembly like asm.js is intended for porting C/C++ apps to the web.

That said compiled languages should work if compilers add support for generating WebAssembly.

Re:WebAssembly Browser Preview by vmarsy on Monday October 31, 2016 @02:15PM (#12839447)
Yes, for instance Swift should be able to compile to web assembly? If Swift can be compiled with the clang/llvm toolchain, it should be able to target web assembly.