Re:Ask HN: Have you ever migrated a large/old project to a d...
by xwowsersx on Tuesday September 13, 2022 @06:41PM
(#32831106)
> use virtualization as required
Can you elaborate on this? I'm not sure what is meant by virtualization in this context.
Re:Ask HN: Have you ever migrated a large/old project to a d...
by contingencies on Tuesday September 13, 2022 @06:51PM
(#32831186)
You keep the old stack running in an isolated, future-platform-compatible, virtualized context to avoid the work and risk associated with a port.
The received wisdom of yore is that it's easier to port code from one language to another than to rewrite from scratch. However, I suspect in practice most people who do that will wind up rewriting in part and that's where the pain happens, screwing up all the undocumented edge cases.
In this day and age it generally makes more sense to keep the codebase in the original language and use virtualization as required to keep it running without the human overhead of porting.