Make nix-eval Faster
Ephemeral binary AST to speed up Nix evaluation
This project will try to improves the performance of the Nix package manager by reducing some redundant computations made during expressions evaluation: instead of repeatedly parsing and resolving the same .nix source files, the project explores the potential benefits of a reusable binary representation of import-resolved Nix expressions that can be loaded directly in memory while preserving the language's existing semantics and compatibility with current packages. This experiment will provide benchmarks and a practical proof-of-concept to help upstream those ideas to the existing nix-daemon implementations.
This project was funded through the NGI Fediversity Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, as a pilot programme under the aegis of DG Communications Networks, Content and Technology. NGI Fediversity is part of the Horizon Europe research and innovation programme under grant agreement No. 101136078.