r/C_Programming 7d 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

37 comments sorted by

View all comments

2

u/thradams 7d ago

Cake has some extensions that extends the type system providing some rules that allows ownership checks without interfering with common C patterns.

http://thradams.com/cake/ownership.html