3 ms·
> What is the difference between porting and complete rewrite? I thought they are the same? As with so many terms in computing, there aren't universally agreed
by scottlamb 5y ago
> What is the difference between porting and complete rewrite? I thought they are the same?
As with so many terms in computing, there aren't universally agreed definitions. But in the author's post, I read "porting" as switching languages while changing as little as possible vs "complete rewrite" as redesigning/rearchitecting it along the way.
- azakai 5y agoTo add to that, I would say that simple forms of "porting" can be done without really understanding the overall architecture. You just need to understand each line (or a few lines around it) at a time. I understood the post to mean something like that, which sounds like a good plan here, to minimize the risk of adding bugs. And in comparison, a "complete rewrite" would require a full understanding of the big picture design of the original code, come up with a perhaps different one in the rewrite, and keep the differences in your head as you go (or, forget about the original design entirely and solve it from scratch - and keep that in your head as you go). Far more work and risk, and it would have been a bad choice here.
- cwalv 5y agoIf that's the case, it seems unlikely that they'll be able to get the hoped for performance improvements