Stories
Slash Boxes
Comments

SoylentNews is people

posted by on Saturday April 29 2017, @09:17AM   Printer-friendly
from the the-code-that-wouldn't-die dept.

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/


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 4, Interesting) by turgid on Saturday April 29 2017, @03:25PM (7 children)

    by turgid (4318) Subscriber Badge on Saturday April 29 2017, @03:25PM (#501556) Journal

    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.

    Starting Score:    1  point
    Moderation   +2  
       Interesting=2, Total=2
    Extra 'Interesting' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   4  
  • (Score: 2) by turgid on Saturday April 29 2017, @03:29PM (1 child)

    by turgid (4318) Subscriber Badge on Saturday April 29 2017, @03:29PM (#501557) Journal
    • (Score: 1, Funny) by Anonymous Coward on Saturday April 29 2017, @10:11PM

      by Anonymous Coward on Saturday April 29 2017, @10:11PM (#501689)

      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

    by DeKO (3672) on Saturday April 29 2017, @04:16PM (#501572)

    The original C++ compiler was a pre-processor for C.

    Cfront was actually a proper compiler. Its predecessor (for the "C with classes" dialect) was actually a dumb preprocessor, according to Stroustrup: [stroustrup.com].

    Cfront was a traditional compiler that did complete syntax and semantic checking of the C++ source. For that, it had a complete parser, built symbol tables, and built a complete internal tree representation of each class, function, etc. It also did some source level optimization on its internal tree representation of C++ constructs before outputting C. The version that generated C, did not rely on C for any type checking. It simply used C as an assembler. The resulting code was uncompromisingly fast. For more information, see D&E [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)

    by jmorris (4844) on Saturday April 29 2017, @07:23PM (#501635)

    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)

      by turgid (4318) Subscriber Badge on Saturday April 29 2017, @07:28PM (#501636) Journal

      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.

      • (Score: 3, Insightful) by kaszz on Sunday April 30 2017, @02:24AM (1 child)

        by kaszz (4211) on Sunday April 30 2017, @02:24AM (#501758) Journal

        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 ? ;)