|
|
|
|
|
by dexwiz
1344 days ago
|
|
The cost of this challenge is likely bigger than the market. How many large code bases need to be translated from X to Y? Probably not very many. There are only so many legacy COBOL systems. Big issues off the top of my head. Legacy support. Legacy code is already difficult to understand. If it was originally written in another language that would only make it harder to grok. Transpiled output is often ugly. Developers in general seem to dislike modifying generated code for a number of reasons. I imagine transpiled code would end up implicitly frozen, and new code would only be added to new files. Language idioms are hard to translate. Some structures are unique to languages and their equivalents may be considered bad in other languages. You would either need equivalent libraries in new languages or also translate dependencies. You could probably find equivalent libraries, but their scope may vary. Large scale code organization varies between languages. Things like Dependency Injection may not translate at all. Some languages may use config and some use code for the same thing. |
|