ManMachine

@max@manmachine.me

Professional computer toucher.
Amateur photographer and musician.
Autistic.
webhttps://manmachine.me/
5 ★ 0 ↺

[?]ManMachine » 🌐
@max@manmachine.me

My advisor at uni was deeply offended by unicode (in the 2000s also) because it "broke" all his favourite C string functions.

    ...

    [?]Carlos Solís » 🌐
    @csolisr@hub.azkware.net

    I can see why - C was written on a time when each letter was a single byte, so string functions could simply reuse array utilities. UTF-8 has a variable character length from anywhere between 1 and 4 bytes, so now a task as simple as determining the length of a string variable now needed specific algorithms. And don't get me started on balancing the prevention of buffer overflows vs. wasted allocation.

    History