News for hackers. Stuff that matters.
Re:The World Depends on 60-Year-Old Code No One Knows Anymore by kolinko on Sunday December 03, 2023 @07:57PM (#38512486)
As far as I understand, the issue with Cobol specifically is that the code is riddled with gotos and global variables - and untangling all that mess is the real issue, not converting into Java itself.

Using traditional algorithms you end up with literal exponential complexity very fast. You also need a human's ability to figure out which new abstractions to create - otherwise you will end up with a code that is just as difficult to maintain as the original.

Re:The World Depends on 60-Year-Old Code No One Knows Anymore by dzhiurgis on Monday December 04, 2023 @12:08AM (#38513933)
Isn’t global variables at some point a requirement for performance? Or is there patterns that can do both?
Re:The World Depends on 60-Year-Old Code No One Knows Anymore by vardump on Monday December 04, 2023 @12:17AM (#38513968)
Global variables usually hinder performance on modern hardware. Harder to use multithreading and (sometimes) higher probability for false sharing.