3 ms·
Yeah I guess the problem is that WASM has only i32 i64 f32 f64, so there's no consensus on what a char* argument or return value looks like? I'm a little surpr
by chubot 3y ago
Yeah I guess the problem is that WASM has only i32 i64 f32 f64, so there's no consensus on what a char* argument or return value looks like?
I'm a little surprised that hasn't been worked out by now
Most C structs seem to have obvious encodings in WASM ? Or is that not the right way to think about it?
There are all sorts of problems with linking with C++ exceptions and so forth, and probably varargs, but I would have thought basic C / Zig stuff would be worked out