News for hackers. Stuff that matters.
Re:A WebAssembly interpreter written in JavaScript by kodablah on Wednesday December 13, 2017 @03:18PM (#15917282)
I saw some tests, but WASM edge cases can get pretty complicated (especially around post-unreachable stack validation logic). I suggest "git-submoduling" the stuff from "core" at https://github.com/WebAssembly/spec/tree/master/test. This is a pretty good test suite for both your parser and your interpreter and doesn't require too much work on the part of a harness to support.
Re:A WebAssembly interpreter written in JavaScript by xtuc on Thursday December 14, 2017 @02:53AM (#15920639)
Yes I planned to support the spec core tests (that's why I implemented WAST in the first place).
Re:A WebAssembly interpreter written in JavaScript by kodablah on Thursday December 14, 2017 @03:39AM (#15920796)
Cool. I ran into lots of gotchas when I was doing it. Granted there is a much better written spec now. If you hit any snags, feel free to hit me up (email is on github profile which is on HN profile).
Re:A WebAssembly interpreter written in JavaScript by xtuc on Thursday December 14, 2017 @03:49AM (#15920831)
Ok thanks, can we connect on twitter? https://twitter.com/svensauleau/.

I can see on your GitHub page that you made the famous WebAssembly to JVM, nice job!

Re:A WebAssembly interpreter written in JavaScript by kodablah on Thursday December 14, 2017 @04:08AM (#15920903)
Sorry, I don't do Twitter or FB, though if you want to keep it public, feel free to start a gitter or just open a github issue/discussion and @-mention me.

(Thanks!)

Re:A WebAssembly interpreter written in JavaScript by xtuc on Thursday December 14, 2017 @04:33AM (#15921008)
Ok