News for hackers. Stuff that matters.
Re:WebAssembly Raytracer by TekMol on Saturday December 16, 2017 @07:11AM (#15939200)
Is there a resource to learn WebAssembly?

I don't mean how to use a tool chain to compile higher level languages to WASM. I mean how to write the linear assembly bytecode as seen here on Wikipedia:

https://en.wikipedia.org/wiki/WebAssembly#Representation

Re:WebAssembly Raytracer by steveklabnik on Saturday December 16, 2017 @07:52AM (#15939322)
I went straight to the spec personally; it’s quite readable and shorter than I expected.
Re:WebAssembly Raytracer by TekMol on Saturday December 16, 2017 @08:56AM (#15939533)
Where is it?
Re:WebAssembly Raytracer by kodablah on Saturday December 16, 2017 @10:33AM (#15939944)
Re:WebAssembly Raytracer by pjmlp on Saturday December 16, 2017 @07:32AM (#15939261)
No linear, but these ones are quite good for the Lisp-like syntax, which I prefer.

https://mbebenita.github.io/WasmExplorer/

https://wasdk.github.io/WasmFiddle/

Re:WebAssembly Raytracer by TekMol on Saturday December 16, 2017 @08:58AM (#15939547)
I think these won't let you write WASM. Am I wrong?
Re:WebAssembly Raytracer by pjmlp on Saturday December 16, 2017 @10:05AM (#15939823)
Sorry I did not read it properly, you can use these ones instead to actually write WASM.

https://github.com/WebAssembly/wabt

https://github.com/cretz/asmble

Re:WebAssembly Raytracer by singularity2001 on Saturday December 16, 2017 @09:42AM (#15939708)
you are right I asked them about adding the option to compile WASM or WAST (instead of c), but the answer was that 'there are no use cases'. of cause 'learning' would be just one.