Hasty Briefsbeta

Bilingual

LFortran Compiles Fpm

3 days ago
  • #Compiler
  • #Fortran
  • #OpenSource
  • LFortran successfully compiles fpm, the Fortran Package Manager, marking a significant milestone.
  • The project exposed and fixed numerous bugs in LFortran, advancing its progress to 9/10 towards beta.
  • Beta quality is defined as correctly compiling and running 90% of codes with N=10,000 lines; currently, LFortran handles N=500-1,000 lines well.
  • A major refactor improved handling of classes, virtual functions, and inheritance in LFortran.
  • Continuous Integration (CI) tests for fpm are now part of LFortran's workflow to ensure stability.
  • Support for fpm's key dependencies (M_CLI2, toml-f, fortran-regex, fortran-shlex, Jonquil) has been added.
  • Compilation speed benchmarks show LFortran is faster than gfortran, with LLVM IR compilation being the main bottleneck.
  • Future plans include optimizing compilation speed further and tackling coarrays and parametrized derived types post-beta.
  • LFortran is in the alpha stage, with beta expected in several months as bugs become less frequent and smaller.
  • The project welcomes new contributors and acknowledges support from various organizations and individuals.