[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

revisiting the "What am I running on?" question

eryk sun wrote:
> The win-amd64 ABI is significantly different, but at the API level
> there isn't a drastic difference between 32-bit and 64-bit Windows, so
> there's no cognitive burden with perpetuating the Win32 name. The
> official API name was actually changed to "Windows API" or WINAPI (or
> WinAPI). But it would require a massive effort to change the culture.
> There's no pressing need to expend that much time and energy over a
> name.

  just adding a comment to the documentation that
win32 also covers win64 would be a help IMO.

  for those who are using the startswith syntax 
and checking for "win" alone then you could change 
the string returned to "win32-win64" or some other
string with the prefix "win" and it would still 
work with no changes needed.