3 ms·
How is Comptime different from default AOT compilation? I assume it can work with third-party libraries that AOT don’t work with yet?
by rubenvanwyk 9mo ago
How is Comptime different from default AOT compilation? I assume it can work with third-party libraries that AOT don’t work with yet?
- betaporter 9mo agoI believe this is like `constexpr` for C#.
- andix 9mo agoIt'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.