Hacker News new | ask | show | jobs
by vrighter 249 days ago
the point is that rust is the wrong tool for the job, imo. Compilers are notorious for not managing memory
1 comments

And it fits the category of "rewrite it in rust for the sake of rewriting it in rust. Is it at least as good as the original ? No, but at least it's in rust". It reminds me of the recent article on hn talking about rewriting sqlite in rust. Simply put, the point is that even if sqlite is written in C and may have small memory leaks, it works perfectly, being tested and fixed over 20+ years. By rewriting it in rust, OK you'll be memory safe, but you will have logic corner edge cases nasty bugs that will appear, and no one wants that. So sqlite will stay in C.