Comment by nice_byte
8 hours ago
I've tried doing this for a few years and it just sucks ass. Just use c++ and templates if you need proper generic data structures. C is a defective language.
8 hours ago
I've tried doing this for a few years and it just sucks ass. Just use c++ and templates if you need proper generic data structures. C is a defective language.
I start to like my experimental macro containers: https://codeberg.org/uecker/noplate/
Examples: https://godbolt.org/z/hecqs78xs https://godbolt.org/z/YnrcjKrEn
Not perfect, but also not really inferior to C++ in my opinion.
Or, in 2026, Rust (or Zig, I don't care).
Can't be all that defective if it underpins most of the technology in the world
It absolutely can. See for example: lead.
We really should lock up the inventor of lead.
When has that ever stopped a shit language? Just let it die already.
Never gonna happen. As soon as you kill it off, someone's going to realize they need a very minimal fast "unsafe" language for something, and reinvent C, probably poorly