snix/tvix/eval/src/tests
sterni 8adc9c56f2 docs(tvix): document when pointer equality is preserved in C++ Nix
This explicitly documents behavior of C++ Nix that goes against the
intuition you'd gather from this document: that e.g. a simple select
from an attribute set causes a value to no longer be pointer equal to
its former self.

The point of documenting this is that we can show in a to be written
section on the use of pointer equality in nixpkgs that pointer equality
is only needed in a limited sense for evaluating it (C++ Nix's exterior
pointer equality). Tvix's pointer equality is far more powerful since
value identity preserving operations also preserve pointer equality,
generally speaking (this is because we implement interior pointer
equality in my made up terminology). This should eventually also be
documented.

Change-Id: I6ce7ef2d67b012f5ebc92f9e81bba33fb9dce7d0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8856
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
2023-07-11 16:17:42 +00:00
..
nix_tests test(tvix/eval): update nix_tests suite to C++ Nix master 2023-06-15 19:28:16 +00:00
tvix_tests docs(tvix): document when pointer equality is preserved in C++ Nix 2023-07-11 16:17:42 +00:00
mod.rs feat(tvix/eval): allow extending builtins outside of tvix_eval 2023-06-22 20:19:06 +00:00
one_offs.rs fix(tvix/eval): skip runtime completely on compiler errors 2023-02-13 16:21:47 +00:00