Using Fortran on Cloudflare Workers
In April 2020, a blog post discussed running COBOL on Cloudflare Workers by compiling to WebAssembly. Since then, the ecosystem around WebAssembly has grown significantly, enabling more languages to compile to WebAssembly for execution on servers and in browsers. Recently, work on LLVM has enabled Fortran to compile to WebAssembly. This allows Fortran code to run on Cloudflare Workers using a tool called Fortiche, which uses Flang and Emscripten under the hood. Despite its age, Fortran is still widely used for scientific applications due to its native functionality for arithmetic and handling large arrays and matrices.
Company
Cloudflare
Date published
May 7, 2024
Author(s)
John Graham-Cumming, Sven Sauleau
Word count
894
Language
English
Hacker News points
None found.