Submitted via IRC for TheMightyBuzzard
We reached out to Daniel Döderlein, CEO of Auka, who has experience with working with banks on technological solutions such as mobile payments. According to him, COBOL-based systems still function properly but they're faced with a more human problem.
This extremely critical part of the economic infrastructure of the planet is run on a very old piece of technology — which in itself is fine — if it weren't for the fact that the people servicing that technology are a dying race.
And Döderlein literally means dying. Despite the fact that three trillion dollars run through COBOL systems every single day they are mostly maintained by retired programming veterans. There are almost no new COBOL programmers available so as retirees start passing away, then so does the maintenance for software written in the ancient programming language.
And here I thought everyone knew banking software should be written in PHP, javascript, or a combination of the two.
Source: https://thenextweb.com/finance/2017/04/25/banks-should-let-ancient-programming-language-cobol-die/
(Score: 4, Interesting) by turgid on Saturday April 29 2017, @03:25PM (7 children)
Has anyone tried writing a compiler/translator that translates COBOL source into source for another high-level language?
The original C++ compiler was a pre-processor for C. Many years ago, Linux (Slackware) used to come with f2c and p2c which were for translating FORTRAN and Pascal source respectively to C.
One of my colleagues who likes closed-source software loves a thing called Enterprise Architect which he says can reverse engineer programs written in several high-level languages, translate them to others, make UML diarams etc. Allegedly you can configure it to understand most languages if you are so inclined.
In these days of Test Driven Development, test automation etc, it should be becoming feasible to reverse-engineer and reimplement these legacy systems with some sort of accuracy.
I refuse to engage in a battle of wits with an unarmed opponent [wikipedia.org].
(Score: 2) by turgid on Saturday April 29 2017, @03:29PM (1 child)
Seek and ye shall find: RES - An Open Cobol to Java Translator (alpha) [sourceforge.net].
I refuse to engage in a battle of wits with an unarmed opponent [wikipedia.org].
(Score: 1, Funny) by Anonymous Coward on Saturday April 29 2017, @10:11PM
Good thing Java has a goto statement. Plenty of that can exist in COBOL code.
(Score: 2, Interesting) by DeKO on Saturday April 29 2017, @04:16PM
Cfront was actually a proper compiler. Its predecessor (for the "C with classes" dialect) was actually a dumb preprocessor, according to Stroustrup: [stroustrup.com].
The GnuCOBOL compiler [wikipedia.org] does exactly that, it compiles to C. Of course, those kinds of outputs can't really be consumed by a human, they're only good for another tool to handle it further (you can try though, it'll be as useful as asking GCC to keep the assembly output after compilation). You definitely don't want a code base translated to another language by a machine, because maintenance will be much more costly, as any resemblance of structure and readability gets thrown away.
(Score: 5, Insightful) by jmorris on Saturday April 29 2017, @07:23PM (3 children)
reimplement these legacy systems with some sort of accuracy.
That is why you wouldn't be considered. And why your plan is a fail before it starts. When you are processing trillions yet keeping only fractions of pennies on most transactions you do not want to hear about "some sort of accuracy" at all. You do not want to translate into a 'modern' language either. Show me ONE real world program written in the 'modern' languages which is not a bloat hog of security exploits waiting to be found? Combine exploitable code that communicates as a primary function and Sagan's of cash and it would be a virtual batsignal for the underworld. Pretty much the only known way to get modern code that is provably safe is to get DJB to write it, but DJB doesn't scale well.
The other unspoken problem replacing the aging cobol coders is the hard one. The original bunch slowly built these systems and the banks had little choice as there were no old stable coders. There was only a few problems, at least that became known. But now they do not want some young hipster rock star programmer coming in and becoming disgruntled, implanting a nasty and retiring to Aruba with a few million skimmed out of the system. The background checks to get into that elite club of programmers trusted to touch systems and code processing trillions have to be far worse than the President's Secret Service detail.
(Score: 2) by turgid on Saturday April 29 2017, @07:28PM (2 children)
Hmmm.. sounds like religious reverence for mysterious old code... the Wisdom of the Ancients. Things have moved on in the last 50 years. And when I say "modern languages" I don't mean C++, Javascript and PHP.
I refuse to engage in a battle of wits with an unarmed opponent [wikipedia.org].
(Score: 3, Insightful) by kaszz on Sunday April 30 2017, @02:24AM (1 child)
Modern, well sometimes time gives us more backwards languages. Not progress.. ;-)
Languages should be put to a test where they have to be self hosted on a really small system. That way messy programmers won't pass.
8-bit 16 kB RAM ? ;)
(Score: 2) by turgid on Sunday April 30 2017, @08:49AM
FORTH
I refuse to engage in a battle of wits with an unarmed opponent [wikipedia.org].