Re:Go 1.11 and Beyond
by foldr on Monday August 27, 2018 @08:35AM
(#17851036)
> Talking numbers, D was taking 1.24s to compile its complete standard library in 2010, (too lazy to try out the latest version) including the piles of template code that it has.
Quite a lot of that time appears to be spent linking. I wonder if the post on the mailing list was reporting the literal compile time, rather than the build time?
It was a bit difficult to find a go project of similar size that was easy to build. The backend component of limetext is about 10k LOC compared to 35k for Phobos. When I do a ‘time go build -o foo’ in go/src/github.com/limetext/backend, I get the following:
real 0m0.163s
user 0m0.140s
sys 0m0.207s
Multiply that by 3 plus a bit to compensate for the LOC difference, and it's still pretty good.
Still no idea what you are on getting with regard to CLU. We don't have any info on how fast it compiled.
I followed in the instructions for building Phobos on the wiki here at https://wiki.dlang.org/Building_under_Posix:
Quite a lot of that time appears to be spent linking. I wonder if the post on the mailing list was reporting the literal compile time, rather than the build time?It was a bit difficult to find a go project of similar size that was easy to build. The backend component of limetext is about 10k LOC compared to 35k for Phobos. When I do a ‘time go build -o foo’ in go/src/github.com/limetext/backend, I get the following:
Multiply that by 3 plus a bit to compensate for the LOC difference, and it's still pretty good.Still no idea what you are on getting with regard to CLU. We don't have any info on how fast it compiled.