Hacker News

The Goose Programming Language

Comfort Colors® Funny Just a Developer Goose Computer Geek Nerd ...

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. Tutorial · Reference · Specification · Packages · Samples · Benchmarks · Standard library Goose has syntax familiar to C and Rust programmers, but there is no heap. Every dynamic value lives inline on a data stack managed by the compiler. Growth advances a pointer, and memory is freed when its scope ends. The language’s type and lifetime rules make this memory model safe to use. Why Goose Faster than C++ and than safe Rust, while memory safe. Over sixteen benchmarks Goose runs at 3.3x the speed of idiomatic C++, 1.16x hand-optimized C++ and 1.12x the best…

Continue reading at Hacker News aardappel.github.io
Advertisement