r/cprogramming • • 33m ago

Thoughts on safe-c

Has anyone here come across the safe-c project? If so, what do you think of it? If not, do you think a project like this could actually make C (and C++) safer and more attractive in certain fields? Curious to hear what people think.

1 Upvotes

5 comments sorted by

1

u/raundoclair 19m ago

astroturf?

1

u/WesleysHuman 0m ago

The only reason C/C++ are "unsafe" is because people insist on doing things they don't understand.

-1

u/Recycled5000 20m ago

Thanks for sharing!

-5

u/wayzata20 16m ago edited 9m ago

No, nobody uses C for any project above embedded or OSes so making a safe C variant is worthless because you should use a higher level language all together if you need memory safety.

I’m of the opinion that new languages are completely dead because AI writes most enterprise level code these days anyway. No need for a new language when Claude can use the ones we have.

If you disagree, I’d appreciate a response telling me why instead of just downvoting. :)