Re:A Sketch of the Biggest Idea in Software Architecture (2022)
by rusk on Monday April 22, 2024 @01:56PM
(#40116872)
UTF-8 is variable width my friend
[ Parent
| on HN ]
Re:A Sketch of the Biggest Idea in Software Architecture (2022)
by chubot on Monday April 22, 2024 @09:16PM
(#40127422)
The fact that JSON is UTF-8 doesn't contradict the fact that it's bytes!
That's a feature, not a bug.
i.e. "exterior designs are layered" - https://www.oilshell.org/blog/2023/06/ysh-design.html#exteri...
This is not a trivial point -- there are plenty of specs which are sloppy about text, try to abstract over code points, and result in non-working software.
A main example is the shitshow with libc and Unicode - https://thephd.dev/cuneicode-and-the-future-of-text-in-c#sta...
It suffers from what I call "interior fictions", like wchar_t.