I think this requirement is somewhat shortsighted. It seems probable that in time JS engines can have mostly UTF-8-backed strings, only using WTF-16 when string indexing is used and such. Tying Wasm to what JS engines do today seems rather unfortunate.
I think this requirement is somewhat shortsighted. It seems probable that in time JS engines can have mostly UTF-8-backed strings, only using WTF-16 when string indexing is used and such. Tying Wasm to what JS engines do today seems rather unfortunate.