The issue with D...

Ecstatic Coder ecstatic.coder at gmail.com
Sun Feb 3 11:30:34 UTC 2019


On Sunday, 3 February 2019 at 09:23:59 UTC, rikki cattermole 
wrote:
> On 03/02/2019 10:12 PM, Ecstatic Coder wrote:
>> Using -m32 by default on Windows, while -m64 is the default on 
>> Linux and MacOSX, needlessly breaks that cross-platform 
>> promise, and thus creates compilation problems that could 
>> easily have been avoided by using a consistent behavior across 
>> platforms.
>
> Keep in mind we are going to be dropping (if I remember 
> correctly) 32-bit support for OSX. So its not quite as simple 
> as the above posts may suggest.
>
> Every platform is different, both in hardware in use and in the 
> OS in question. Defaults for targets may not make sense 
> everywhere.

I agree, but IMO this is one more reason to use 64 bit as the new 
Windows default.

There will always be old PCs running on 32 bit OS, but many 
statistics corroborate the fact that most Windows users have now 
switched to the 64 bit version.

That's especially true for PC gamers, if you simply look at the 
Steam statistics :

https://store.steampowered.com/hwsurvey/
(click on OS Version)



More information about the Digitalmars-d mailing list