fengb / fundude

Gameboy emulator: Zig -> wasm
https://fengb.github.io/fundude/
MIT License
180 stars 8 forks source link

Saner wasm ABI #48

Open fengb opened 4 years ago

fengb commented 4 years ago

Note — this depends on upstream features:

With wasm supporting multiple returns and Zig doing tuples, we can actually return "complex" data without bitcast kludging. It's still not as nice as (named field) structs, but it's much better than the current representation.