Hacker News new | ask | show | jobs
by pjmlp 2230 days ago
Yeah there are some quirks, but that wasn't part of OP's request.
1 comments

Well, I did specify "modern", which arguably includes sane Unicode handling.

I think a reasonable compromise is to have "char" be a 32 bit type, whereas a "string" would be UTF8.

Not sure if I would call string handling in Swift sane, but to each its own.