←back to thread

127 points Anon84 | 7 comments | | HN request time: 1.031s | source | bottom
1. jalk ◴[] No.38508782[source]
There seems to be plenty of cobol transpilers - anybody know why they can’t use those. Immediate thought was it’s just beating on the dead Watson horse.
replies(2): >>38508946 #>>38511891 #
2. kjs3 ◴[] No.38508946[source]
If they worked as effectively as they were touted, they'd have cleared out the cobol.
replies(2): >>38509273 #>>38511306 #
3. pixl97 ◴[] No.38509273[source]
No really, in fact I'd say the opposite.

The issue with COBOL is any old idiot can't write it. If someone is touching the COBOL they are going in and making minor changes/expansions to an application that is older than the average HN user and those changes and expectations are well defined.

With Java and/or language of the day your cheapest run of the mill contractor given exceptionally poor instructions will crank out X LOC per day where X is the required output for them to keep their job. Maintaining that code will be some other bastards problem.

replies(1): >>38510310 #
4. kjs3 ◴[] No.38510310{3}[source]
I have no idea how that's the opposite of what I said. Transpilers haven't worked not because of how much or little the replacements are paid, or how well they do their job, but because there's more to moving from one computational ecosystem to another than just the language.
replies(1): >>38511330 #
5. grammie ◴[] No.38511306[source]
Heirloom Computing, I am CTO, have transpilers for cobol and pl/1. code transpilation is the easy part. Create a Grammer for the source language, generate the ast, transform the ast to the target language ast and generate the code. Now make that generated code run and behave the same way as on the mainframe and give it all the subsystems that exist on the mainframe for transaction, file handling, security etc. This is the part that is difficult. Fortunately it's already solved and in production with our clients.

So transpilers do work and are in production but our biggest competitor is inertia.

6. grammie ◴[] No.38511330{4}[source]
Correct, language transpilation is the easy bit, ensuring that execution and behavoir is the same as on the mainframe is tough, but also solved.
7. rsynnott ◴[] No.38511891[source]
Well, I mean, if they were to do that, they wouldn’t be able to issue a press release containing the word ‘AI’, now, would they? Like, that is what this is about.