195
submitted 3 days ago by misk@sopuli.xyz to c/retrocomputing
you are viewing a single comment's thread
view the rest of the comments
[-] xyzzy@lemm.ee 3 points 2 days ago

Yes. COBOL instructions map nearly directly (something like 1:4) to machine language instructions on the mainframe chipsets it was built for. It strongly encourages stateless procedures with its design, and has some other benefits that align closely with the financial sector. You can drop down to assembly as a hot spot optimization if you really need to.

The industry could replace COBOL, but its replacement would wind up looking a lot like COBOL at the code structure level, or a slightly nicer language would have an intermediate transpile step into COBOL or something similar. Probably no performance gains. Perhaps some usability gains. Not enough to sell it as a rewrite.

Reality is its use will probably outlive us all.

this post was submitted on 18 Dec 2024
195 points (99.5% liked)

retrocomputing

4216 readers
18 users here now

Discussions on vintage and retrocomputing

founded 2 years ago
MODERATORS