cue-lang / cue

The home of the CUE language! Validate and define text-based and dynamic configuration
https://cuelang.org
Apache License 2.0
5.02k stars 287 forks source link

evaluator: implement new evaluator as the basis for performance and other improvements #2884

Open myitcv opened 6 months ago

myitcv commented 6 months ago

This is a placeholder issue for the implementation of a new version of the core CUE evaluator, a version that will enable (further) performance improvements referenced in https://github.com/cue-lang/cue/issues/2850. It will also serve as a better platform for fixing any correctness issues.

The new evaluator will not be enabled by default.

The top of stack for this change is currently https://review.gerrithub.io/c/cue-lang/cue/+/1174341 (there are many changes below it that have already been submitted). We will update the issue description with more details and better links shortly.

mvdan commented 5 months ago

We're leaving this issue open for the time being to track the various P0/P1 bugs that remain, even though we're already releasing a version of the new evaluator in alpha.2 (https://github.com/cue-lang/cue/issues/2886).