Can i use D for OS develop.

kris foo at bar.com
Thu Aug 16 18:21:43 PDT 2007


Not very hard at all.

Tango itself doesn't really use clib when compiled for Win32 (uses Win32 
calls for most everything), so some of these notions are already in use.


BCS wrote:
> Reply to kris,
[snip]
> How hard would it be to Have tango be running in D right up to the when 
> system calls jump into kernel space?
> 
> with templates you could wrap the nitty gritty of systems calls real nice
> 
> R SystemCall(uint number, R, A...)
> {
>   asm
>   {
>      // whatever
>   }
> }
> 
> alias SystemCall!(SystemCallNumbers.open, int, ...) open;
> ...
> 
> 
> 



More information about the Digitalmars-d mailing list