!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

408 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.135 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 Nov 2025
@raitobezarius:matrix.orgraitobezarius

Clarification: by "the whole thing" you're referring to pointer equality?

i'm referring to the maximal sharing work that was done in Lix

15:04:01
@raitobezarius:matrix.orgraitobezarius *

Clarification: by "the whole thing" you're referring to pointer equality?

i'm referring to the maximal (well it's not exactly maximal) sharing work that was done in Lix

15:04:09
@raitobezarius:matrix.orgraitobezarius

Wouldn't what we can expose be super dependent on implementation details?

idk, we can formalize what is pointer equality

15:04:28
@raitobezarius:matrix.orgraitobezariuswe can offer recursive pointer equality, one-off pointer equality, sharing pointer equality, etc.15:04:45
@raitobezarius:matrix.orgraitobezariusWe could also consider making functions comparable15:04:53
@raitobezarius:matrix.orgraitobezarius like $$\alpha$$-equivalence of lambda terms via bisimilarity or idk 15:05:10
@raitobezarius:matrix.orgraitobezarius * like $$\alpha$$-equivalence of lambda terms via bisimulation or idk 15:05:16
@kfears:matrix.orgKFears (burnt out)I think there are many various ways to compare functions that can be useful in different contexts (string comparison, signature comparison, evaluated comparison, pointer comparison), and it might be weird to prefer one over another. Maybe having no "default" comparison but having options to choose from would be best?17:42:38
@raitobezarius:matrix.orgraitobezarius I did https://wiki.lix.systems/books/lix-contributors/page/pointer-equality to expand my thoughts and current understanding 18:07:04
@raitobezarius:matrix.orgraitobezariusI feel like there's two directions from the current local optimum (?) we are, kicking function equality out of the language, figuring how far we are willing to go to repair lack of structural equality for complicated types like functions18:08:20
@raitobezarius:matrix.orgraitobezarius pennae are more in favor of kicking the thing out because there's no practical value to offer a real == for fns 18:08:47
@raitobezarius:matrix.orgraitobezarius i was in favor of making == for functions complete, i.e. recursive ptr equality + semantic check if ptr equality fails 18:09:07
@raitobezarius:matrix.orgraitobezariusbut i sat down and looked how to do it and noped out18:09:17
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Quip: nix eval "github:nixos/nixpkgs?rev=a999c1cc0c9eb2095729d5aa03e0d8f7ed256780#pkgsCross.gnu64.bitwarden" --no-eval-cache. This wasn’t a regression and doesn’t evaluate under any nix impl. It was the case where nixpkgs machinery thought that it was doing this in cross and thus failed to eval 18:09:42
@raitobezarius:matrix.orgraitobezariusaaaaaaaaah thanks18:09:54
@raitobezarius:matrix.orgraitobezariuswell the other thing was a regression no?18:10:00

Show newer messages


Back to Room ListRoom Version: 10