Skip to content
Trending storyDeveloping

Goose language's data stack memory safety and performance benchmarks

1 report1 sourceupdated 2 hours ago

What happened

AI digest

On October 25, Hacker News' front page covered Goose, a systems programming language. It carries dynamic data on a compiler-managed data stack, giving memory safety without a heap allocator, garbage collection or lifetime annotations. On performance, the project reports across 16 benchmarks that its clang backend runs 3.54x faster than idiomatic C++, 1.26x faster than hand-optimized C++ and 1.19x faster than the best safe Rust. The coverage also notes limits: arrays of variable-size elements cannot be indexed directly, and escaping closures are not supported.

Written by AI from the coverage · updated 1 hour ago

Coverage

Follow the reports to see the story from different sides.

Oct 25
  1. Hacker News front page
    The Goose Programming Language

    Goose 是一种内存安全的系统编程语言,无堆分配器、GC 或生命周期标注,动态数据由编译器管理的数据栈承载。项目在 16 项基准中报告,clang 后端相对惯用 C++、手工优化 C++ 和最佳安全 Rust 的速度分别为 3.54x、1.26x 和 1.19x,但可变大小元素数组不能直接索引,也不支持逃逸闭包。

Heat over time

Not enough continuous observations to draw a trend yet.