Article may be outdated

This article is 45 days old. Some details may have changed since publication.

Hacker News·4 min read·hard

Goose: 1.16x faster than C++ and 1.12x than safe Rust, while memory safe

B
bobbydigitales
Goose: 1.16x faster than C++ and 1.12x than safe Rust, while memory safe
✦AI Summary

A new systems programming language called Goose claims to outperform C++ and Rust in speed and memory efficiency. It achieves this by eliminating the heap, garbage collection, and manual memory management in favor of a compiler-managed data stack.

Why it matters

If validated, this could represent a significant shift in systems programming by offering memory safety without the performance overhead typically associated with modern safety-focused languages.

✦Dive DeeperCreate a free account to unlock

A memory-safe systems language that is faster than C++ and Rust, on less memory, with no allocator/GC and no lifetime annotations.

Tutorial · Specification · Samples · Benchmarks · Standard library

Goose looks familiar like C or Rust, and is built on one idea: there is no heap . Every dynamic value lives inline on a data stack the compiler manages, growth is a pointer bump, and scope exit is the only free. The rest of the language is what it takes to make that work for real programs, and what it buys is measurable.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyscience
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in