why doesn't wasm have native support for C++ namespaces? name mangling is the worst.
You'd still need name mangling for function overloading so might as well use an existing scheme :shrug:
Anyway, this is more of a question for e.g. llvm; wasm itself allows arbitrary strings for "symbol" (import) names
yes, wasm itself allows arbitrary strings.
but only arbitrary strings.
we wish it allowed arrays of strings as names - because that's what namespaces are, ultimately.
Last updated: Nov 22 2024 at 17:03 UTC