Hacker News new | ask | show | jobs
by Routine8502 15 days ago
Fortran is a beautiful language for scientific computation. The only problem is a) dogshit older code and b) the lack of ergonomic high level abstractions. The first is excusable since Fortran predates logical IF statements, and the latter is trivial with python, FFI and an LLM.
3 comments

Typed Unions and Visitors give you sum types and the like.

What kind of high level abstraction do you feel is too unergonomic to use?

One thing that could be nice is having an ergonomic language that transpiles to Fortran.
B has been solved for a while, we are on Fortran 2023 nowadays.

You get as much ergonomics as a language like Zig, that gets praises all over the place.