Porting 32 Bit Code to 64 Bits

From D Wiki
Revision as of 23:01, 23 February 2014 by Verax (talk | contribs) (Migrating article from dlang org)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Although D is designed to make it easy to port code between 32 and 64 bit modes, being a systems programming language, dependencies can creep in. This guide points out what changes between the two.

Versions

Not all code can be made portable between 32 and 64 bits, and must be versioned. The following works: