D is crap
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jul 6 12:21:41 PDT 2016
On Wednesday, 6 July 2016 at 10:26:27 UTC, qznc wrote:
> If you want to distribute a binary
gods save me! why should i do that? i am GPL fanatic. and if i'm
doing contract work, i know what machines my contractor will have.
> for x86 you only have the 386 instructions. Ok, 686 is probably
> common enough today. For more special instructions, you could
> guard them and provide a fallback.
nope. just write in the readme: "you need at least Nehalem-grade
CPU to run that". maybe check it at startup time and fail if CPU
is too old. that's all, several lines of code. not any different
from demanding 64-bit system. also note that some 64-bit systems
can run 32-bit apps, but not vice versa.
> GCC has a switch (-mx32) to store pointers as 32bit on a 64bit
> system. That is probably very close to what you want.
except that i should either build everything with that flag and
hope for the best, or pay for the things i don't need.
More information about the Digitalmars-d
mailing list