The Goose Programming Language
https://twitter.com/ID_AA_Carmack/status/2113704269274636568 Comments URL: https://news.ycombinator.com/item?id=50224100 Points: 216 # Comments: 152
The Goose programming language is a memory-safe systems language without a heap allocator, garbage collector, or lifetime annotations. In its benchmarks, Goose outperforms C++ and Rust while utilizing less memory. The language employs a unique data stack architecture, which eliminates the need for heap allocation and provides faster execution times.
Goose's syntax is familiar to C and Rust programmers, and it offers several advantages over traditional languages, such as stable references, self-relative links, and algebraic data types. The language's compiler infers roots and specializes functions for them, eliminating the need for annotations. Goose's type and lifetime rules ensure memory safety, and the language includes a benchmark section that showcases its performance gains compared to other systems languages.
Written by urgent.news from Hacker News Best's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.
- The Goose Programming Language aardappel.github.io