Post #1404591
2026-03-21 14:01 UTC
@nasser one place I would hope to be an opportunity to address this, and could still be someday, is in the Wasm Component Model and WASI, but for now at least the identifiers in its IDL in Components themselves are restricted to the Latin alphabet. I'm curious what Luke Wagner, @sunfish, and other folks think about broader language support in Wasm. Ideally Wasm Component composition would let us link components across programming and human languages and help address this someday.
Replies (1)
-
@sunfish@hachyderm.io 2026-03-25 02:21
@esoterra @nasser My understanding is that the current ASCII-only restriction is expected to be lifted in the future, once there is a proposal that includes considerations for bindings in various important source languages, at least some of which have more constraints than just the Unicode XID. The idea of using hash codes, with dictionaries providing user-readable names, is interesting, but it's not clear to me how it might work. For example, if a user writes a WIT file containing identifiers in the user's language, and distributes it, and others author components using it, at what point should the hash codes be computed?