this post was submitted on 27 Mar 2024
48 points (100.0% liked)
chapotraphouse
13535 readers
57 users here now
Banned? DM Wmill to appeal.
No anti-nautilism posts. See: Eco-fascism Primer
Gossip posts go in c/gossip. Don't post low-hanging fruit here after it gets removed from c/gossip
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah literally mostly all I want is a better C with less weird quirks and undefined behavior, may as well drop null-terminated strings except for compatibility too, maybe some kind of memory-safety mechanism too, ooh also better support for multi-dimensional arrays
Rust was kinda like that until it became the better C++
Maybe in 10 years someone will be designing a better Rust because they made the same mistakes of C++ and forced so much shit into it it's extremely difficult to write any new, better implementations and port to new systems
If you like this idea I've been watching this project closely and you might want to too:
https://harelang.org/
I think maybe Zig fits the bill here? It doesn't seem to have anywhere near the memory safety that Rust has tho.
Ooh I've heard of this but at some point years ago I decided it wasn't for me for some reason... I'm gonna give it another look though, thank you
I don't mind tbh, Rust has a ridiculously elaborate but effective compile-time static analyzer that has developed over years and years. Pretty difficult to replicate lol
Edit: I just realized the OP listed Zig as a hipster language teenagers are into
Zig and Hare are both vying for the better-C category these days.