GDC - program runs in one thread, DMD - in 4 threads, why?
Mike Parker
aldacron at gmail.com
Fri Sep 10 11:24:10 UTC 2021
On Friday, 10 September 2021 at 11:20:10 UTC, eugene wrote:
>
> same picture with gdc 8.4.0 - one thread, no pthread_create()
> behind the scenes.
GDC is stuck on a much older version of D. Iain has backported
some bugfixes and optimizations, but featurewise it's mostly D
2.076. This is because that's the last version of the D frontend
implemented in C++, and he needed that to get gdc into gcc. As
bauss pointed out, the library feature you're talking about was
implemented in 2.087. Iain is working on porting gdc over to the
D version of the D frontend, at which point it will be much more
up-to-date.
More information about the Digitalmars-d-learn
mailing list