Description
I had some difficulties writing features such as string iterators under utf8 and wtf16, parsers with unicode character properties, and time-related formatters, and I realized that I needed some standard interfaces related to internationalization.
Can wasi standardize the International Components for Unicode interfaces?
Advantage
The host implementation can greatly reduce the size of wasm, does not need to embed a huge dictionary, no loading time, has better performance, and can maintain follow-up standards, which can evolve to a new version of icu without updating the distributed binary.
These advantages are not available with sdk embedding or guest embedding.
Moreover, some rules of the icu standard are very complex, and non-experts will implement them incorrectly. It is costly for all languages to implement them individually.
Disadvantages
Not quite in line with WebAssembly System Interfaces
, but in line with WebAssembly Standard Interfaces
.
Activity