News for hackers. Stuff that matters.
Re:The World Depends on 60-Year-Old Code No One Knows Anymore by jalk on Sunday December 03, 2023 @12:24PM (#38508782)
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.
Re:The World Depends on 60-Year-Old Code No One Knows Anymore by kjs3 on Sunday December 03, 2023 @12:39PM (#38508946)
If they worked as effectively as they were touted, they'd have cleared out the cobol.
Re:The World Depends on 60-Year-Old Code No One Knows Anymore by pixl97 on Sunday December 03, 2023 @01:09PM (#38509273)
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.

Re:The World Depends on 60-Year-Old Code No One Knows Anymore by kjs3 on Sunday December 03, 2023 @03:10PM (#38510310)
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.
Re:The World Depends on 60-Year-Old Code No One Knows Anymore by grammie on Sunday December 03, 2023 @05:21PM (#38511330)
Correct, language transpilation is the easy bit, ensuring that execution and behavoir is the same as on the mainframe is tough, but also solved.
Re:The World Depends on 60-Year-Old Code No One Knows Anymore by grammie on Sunday December 03, 2023 @05:19PM (#38511306)
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.

Re:The World Depends on 60-Year-Old Code No One Knows Anymore by rsynnott on Sunday December 03, 2023 @06:30PM (#38511891)
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.