← All stories
● Covered by 1 source Β· 1 reportMedium impact

Goeteia Compiles Scheme to WebAssembly for Browser-Based Development

Aggregated by BrevFeed dev Β· updated 1h ago
πŸ”– Save

Goeteia, a web programming tool, compiles Scheme code directly to WebAssembly in the browser, eliminating the need for server-side compilation. This enables fast, live recompilation of code with an efficient memory model, tailored for web development, impacting how developers can write and test Scheme applications online.

Key points

Overview of Goeteia

Goeteia is a programming tool that allows developers to compile Scheme code to WebAssembly (Wasm) directly within a web browser. This approach eliminates the reliance on server-side compilation and permits live updates and testing. The total size of the Wasm compiler is around 70 KB when gzipped, which can be cached after the first load.

Self-Hosting and Efficiency

Goeteia's compiler is written in the same Scheme subset it compiles, achieving a self-hosted build that checks that the output remains byte-identical. This fidelity is verified continuously during development, ensuring reliability in code compilation. Each code run takes approximately 15 ms for recompilation, providing developers with quick feedback.

Advanced Features

The tool offers various advanced features, including unboxed Fixnums, garbage collection for pairs and records, and an improved exception-handling model. The implementation of escape continuations and efficient handling of variadic procedures further enhance its performance capabilities.

Interfacing with the Web

Goeteia includes support for building reactive web applications. It allows developers to create Three.js scenes, utilize WebGL with a command buffer approach, and handle JSON through various integrations. This makes Goeteia applicable not only for backend Scheme processing but also for interactive and reactive frontend development, enabling a modern programming experience.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors β€” check the original sources. How BrevFeed works β†’

Primary sources

GitHub guenchi/Goeteia

Reporting from

Goeteia, a web programming tool, compiles Scheme code directly to WebAssembly in the browser, eliminating the need for server-side compilation. This enables fast, live recompilation of code with an efficient memory model, tailored for web development, impacting how developers can write and test Scheme applications online.