News for hackers. Stuff that matters.
Re:Build Your First Thing with WebAssembly by benkuykendall on Saturday June 25, 2016 @02:46PM (#11977444)
Huh, the AST looks pretty human readable. Anyone have tips for writing WebAssembly without using asm.js? Even a pointer to decent documentation would be great.
Re:Build Your First Thing with WebAssembly by niftich on Saturday June 25, 2016 @02:54PM (#11977482)
Well, if you're comfortable with that AST text-format, check [1] for docs and examples (the .wast files in the links). If you're super brave, there's hints about the Binary AST format here [2]

[1] https://github.com/WebAssembly/design/blob/master/TextFormat...

[2] https://github.com/WebAssembly/design/blob/master/BinaryEnco...

Re:Build Your First Thing with WebAssembly by binji on Saturday June 25, 2016 @07:02PM (#11978430)
See my comment above, ultimately you should be able to generate WebAssembly directly from your C compiler (and other languages too). You can write it by hand as well, but that's not the primary goal of the specification.

We should have a text format soon too, which will be nicer than the AST format to read/write by hand.

Re:Build Your First Thing with WebAssembly by flamedoge on Saturday June 25, 2016 @03:34PM (#11977641)
github.com/WebAssembly/sexpr-wasm-prototype

github.com/WebAssembly/spec

github.com/WebAssembly/design