I've been having a blast writing projects in C lately (emulator, raycaster) and using it extensively for a game engine I'm making.
But I always hear people saying "just use Rust or Zig" - but C is actually a great time, and I'm happy the naysayers didn't put me off.
So, do you, or do you not use C?
If so: why, and what for?
If not: why not, and what do you use instead?
But eventually I grew really tired of handling everything by myself or failing at attempts to enhance C with syntactic augmentations in a sane way. You just plow through finalizations again and again after every change, and invent all sorts of rube goldberg machines to correctly quit a failed function.
C was designed with one-shot programs in mind, which was the default. You just read and write until EOF/error and then exit, simple (akin to Perl which had neither memory management nor GC - your script was just expected to finish soon and not linger for hours). Otoh, modern highly stateful programming is a great PITA in conjunction with C.
Maybe Zig and Rust would do better for me, idk, but somehow I pivoted into non-performance programming. I’m not using anything instead. There’s no “business” in C and no money, unless you’re lucky with a rare low-level job.
reply