How is Comptime different from default AOT compilation? I assume it can work with third-party libraries that AOT don’t work with yet?
How is Comptime different from default AOT compilation? I assume it can work with third-party libraries that AOT don’t work with yet?
It's a code generator that runs during compile time. It's a source generator that adds some generated code files to the project. So it runs way before AOT or JIT. Once AOT/JIT run, Comptime is already invisible to them, they only see the generated code from Comptime.
I believe this is like `constexpr` for C#.