What is Nostr?
Josh Jersild /
npub1qag…mtda
2023-05-23 21:47:41

Josh Jersild on Nostr: Question for masses: What's a programming language that you've seen that handles text ...

Question for masses: What's a programming language that you've seen that handles text strings really well? Specifically, great support for Unicode (i.e. cleanly handles the distinction between code points and code units, stuff like that)? Is there anything out there that you think fits that bill?

Edited to add: the main thing that I'm really curious about is if any language has elegantly handled the problem where a Unicode character might be stored as multiple units (i.e. one or more 'char's) - it's an easy thing to solve if you just say "all my strings are utf-32 and thus hold the whole space" but then suddenly your strings are gigantic in memory so I think it's untenable in practice (although that's what we did at my current job for simplicity)
Author Public Key
npub1qagdvy4rej4vzc5uv8wftzyuw73an7zfm2qu5fap6nj67nqmzlws3umtda