Urgent.News

What's breaking now, across thousands of outlets.

Tech

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.

Read the original at aardappel.github.io →

More in Tech

Tim Pan’s iPhone Duo Review

I hadn’t heard of Tim Pan or Mediastorm until running across his 24-minute video review of the Duo. It’s a good and fair review, but what struck me are the rather astonishing production values .

  • Tim Pan's 24-minute iPhone Duo review impressed viewers with high production values
  • Company subjected iPhone Duo hinge to 10,000 stress test cycles
  • Pan's Chinese employees prefer iPhone Duo over other models

More from Saturday 24 October →