Windows drivers written in D

eles via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 13 14:50:18 PDT 2014


On Monday, 13 October 2014 at 18:16:08 UTC, marisalovesusall 
wrote:
> D is a system programming language, so is it possible to write
> drivers in D?
> Windows drivers, as example, or Linux.

See those links, with the mention that thy are quite outdated. 
But is better than nothing:

http://iainbuclaw.wordpress.com/2010/05/22/writing-a-linux-kernel-module-in-d/

http://wiki.osdev.org/D_Bare_Bones

Short answer is: yes, you cand write, but you cannot compile. 
Until most of D's runtime/stdlib is replaced by some Linux kernel 
equivalent, just as the C's ones are.

In the case of D, full port is far harder than of C, due to more 
complexity.


More information about the Digitalmars-d mailing list