Re:Checked C
by TazeTSchnitzel on Friday February 19, 2021 @12:56PM
(#26195819)
> you can't just add types to C and it becomes Rust
You actually can “just” turn C into Rust with something like c2rust. But you haven't gained any safety without refactoring.
Is that not also the case for Checked C?
By the way, I love rust, but I just don't understand the "rewrite all the things" hype. Being battle tested means a lot for low-level libs. You can't guarantee that you ported everything exactly, with bugs and all. Pragmatic solutions like "Checked C" prove a lot in that regard.