What is the compilation model of D?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Thu Jul 26 14:03:59 PDT 2012


On Thu, 26 Jul 2012 09:27:03 +0100
Russel Winder <russel at winder.org.uk> wrote:

> On Wed, 2012-07-25 at 01:03 -0700, Jonathan M Davis wrote:
> 
> > In any case, much as I like C++ (not as much as D, but I still like
> > it quite a bit), its build times are undeniably horrible.
> 
> Indeed, especially with -O2 or -O3.
> 
> This is an area where VM + JIT can actually make things a lot better.
> Optimization happens on actually running code and is therefore focused
> on the "hot spot" rather than trying to optimize the entire code base.
> Java is doing this quite successfully, as is PyPy.
> 

That's not something that actually necessitates a VM though. It's just
that no native-compiled language (to my knowledge) has actually put
something like that into its runtime yet.



More information about the Digitalmars-d mailing list