- How is Comptime different from default AOT compilation? I assume it can work with third-party libraries that AOT don’t work with yet?
- C# meta programming game is strong. Source generators are :chefs_kiss:
- I think Zig really shines here: https://ziglang.org/documentation/master/#comptime
- This seems like the kind of feature that should be built into MSBuild.
- Makes me think of Boo language; Boo was so good at metaprogramming and multi-phasr programming! A very fine .NET language that was so far ahead of the curve, with having the tools of that language be usable at runtime.
Alas many of the docs are offline now. But it had great quasiquotes, which let you write code that gets turned into AST that you can then process. Good macros. A programmable compiler pipeline. So much. Alas, obscured now. https://boo-language.github.io/
- So it's like C++ consteval?