Goose Programming Language Released: A Memory-Safe Systems Language with No Heap Allocation and No GC
Wouter van Oortmerssen has released the Goose programming language, a memory-safe systems language with no heap allocator, no garbage collection, and no lifetime annotations, open-sourced under the Apache 2.0 license. The author claims that across 16 benchmarks, Goose is 3.3 times faster than idiomatic C++, 1.16 times faster than hand-optimized C++, and 1.12 times faster than the best safe Rust, while using 1.9 times, 1.3 times, and 1.2 times less memory, respectively. The compiler is about thirty thousand lines of C++ and can output a single C file; the author states that the repository was almost entirely implemented with AI assistance.
Why read this
AI score 63
The author has publicly released Goose's memory model and benchmark data, allowing readers to judge the trade-offs of a systems language with no heap allocation in terms of performance and safety.