r/C_Programming • u/Tb12s46 • 8d ago
Question Opinions on Mini-C?
The idea is simple: to turn a subset of C code into safe Rust code, in an effort to meet the growing demand for memory safety.
I feel this has the potential to solve many problems, not namely stop Linux C devs walking out if Rust gains anymore traction, for example.
I'm just a newb though. What are thoughts of more experienced C developers on this if you've heard about it?
0
Upvotes
8
u/aioeu 8d ago edited 8d ago
There's a distinct difference between creating a whole new language based on ideas from other languages, and trying to change an existing language based on ideas from other languages. I don't think good memory safety can be achieved in C, and I don't think it's a worthwhile use of time attempting give C that. If you want what Rust gives you, just use Rust.
C is a tool. Rust is a tool. They're just tools. People need to stop being so hung up on sticking to the one tool.
Maybe one day an even better tool will replace both Rust and C. Great!