D is a Systems Language: 16-bit Compilation?

Walter Bright newshound2 at digitalmars.com
Mon Dec 6 23:36:54 PST 2010


%u wrote:
> I was wondering if it is possible to compile a D program for 16-bit real mode,
> if only just the embedded assembly portions? I saw this in the "features to
> drop" section, but I was wondering, if D is a systems programming language,
> then wouldn't one need 16-bit code in order to program, say, a boot loader?

D is unsuitable for 16 bit work, for several reasons. (C++ has similar problems; 
only a subset of it works on 16 bits.)

You're better off with C for 16 bit work.


More information about the Digitalmars-d mailing list