2026-08-24 23:02 UTC
老程式語言的現代化翻新,考量之一:原生Unicode-aware。
"What the decision is. Text is utf8(n) — a value with a capacity in bytes, holding well-formed UTF-8 in Normalization Form C, whose elements are extended grapheme clusters. Because a grapheme has no ordinal, the element of a text is itself a text: there is no character type anywhere in the model."
Replies (1)
-
@hiroshiyui@mastodon.social 2026-08-24 23:18
還有一些考量: * 強健的記憶體安全機制 * 標準函式庫原生包含IPv4/v6操作 * 除了開發時期的所在平台能動,就是WASM這個現代意義上的「大共通平台」也要能動 想到了再補。