Re:Ancient programming language gets new life in the cloud t...
by beej71 on Saturday August 26, 2023 @10:58PM
(#37279055)
I'm a little surprised that AI is the best way to approach this, as opposed to some kind of transpiler. I'd be more inclined to trust the latter for correctness.
[ Parent
| on HN ]
Re:Ancient programming language gets new life in the cloud t...
by b800h on Saturday August 26, 2023 @11:32PM
(#37279201)
The transpilers I've seen have created some extraordinary Java. If you've experience of the COBOL "Data Division", imagine how that gets ported across to an object oriented language..
But I still agree with you. I've experience of a couple of COBOL migration projects, and I wouldn't want AI anywhere near it. The testing required is insane enough as it is, and the once-a-decade corner cases numerous enough for the idea of using AI on this to scare the bejeesus out of me.
This is code that can still contain for-loops to slow down processing so the teleprinters can keep up...
Re:Ancient programming language gets new life in the cloud t...
by winternewt on Sunday August 27, 2023 @01:25AM
(#37279649)
Well if nothing else, the AI could help you write more unit tests.
Re:Ancient programming language gets new life in the cloud t...
by kazinator on Sunday August 27, 2023 @01:31AM
(#37279682)
Well, if nothing else, the AI could be slow enough that the teleprinters can keep up.
Re:Ancient programming language gets new life in the cloud t...
by b800h on Sunday August 27, 2023 @03:08AM
(#37280144)
That's a good shout, actually.
Re:Ancient programming language gets new life in the cloud t...
by pjmlp on Sunday August 27, 2023 @02:08AM
(#37279852)
As side note, modern versions of ISO COBOL also supports OOP.
Re:Ancient programming language gets new life in the cloud t...
by kmstout on Sunday August 27, 2023 @02:17AM
(#37279898)
ADD ONE TO COBOL GIVING COBOL
Re:Ancient programming language gets new life in the cloud t...
by b800h on Sunday August 27, 2023 @03:04AM
(#37280131)
Hahah, I assume you've seen the OOP implementation? Quite a thing. I believe it was added when OOP was in fashion.
Re:Ancient programming language gets new life in the cloud t...
by pjmlp on Sunday August 27, 2023 @04:29AM
(#37280616)
Looking at products in the market, it is still quite in fashion.
As for COBOL, it was added in 2002.
Re:Ancient programming language gets new life in the cloud t...
by b800h on Sunday August 27, 2023 @05:04AM
(#37280814)
Oh but there was a time when it was in the ascendant phase of the peak of inflated expectations, similar to the enthusiasm for LLMs at the moment.
Re:Ancient programming language gets new life in the cloud t...
by pjmlp on Sunday August 27, 2023 @06:16AM
(#37281197)
Indeed, my point was regarding those that keep declaring OOP dead, while all major languages and frameworks keep supporting flavours of it.
Re:Ancient programming language gets new life in the cloud t...
by sgt101 on Sunday August 27, 2023 @06:24AM
(#37281254)
Interestingly if I were using AI to do this the place I would focus is testing. Coding assistants seem to be very good at generating run-of-the-mill testing, which would free up testers to focus on the once in a decade stuff.
Re:Ancient programming language gets new life in the cloud t...
by belter on Sunday August 27, 2023 @07:37AM
(#37281622)
You can also keep doing COBOL but compile for Java bytecode and run directly in the JVM
"Why Move to JVM COBOL Code?" - https://www.microfocus.com/documentation/visual-cobol/vc60/D...