FluConf 2025

A tale of two compilers

Contributed by Wim


Format: Live presentation via Zoom, recording hosted on archive.org

Visit session URL âž”


Day one (2025-02-01)
- UTC

Abstract

I propose a talk about two compilers I have created, to investigate compiling Fortran programs to Uxn, a tiny stack-based VM with 64 kB memory and 8-bit instructions created by 100 Rabbits (https://100r.co/site/uxn.html)

The talk focuses on two languages: venerable Fortran; and Funktal, a strict, statically typed functional language for Uxn; and on their compilers: a general purpose, "serious" source-to-source compiler for Fortran, and a custom, "frivolous" compiler from Funktal. The link between the two will become clear in the talk.

The main reason for doing this is to show that modern compilers and programming languages can be frugal and resource constrained: there is no need for huge amounts of memory, disk space, network bandwidth and compute power purely to create a program, and for most programs also not to run it.

Luddism, Scaling down technology's climate impact, Hardware-hacking and permacomputing