logoalt Hacker News

calvinmorrison • yesterday at 10:16 PM • 1 reply • view on HN

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


Replies

Aardappel • yesterday at 10:31 PM

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.

➕ show 1 reply