March 2, 2026

Two Fortrans enter, one fpm wins

LFortran Compiles Fpm

Old-school Fortran flexes; internet debates 'codes' and double-compiler drama

TLDR: LFortran now compiles the Fortran Package Manager fpm, signaling a modern Fortran toolchain maturing toward beta. Fans cheer while skeptics spar over 'codes' slang, speed myths, and why two LLVM-based compilers exist—turning a niche milestone into a comment-section cage match.

Fortran’s comeback tour just added a new stop: LFortran now compiles fpm, the Fortran Package Manager, and the team bumped their progress bar to 9/10 toward beta. They admit they “cheated” by saving a big step (LAPACK) for later, which instantly sparked progress‑bar conspiracy jokes. Still, the vibe is “we fixed a ton of bugs, it runs the tests, let’s party.”

Then the comment section lit up. One camp is fighting over language culture—wrs called out the HPC crowd’s habit of saying “codes” instead of “code,” spawning memes like “next up: calling pasta ‘pastas.’” Nostalgia flooded in too, with stackghost reviving the age‑old “Fortran faster than C” myth, prompting replies of “citation needed” and “it’s the compiler tricks, darling.” Meanwhile, the article’s note that gfortran is required in tests (due to upstream scripts) fueled side‑eye: “beta vibes with a chaperone?”

The hottest debate: why two Fortrans on the same engine? auvi asked why LFortran and LLVM’s Flang both target LLVM (a common compiler “motor”). Fans framed it as healthy competition; skeptics smelled fragmentation drama. On the tech side, folks applauded runtime checks catching real bugs, and support for fpm’s dependencies (command‑line parsing, TOML, regex, shell‑like syntax, JSON). Translation for non‑nerds: fewer crashes, more guardrails, and lots of features—plus classic forum fireworks.

Extra credit: LFortran says medium‑sized projects are mostly solid and they’re sprinting to beta. CI (robotic testing every change) looks clean, but the memes? Gloriously messy.

Key Points

  • LFortran now compiles and runs fpm, closing the issue opened in April 2025 on February 7, 2026.
  • The fpm effort led to implementation of numerous modern Fortran features and fixes, advancing LFortran’s beta progress bar to 9/10.
  • Beta quality is defined as compiling medium-sized codes correctly about 90% of the time; current reliability is estimated at N=500–1,000 lines.
  • LFortran refactored class handling (classes, virtual functions, inheritance) guided by Clang’s C++ approach and established CI running all fpm tests per commit.
  • Support was added for fpm’s dependencies (M_CLI2, toml-f, fortran-regex, fortran-shlex, Jonquil), with build instructions and test flags provided; gfortran is needed only for tests.

Hottest takes

"Fortran (really HPC) people call programs and libraries 'codes'" — wrs
"Fortran was actually faster than C in some cases" — stackghost
"why there are two Fortrans… both targeting the LLVM backend?" — auvi
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.