In many companies, years-old business logic is embedded in Delphi-applications. Those who replace such systems prematurely often lose not only code but also proven processes, special cases and tacit operational knowledge.
Modernization therefore does not automatically mean a complete replacement. Often the better approach is to analyze business logic, data models and interfaces thoroughly and then reorganize them step by step. Desktop, web portal, REST-servers and service layers can grow in parallel instead of leaving each other behind.
The decisive factor is the architecture. If responsibilities are cleanly separated, an evolved Delphi system can be further developed in a controlled manner, extended for Windows, macOS and Linux and kept in operation without operational disruption.
Another frequent question today is new target platforms. Windows 11 ARM64 or modern Linux deployments should also be planned early rather than added later at high cost. That is precisely the difference between a hasty rewrite and a measured, technically steady renewal.