Join the discussion
Write your take first — we'll ask for email only when you're ready to publish.
- Hacker News
- https://github.com/aardappel/goose/blob/master/docs/tutorial...
this bit seems a bit messy.
by skavi - Faster than C++ is always a head-turner. Curious what "magic" enables that with memory safety.by finn888
- Nim defaults to this kind of stack management and value semantics, except the `ref` and `ptr` trapdoors are there whenever you need them. So like this, Nim requires no memory annotations or semantics for good, safe default behavior.
Goose is a straightjacket by comparison. I've never enjoyed languages that plant a flag on one mechanism and force users to adapt.
by netbioserror - This is neat.
But the benchmarks are tiny, and it’s likely that Goose was tuned on them.
So, I think I would read this as: Goose has competitive performance to C and Rust and I’ll take them at their word that it’s as memory safe as Rust
by pizlonator - > Goose looks familiar like C or Rust, and is built on one idea: there is no heap
So it looks like it restricts the memory management to 100% scope based. I expect that makes a lot of designs for programs not translate to it as well as they fit in Rust or Java (for example). There are a bunch more constraining design choices they list further down:
> - Nothing ever moves
> - ... A string, an array of strings, a record with variable-size fields and an array of those records are each one contiguous block with no pointer in it
I'll have to look a bit deeper to decide if it's feasible to write many things in this language.
by backlands - I just can't understand why you'd let an LLM write your README. The code, the implementation? Sure! That's the purpose of a coding agent.
The README, though? That's the first thing I read about your project. Anybody familiar with LLMs is going to pick up that one wrote it in an instant. Surely you understand your own project well enough to write it in your own words, right? If not, what's even the purpose of the project in the first place?
by sodacanner - So much Claude text. I'm sure this is great (I did a bunch of stuff with/to aardappel's lobster, years ago, and it was pretty tidy, and quite easy to work with), but: Claude's writing makes my brain melt.
It's a no from me. I'm sorry.
by tom_ - The submitter asked us to take this down because the language is missing some important elements they should have added before posting. I don't think we can do that because the thread is so active, but we'll bury this one so they can repost it when ready.by dang