WebAssembly / wasm-c-api

Wasm C API prototype
Apache License 2.0
534 stars 77 forks source link

High-level memory API #164

Open SoniEx2 opened 3 years ago

SoniEx2 commented 3 years ago

See also #156

A "high-level" memory API, with operations like "read_u32", "read_bytes" and so on, would be highly appreciated. Unlike the raw memory API, it would automatically convert addresses/endianness as needed.

The current API doesn't handle endianness at all. This won't magically solve endianness issues but it would make some things easier at least.