core.cpuid

Manu turkeyman at gmail.com
Sat Oct 29 17:57:14 PDT 2011


Seems like a horrible assumption to make when inventing a systems
programming language that intends to go head to head with C/C++ :)

On 30 October 2011 03:51, Alex Rønne Petersen <xtzgzorex at gmail.com> wrote:

> On 30-10-2011 02:49, Manu wrote:
>
>> What's the deal with core.cpuid?
>> I realise it is an x86 opcode, but is that something that you really
>> want totally bare in core like that?
>> I'm experimenting with other architectures, and some sort of
>> core.processorInfo would be really nice, surely an API for this stuff
>> should be more generalised...?
>>
>
> That module was probably designed around the assumption that D would never
> run on !x86 architectures, which is clearly not the case with GDC
> existing...
>
> - Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20111030/22e024f3/attachment-0001.html>


More information about the Digitalmars-d mailing list