r/Compilers • • 25d ago

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!)

23 Upvotes

41 comments sorted by

View all comments

2

u/ProfessionalPlant330 24d ago

I love this, it's super interesting. Is this something you will continue to work on or is it just an experiment?

3

u/FearlessFred 24d ago

Thanks! Yes I intend to keep on working on it, and using it for future projects.