digitalmars.D - D is a Systems Language: 16-bit Compilation?
- %u <wfunction hotmail.com> Dec 06 2010
- Walter Bright <newshound2 digitalmars.com> Dec 06 2010
Hello, 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? Thank you!
Dec 06 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.
Dec 06 2010








Walter Bright <newshound2 digitalmars.com>