Hacker News new | ask | show | jobs
by anta40 1299 days ago
As far as I know, DMD doesn't offer much optimisations.

So you use DMD for development, and once the testing is done, built the production release with LDC or GDC.

1 comments

DMD does do all the basic data flow analysis optimizations, along with register allocation by coloring, etc.

The problem is there are just a ton of special cases needed to generate good code, especially with the x86 instruction set which is nothing but special cases <g>. Doing these takes a lot of developer time, one by one.