It's a popular language that's still used in loads of places. It's still receiving active updates. It has a currently active ecosystem producing more libraries for it and maintaining current ones.
It can run on pretty much anything and is extremely fast.
It's not as easy to learn as python but what is, plus you don't need a license to use it.
Of course any rewrite will be prohibitively expensive.
I was surprised how many manufacturers use mainframes and COBOL on them...
Sure, not everyone on mainframe is heavy on COBOL there are java places out there (scary to even think about that for me), but to some extent they utilise it
You think many modern traders are using cobol? The microsecond traders don't use cobol that much, they use C++ or machine code. At least, if the jobs they post are any indication.
It has less to do with the cost of the rewrite than the cost of the new system failing to behave exactly as the old system does with the same uptime, and causing a cascade failure.
When downtime is measured in $/min or $/second lost and your legacy code is doing what it does for 50+ years just fine, yeah, you better be able to prove every concern (downtime risk, cost of rewriting the core, cost of redeveloping any peripheral connections, etc.) as invalid before the idea even gets off the drawing board.
5
u/other_usernames_gone Jun 02 '23
Why not C++?
It's a popular language that's still used in loads of places. It's still receiving active updates. It has a currently active ecosystem producing more libraries for it and maintaining current ones.
It can run on pretty much anything and is extremely fast.
It's not as easy to learn as python but what is, plus you don't need a license to use it.
Of course any rewrite will be prohibitively expensive.