Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Using Fortran on Cloudflare Workers

Blog post from Cloudflare

Post Details
Company
Date Published
Author
John Graham-Cumming, Sven Sauleau
Word Count
894
Language
English
Hacker News Points
-
Summary

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.