logoalt Hacker News

adgjlsfhk1today at 5:30 AM2 repliesview on HN

buy that logic (which I somewhat agree with), we should be rewriting all of these tools in C# or some similar native gc'd language. C and rust both take on a ton of complexity to squeeze out the last 2x of speed, but if we no longer care about that, we should drop C in a heartbeat


Replies

nlitenedtoday at 7:16 AM

No, rewriting in any language is bad by itself. What Fil-C gives you is that you don’t need to rewrite old programs. You spend zero effort, and immediately your battle-tested program is memory safe and free of any potential future vulnerabilities. With Rust you spend man-years on a rewrite, and as a result you have a new untested program full of subtle bugs, which you need to spend another 10 years of real-world use to uncover.

adrianNtoday at 7:16 AM

Rewriting in c# is a lot more work than recompiling. That’s the point.