News for hackers. Stuff that matters.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by robin_reala on Thursday August 15, 2024 @06:50AM (#41254619)
So obviously there’s been a lot of legacy COBOL kicking around, but is this still the case? Would a new COBOL project have been started in the last 20 years? I kind of imagined that Java (or at least the JVM) has eaten its lunch.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by karlmdavis on Thursday August 15, 2024 @08:07AM (#41254994)
A number of US federal agencies still have astonishing amounts of it. The world’s largest insurer, Medicare, uses 10M+ lines of COBOL to process the claims it receives — total dollar amounts that make up 3% of the yearly GDP.

Maintaining and modernizing these critical systems is important work.

Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by nazgulsenpai on Thursday August 15, 2024 @07:46AM (#41254905)
My (non-bank) employer still has lots of COBOL in production, and its constantly extended. Before working here I expected all COBOL to be running on some large IBM mainframe, but no. It's x86-64 Windows -- COBOL compiled to native Windows binaries.

Edited to specify not a bank.

Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by Suppafly on Thursday August 15, 2024 @04:27PM (#41260008)
Is there some advantage to using COBOL or did they just have an old COBOL programmer who just kept using it?
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by bigbuppo on Thursday August 15, 2024 @04:41PM (#41260142)
Every single attempt to replace COBOL has ended in failure. COBOL will never die. You can move it to new platforms, but it can never be replaced.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by Suppafly on Friday August 16, 2024 @02:04PM (#41268755)
That's not really true, lots of places of replace it with newer stuff.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by nazgulsenpai on Friday August 16, 2024 @09:54AM (#41266444)
I'm not privy to the details as a sysadmin but based on observation its either an application requirement or legacy foundational codebase carried forward -- probably a combination of both.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by CalumSult on Thursday August 15, 2024 @05:28PM (#41260558)
As someone doing support and occasional code changes for a pile of vb6 that doesn't sound that bad. If you need a code base to be stable for decades COBOL beats vb6.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by armorer on Thursday August 15, 2024 @06:58AM (#41254660)
Yes, there's a lot of it kicking around. This evolved from a personal testbed to iterate on ideas to apply on actual legacy code modernisation work I've been involved in.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by Muromec on Thursday August 15, 2024 @03:29PM (#41259501)
So, is the color of your bank's logo blue, green, red or orange?
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by slowmotiony on Thursday August 15, 2024 @06:55AM (#41254636)
I worked for two very big banks in europe and we have lots of cobol batch jobs that were written like 30 or 40 years ago.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by jmclnx on Thursday August 15, 2024 @07:02AM (#41254685)
How many objects without source did you find there ?

In the 80s (and probably before), every system I worked on had at least one critical COBOL program missing source code.

I am wondering if you noticed the same with this project.

Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by b800h on Thursday August 15, 2024 @08:00AM (#41254968)
Missing source code? That's terrifying.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by alex_suzuki on Thursday August 15, 2024 @08:26AM (#41255093)
Par for the course.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by derriz on Thursday August 15, 2024 @08:35AM (#41255193)
I did some contracting for a retail bank a good while back and the COBOL source for the term deposit interest calculation routine had been lost a few decades earlier but was still in use. I suggested a rewrite but there was no enthusiasm/support for it - especially as my prototype could not exactly reproduce the rounding. Nobody wanted to have to deal with customer communications to explain why one cent of interest was being paid a month earlier or later than before.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by jmclnx on Thursday August 15, 2024 @11:12AM (#41257020)
> suggested a rewrite but there was no enthusiasm/support for it

Been there :)

Yes, you always get a "no" for doing that.

Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by SonOfLilit on Thursday August 15, 2024 @04:07PM (#41259848)
Ahaha I'm also working with a bank and "customer communications" is a really nice euphemism for "barrage of class action suits". I'm sitting here in the office laughing out loud.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by slowmotiony on Thursday August 15, 2024 @09:13AM (#41255616)
Totally normal, happened all the time :))
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by uselpa on Thursday August 15, 2024 @08:28AM (#41255111)
Our shop (a bank) still develops in COBOL on a daily basis (IBM mainframe) and has a stock of tenth of millions of code lines.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by ianmcgowan on Thursday August 15, 2024 @04:32PM (#41260058)
Converting to Lithp any day now...
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by chasil on Thursday August 15, 2024 @10:01AM (#41256166)
Absolutely, we have several full time people who specialize in COBOL variants for VMS and OS2200.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by Muromec on Thursday August 15, 2024 @03:20PM (#41259432)
Places that have cobol are the same places that have a bunch or laws being your list of requirement and nobody stopped writing laws in those 20 years. Those are also the places where risk is supposed to be in a different department.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by SonOfLilit on Thursday August 15, 2024 @04:08PM (#41259858)
There are probably tens of thousands of active COBOL developers maintaining systems written no later than I guess the nineties.
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by rodgerd on Thursday August 15, 2024 @06:39PM (#41261212)
Yes?

Any "lets move this COBOL to something else" will, more often than not, flounder on the fact that "rewrite all this functionality" will cost massively more than "just find someone to extend what we already have".

Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by jamesfinlayson on Thursday August 15, 2024 @10:06PM (#41262458)
Re:Show HN: COBOL-REKT, a toolkit for analysing and reverse-... by jamesfinlayson on Thursday August 15, 2024 @10:08PM (#41262480)
I doubt many new projects get started in it, but there's still plenty out there even outside of banking, insurance etc - a guy I used to work with was a PHP developer and at a previous job he'd had to modify COBOL for a company that sold carpet.