Skip to content
NewA calmer, faster ZeroHour
Otherinfo

Goose language claims memory safety without a heap or GC

Original title: The Goose Programming Language

Hacker News · AIby andsoitis ()17 min read1 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

In the project's sixteen benchmarks, Goose is claimed to run at 3.3x idiomatic C++ while using less memory.

Goose is a systems language with syntax familiar to C and Rust programmers and no heap allocator, garbage collector, or lifetime annotations. Dynamic values live on compiler-managed data stacks and are freed when their scope ends. It compiles to one C file, and the repository says it is faster than C++ and safe Rust while using less memory.

Unconfirmed: The speed and memory figures are the project's own benchmark claims.

Key facts
  • The project claims 1.16x hand-optimized C++ and 1.12x the best safe Rust.
  • Those comparisons also claim 1.9x, 1.3x and 1.2x less memory.
  • A bundled TinyCC backend can compile and run a program in-process.
  • Relative references are described as 1-, 2- or 4-byte offsets.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

17 min read at aardappel.github.io

A memory-safe systems language with no heap allocator, garbage collector, or lifetime annotations. In this repository's benchmarks, Goose runs faster than C++ and Rust while using less memory.

Hacker News · AI

By andsoitis · aardappel.github.io

Read the full article at Hacker News · AI

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.