← Back to context

Comment by calvinmorrison

11 hours ago

Can someone explain the weird phrasing here "Nothing moves, so references survive growth" that AI does.

Almost all languages rely on reallocation when a growable array grows, which means you can't store pointers to elements, as they get invalidated upon a reallocation.

In Goose, things grow in-place only, since they have a large amount of address space reserved.