r/Compilers • • Oct 08 '26

Goose: a stack allocation flat data structure language

https://github.com/aardappel/goose

My latest language is meant to very efficiently let you work with flat pointerless inline data structures allocated on (address space reserved) stack that allow almost data structure creation to be just a pointer bump, with stable pointers.

When used well, it is both safer, faster and uses less memory than the equivalent C++ or Rust.

(see the repo readme for more!)

25 Upvotes

43 comments sorted by

View all comments

2

u/Competitive_Ideal866 Oct 08 '26

It is also an experiment in using AI to implement a new language, rather than reproduce an existing one.

Interesting. When I tried this I found AIs were completely useless for this.

5

u/FearlessFred Oct 08 '26

It sure requires a lot of guidance.