Hacker News·18 min read

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
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 →

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