3 ms·
Good luck rewriting all the programs that are written in C without introducing new security problems.
by adrianN 7y ago
Good luck rewriting all the programs that are written in C without introducing new security problems.
- lidHanteyk 7y agoFeel free to peruse the Twitter feed that I linked; if most bugs are due to memory corruption, then literally rewriting in place may still be a net negative in terms of total bug count! This is the main argument of Zig [0]; they offer technologies to incrementally rewrite C projects in Zig without losing compatibility. Their compiler can compile C code [1] just like GCC or Clang can. [0] https://ziglang.org/ https://ziglang.org/ [1] https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html https://andrewkelley.me/post/zig-cc-powerful-drop-in-replace...