AOT machinery for "full JIT mode" #117362
Replies: 1 comment 3 replies
-
This is not the story. JIT is usually more optimized with runtime-calculated values. AOT-exclusive analysis are based on whole program view.
There's no format for storing this. JIT does this sort of optimizations with tiered compilation, and can utilize runtime-loaded values like configurations.
It's not related to interpreter. Evaluate pre-calculated values into ReadyToRun is possible. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As I understand it the AOT compiler does a degree of analysis and partial evaluation of assemblies to produce more optimized static binaries. It seems like some of this (especially things like evaluation of statically called constructors) could be useful for non-AOT assemblies as well. Are there any plans to reuse this analysis information in non-AOT scenarios?
In addition, with the introduction of the "full" interpreter in progress, it seems like it could be possibly to evaluate a larger portion of code at compile time (almost like Zig's comptime support) and then bake this information into the produce artifacts (whether AOT or JIT). Is there any overlap between these interpreters and is it possible that this approach could be followed?
Beta Was this translation helpful? Give feedback.
All reactions