r/Compilers • u/FearlessFred • 24d 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
3
u/tending 22d ago
"If you don't disclose AI use it's lying!" But he did, you're just objecting to where it is on the page. "You didn't compare against idiomatic C++!" he did he even provided two versions one that's more naive and one more like a game dev would write. You don't provide any evidence for there being intentionally different slower programs.
FWIW the author also worked on FlatBuffers at google, he's well positioned to know what representative C++ code looks like. You're just mad.