|Posted by Joseph Rushton Wakeling||PermalinkReply|
First, congratulations to the GDC team -- I'm playing with D for the first time in quite a while thanks to the up-to-date gdc 4.6 packages in the upcoming Ubuntu LTS release. It's great to see that D 2.0 now has this kind of mainstream distro support.
Anyway, a question about the gdc versus gdmd interfaces to the compiler. I've noticed that compiling with the options
gdmd -O -release -inline
produces a much faster executable (about twice as fast) as the typical gcc-style options I would use,
gdc -O2 [or -O3]
Can anyone advise on appropriate gdc options to pick up the same speed level?
Thanks and best wishes,