core.cpuid

Jonathan M Davis jmdavisProg at gmx.com
Fri Nov 4 10:27:53 PDT 2011


On Friday, November 04, 2011 08:11 Dejan Lekic wrote:
> Manu wrote:
> > Seems like a horrible assumption to make when inventing a systems
> > programming language that intends to go head to head with C/C++ :)
> 
> FYI, C/C++ also have cpuid, and it is also pretty low-level like in D (ie.
> developers rarely use cpuid.h directly). You should not (in practice) use
> "core" modules anyway.

And why not? Thread is in core. So are other modules that it's perfectly 
normal and acceptable to use. There's nothing wrong with using core modules. 
Many of them are _intended_ to be used. Stuff generally ends up in core 
because the D runtime needs it, not because it's something that the common 
programmer shouldn't be using.

- Jonathan M Davis


More information about the Digitalmars-d mailing list