Discussion: Porting 58000 lines of D and C++ to jai, Part 0: Why and How
TheGag96
thegag96 at gmail.com
Thu Nov 24 18:19:25 UTC 2022
On Wednesday, 23 November 2022 at 19:42:22 UTC, Johan wrote:
> About the compilation speed, I think the author does not yet
> realize that you have to think about performance of
> compile-time execution, similarly as with runtime execution.
> The algorithm used matters a lot, also at compile time.
> Spending 60sec on that small of a codebase is not my experience
> (*), so I think it's just a piece of compile-time code that is
> consuming most of the time (note that his optimized build only
> takes 2x longer).
I'm very interested in seeing how using Jai turns out for this
guy, but I was wondering about this too... Just what kind of code
has he been writing to cause D to take a whole minute to
compile?? Is he compiling each D file separately? I can
understand the rest of his criticisms but I think this problem
may be solely his own, even if our CTFE engine and template
instantiation isn't the fastest.
More information about the Digitalmars-d
mailing list