News for hackers. Stuff that matters.
Re:The seven programming ur-languages by macintux on Sunday April 19, 2026 @07:33AM (#47823541)
Reminds me a bit of Bruce Tate’s approach in 7 languages in 7 weeks, which is where I first encountered Erlang.

I think from a historical perspective, describing COBOL and Fortran as part of the ALGOL family is a stretch, but I suppose it’s a good reminder that all history is reductive.

Re:The seven programming ur-languages by gottheUIblues on Sunday April 19, 2026 @07:45AM (#47823605)
Rather COBOL is a living fossil? And today's Fortran is the FORTRAN family with horizontal gene transfer from the Algol lineage of programming languages.
Re:The seven programming ur-languages by shevy-java on Sunday April 19, 2026 @08:09AM (#47823724)
Can COBOL be called a living fossil?

I mean, programming languages do not live; and they do not "die", per se, either. Just the usage may go down towards 0.

COBOL would then be close to extinction. I think it only has a few niche places in the USA and perhaps a very few more areas, but I don't think it will survive for many more decades to come, whereas I think C or python will be around in, say, three decades still.

> family with horizontal gene transfer

Well, you refer here to biology; viruses are the most famous for horizontal gene transfer, transposons and plasmids too. But I don't think these terms apply to software that well. Code does not magically "transfer" and work, often you have to adjust to a particular architecture - that was one key reason why C became so dynamic. In biology you basically just have DNA, if we ignore RNA viruses (but they all need a cell for their own propagation) 4 states per slot in dsDNA (A, T, C, G; here I exclude RNA, but RNA is in many ways just like DNA, see reverse transcriptase, also found in viruses). So you don't have to translate much at all; some organisms use different codons (mitochondrial DNA has a few different codon tables) but by and large what works in organism A, works in organism B too, if you just look to, say, wish to create a protein. That's why "genetic engineering" is so simple, in principle: it just works if you put genes into different organisms (again, some details may be different but e. g. UUU would could for phenylalanine in most organisms; UUU is the mRNA variant of course, in dsDNA it would be TTT). Also, there is little to no "planning" when horizontal gene transfer happens, whereas porting requires thinking by a human. I don't feel that analogy works well at all.

Re:The seven programming ur-languages by ErroneousBosh on Monday April 20, 2026 @10:24AM (#47834827)
I don't know; COBOL pops up in banking all the time and Fortran lives on in a lot of specialised engineering applications.

Is there anything to be gained from rewriting it in Rust? Five years ago would there have been anything to be gained from rewriting it in Haskell? Ten years ago would there have been anything to be gained from rewriting it in Ruby? Fifteen years ago would there have been anything to gain from rewriting it in Clojure? Twenty years ago would there have been anything to gain from rewriting it in Java?

And so on, all the way back.

Re:The seven programming ur-languages by IAmBroom on Monday April 20, 2026 @10:59AM (#47835316)
Analogies are inherently reductive; by deeply scrutinizing the differences you do not prove the analogy is useless.
Re:The seven programming ur-languages by pjmlp on Sunday April 19, 2026 @01:20PM (#47825898)
Both languages have their standards updated still, latest year in both cases was 2023.

Fortran is one of the reasons OpenCL lost to CUDA, and now even AMD and Intel have finally Fortran support on their own stacks, not Khronos based.

https://developer.nvidia.com/cuda-fortran

Whereas Cobol, even has cloud and microservices.

https://www.rocketsoftware.com/en-us/products/cobol/visual-c...

https://aws.amazon.com/mainframe/

Incredible how being monetary relevant keeps some languages going.

Also note how the beloved UNIX and C are from 1971 - 73, only about 10 younger than COBOL.

Re:The seven programming ur-languages by kergonath on Sunday April 19, 2026 @04:06PM (#47827239)
> Fortran is one of the reasons OpenCL lost to CUDA, and now even AMD and Intel have finally Fortran support on their own stacks, not Khronos based.

FWIW, I loved using CUDA-Fortran. I think the ease of use of array variables maps very well with the way CUDA kernels work. It feels much more natural than in C++.

Re:The seven programming ur-languages by jasperry on Sunday April 19, 2026 @11:11AM (#47824882)
Does anybody know whether Fortran is older or younger than Algol? From Wikipedia, it looks like they were both developed around 1957. Was there any overlap in the design?
Re:The seven programming ur-languages by kergonath on Sunday April 19, 2026 @04:04PM (#47827226)
Algol was published in 1958, and FORTRAN in 1957. I think it's fair to say they were developed concurrently.
Re:The seven programming ur-languages by ianburrell on Sunday April 19, 2026 @07:34PM (#47828719)
I also think going back farther is a stretch. The first assembly languages were imperative, but what made Algol, Fortran, and Cobol interesting were functions and other features that allowed complex programming. Algol has the most descendants but Fortran was the first imperative programming language.
Re:The seven programming ur-languages by jhbadger on Sunday April 19, 2026 @09:17PM (#47829289)
There's also (besides Tate's sequel of 7 more languages), Dimitry Zinoviev's 7 Obscure Languahes in Seven Weeks. I liked it a lot, even if it hurt my feelings a bit to have my beloved Forth be one of the obscure languages (the others were APL, SNOBOL, Occam, Simula, Starset, and M4) -- I'm old and nerdy, but hadn't even heard of Occam and Starset.
Re:The seven programming ur-languages by fero14041 on Monday April 20, 2026 @07:47AM (#47832937)
Perhaps better IMHO is "Strange code" by Ronald Kneusel (NoStarch, 2022) [0], which I found more didactic and developed. Please note than I'm quite a fan of this author's other books [1].

[0] https://nostarch.com/strange-code

[1] https://nostarch.com/search/Kneusel