Main Greg Channel!

PLAN: Purely Functional Programming With Batteries Included by Jack Ek


Listen Later

PLAN: Purely Functional Programming With Batteries Included by Jack Ek at #LambdaConf2024

Get your ticket for #LambdaConf2025 here: https://www.eventbrite.com/e/lambdaconf-2025-tickets-903567092497

PLAN is a new VM based on established technology which allows programmers to write functional programs with automatically persisted state which is portable across architectures. Programming languages today tend to run in stateful environments, which imposes an impedance mismatch on purely functional languages. Instead of adapting the language to the environment—introducing impurity, whether directly or managed through an IO monad—we suggest adapting the environment to the language and simply treat our main closure as our state, in the hope that this will make software simpler and more maintainable. The specification of the VM is both minimal and straightforward to implement performantly, while its native code format remains human-understandable. We use an immutable code sequence to bootstrap an extensible higher level language, which together with the runtime gives us a usable system in significantly less than 10k of non-golfed, zero-dependency and highly auditable LOC.

...more
View all episodesView all episodes
Download on the App Store

Main Greg Channel!By