rolfrm / awsm

Simple WASM Bytecode Interpreter
MIT License
8 stars 0 forks source link

Next steps: WebAssembly Core spec test #2

Open vshymanskyy opened 4 years ago

vshymanskyy commented 4 years ago

Congrats @rolfrm! Your interpreter looks very clean and neat, so I wanted to give an advice. I suggest to implement and run wasm core spec test against your engine.

In Wasm3, it made development easier and much more productive. Feel free to take ideas from our test script (or reuse it completely): https://github.com/wasm3/wasm3/blob/master/test/run-spec-test.py

rolfrm commented 4 years ago

Thanks, @vshymanskyy! I don't know if 'clean' is the word though. It's mostly an experiment because I wanted to test how good the theoretical context switching performance could be when using it for co-routines.

And I didn't figure out how to do FFI yet, so maybe I can check out how it's done in your code.

Anyway, thanks for the suggestion! I'll make sure to check it out.