Skip to content
0:00 / 0:00

#scheme#gambitscheme#mimosa

Running Scheme On Bare Metal (Experience Report)

ACM SIGPLAN

11K subscribers • 53 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Advanced. Deep dive for people who know the field.

1.7K views5 years ago1 recommendation

Systems programmingProgramming languagesOperating systemsLisp and Clojure

An experience report on Mimosa, a system that hosts the Gambit Scheme implementation directly on bare-metal x86 hardware.

icfp20.sigplan.org/details/scheme-2020-papers/3/Running-Sche… Programming language implementations have features such as threads, memory management, type safety, and REPLs that duplicate some of the work done by the underlying operating system. The objective of hosting a language on bare metal is to unify the language implementation and operating system to have a lean system with no redundancy for running applications. In this paper we report on our experience implementing this idea for the Scheme language, specifically an extension of the Gambit Scheme system on the commodity x86 platform. Our system, Mimosa, is written mostly in Scheme and supports the execution of Scheme applications with access to some essential devices (keyboard, terminal, bitmap screen, serial links, hard disks). We report on the main problems we have encountered and how the use of some of the advanced features of the Gambit Scheme system simplified development. One of the main difficulties was the handling of hardware interrupts in a garbage collected language. We also discuss the benefits of using a REPL for experimentation and continuation passing style in the device drivers.

Why it's here

1 person recommends this

What people say. Recommended as an interesting approach to unifying a language runtime with a bare-metal operating system.

u/dharmatechin r/osdev • Recommends

Running Scheme On Bare Metal (Experience Report)