logoalt Hacker News

setheron • today at 4:12 AM • 1 reply • view on HN

If a library changed all downstream dependencies of it (applications) in Nix would need to be rebuilt anyways -- that is the cost of the input-addressed (pessimistic) model.

A perfect fit!


Replies

anfilt • today at 4:41 AM

Although I was thinking if it could maybe used more generally. If the table is separate or part of storeld loader that the application uses. Couldn't we also change/update just that table on a system update. The compiled application could still keep the same offsets without recompiling. That keeps updating the table separate from the application loading.

Basically, becomes an ahead of time symbol resolution. Although, you still have the issue if the symbol moved to some other lib I think, and definitely if it was removed.

➕ show 1 reply