wasm-c-api
wasm-c-api copied to clipboard
Wasm C API prototype
The current C API is implemented in terms of the C++ API, but I think it would be better to invert that layering: - The C API is the only...
This is a post-MVP feature request. In some contexts, it may make sense to limit the amount of resources available to Wasm modules and perhaps also their size. In particular,...
Extend Trap API to include file name and binary offset.
There are two problems with using a union to represent different Wasm values (especially in arrays): 1. it wastes space, 2. binary backwards-compatibility breaks the moment we need to add...
The API currently has no way to set the underlying engine's command-line arguments. These arguments are useful to enable/disable different performance, debugging and tracing options, such as the tiering strategy,...
It's unfortunate that the API has chosen very old C++ standard. With C++20 you can construct a module from, say, `std::span` and there is no need to reinvent the wheel....
Not many people realize this, but POSIX reserves all identifiers with the suffix "_t". See http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html I suspect people tend to use the _t suffix precisely because it's so ubiquitous...
Is there any documentation describing what the API elements are for and what they do? I can't find any, but I have probably missed something.