Hasty Briefsbeta

Bilingual

Scheme Is a Hoot

9 hours ago
  • #Programming
  • #Scheme
  • #WebAssembly
  • The author is learning Scheme and implementing physics concepts, compiling to the Web using Hoot.
  • Hoot is unstable (version 0.9.0), with decent documentation and cryptic errors, but allows Scheme code to run on the Web via custom WASM without Emscripten.
  • Initially misunderstood Hoot's compatibility; had to port code to use Hoot-specific functions, then realized it supports more of Guile with manual imports.
  • Set up code to run on both native Guile and WASM via Hoot, with automated tests for both environments, making most code agnostic to the runtime.
  • Focus has been on backend setup and fundamental physics logic, with progress including a published prototype and source code.
  • Future interest includes compiling Zig + Scheme programs to the Web with Hoot, exploring this combination despite potential complexity.