Goose is a new, memory-safe systems programming language created by Wouter van Oortmerssen (creator of Lobster) with the help of AI (Claude/Fable).
Key Features and Architecture
-
No Heap, GC, or Lifetimes: It eliminates heap allocators, garbage collectors, and manual lifetime or borrow annotations.
-
Stack-Allocated Model: All dynamic values live inline on data stacks managed directly by the compiler; growth advances a pointer, and memory is freed automatically when its scope ends.
-
C-Compilation Backend: The compiler translates Goose source code into C, which can then be compiled with an external C compiler or its bundled TinyCC backend.
-
Performance Claims: Project benchmarks show Goose running faster than C++ and Rust while consuming less peak memory, though independent reviewers note these results depend heavily on specific data layouts and benchmark cases.
ссылка на оригинал статьи https://habr.com/ru/articles/1103148/