On 8/18/2015 5:32 AM, Etienne Cimon wrote:
Other than that, there was a recent Java vs D thread which showed it orders of
magnitude faster on vtable calls. So I think the most amazing feature would be
to allow profiling & sampling to compile with samples and select which functions
to inline or do some magic around vtable pointers like what Java is doing.

There is some potential there, but since a static compiler doesn't do runtime profiling, some sort of hinting scheme would have to be invented.

Finally, I'm going to write this down here and haven't had time to look more
into it but I've never been able to compile Botan with optimizations on DMD64
Win64 VS2013 (https://github.com/etcimon/botan), it's really strange having a
crypto library that you can't optimize, building -O -g also gives me a ccog.c
ICE error. I think it might be something about `asm pure` that uses some locals,
does that eliminate the function call parameters?

Please file a bug report for that!

Reply via email to