Originally posted by oleid
View Post
Announcement
Collapse
No announcement yet.
Latest Patches Sent Out For Adding Rust Support To The Linux Kernel
Collapse
X
-
-
Originally posted by ultimA View PostYou are conveniently grabbing onto a single example that happens to not contradict your point.
Do you mean in all those 2.3M lines of code, all the original C++ was already free of bugs and it was never Mozilla's intention to solve vulnerabilities, but only better multithreading?
The truth of the matter is that rewriting heavily used code almost always introduces new bugs. That's the reason it should only be done for good reasons, and not just on a whim. Old code has generally had lots of users reporting lots of bugs against it, and hopefully had most of those fixed. New code is always going to have some silly mistakes in it, because people aren't perfect. Hopefully moving forward those bug numbers will get even lower, and it will allow for new features/etc. to be added on while not raising the bug numbers too high again.
If Mozilla really did replace c++ code with a rewritten Rust version and had no change in the # of bugs being found, I'd consider that a massive win. But I'd also say that what's been reported so far on that here isn't nearly specific enough to argue that's what happened one way or another. I think the subject needs way more detailed analysis to take anything away from it one way or another. Just spitballing a couple project-wide stats is pretty useless.Last edited by smitty3268; 12 July 2021, 09:30 PM.
Comment
-
Originally posted by smitty3268 View PostI don't think that's at all what was being said.
Originally posted by smitty3268 View PostThe truth of the matter is that rewriting heavily used code almost always introduces new bugs. That's the reason it should only be done for good reasons, and not just on a whim. Old code has generally had lots of users reporting lots of bugs against it, and hopefully had most of those fixed. New code is always going to have some silly mistakes in it, because people aren't perfect. Hopefully moving forward those bug numbers will get even lower, and it will allow for new features/etc. to be added on while not raising the bug numbers too high again.
If Mozilla really did replace c++ code with a rewritten Rust version and had no change in the # of bugs being found, I'd consider that a massive win. But I'd also say that what's been reported so far on that here isn't nearly specific enough to argue that's what happened one way or another. I think the subject needs way more detailed analysis to take anything away from it one way or another. Just spitballing a couple project-wide stats is pretty useless.Last edited by ultimA; 13 July 2021, 04:08 AM.
Comment
Comment