Unicode strings: Difference between revisions

Content added Content deleted
(Added Swift)
m (Swift: editing)
Line 1,389: Line 1,389:
See also:
See also:


* 'smol': [https://swift.org/blog/utf8-string/ a stack allocated string type] which can "store up" 10/15 UTF-8 "code units" (32bit/64bit systems).
* 'smol': [https://swift.org/blog/utf8-string/ a stack allocated string type] which can "store up to" 10 (on 32 bit systems) or 15 (on 64 bit systems) UTF-8 "code units" (code points?).
* [https://forums.swift.org/t/string-s-abi-and-utf-8/17676 String’s ABI and UTF-8] mentions data-structures that can be used to share the backing UTF-8 data.
* [https://forums.swift.org/t/string-s-abi-and-utf-8/17676 String’s ABI and UTF-8] mentions data-structures that can be used to share the backing UTF-8 data.



=={{header|Rust}}==
=={{header|Rust}}==