Linked by Thom Holwerda on Thu 19th Jan 2006 19:00 UTC, submitted by twickline
Windows A set of banchmarks has proven that under some conditions, WINE can beat Windows XP SP2 at some tests. To be exact, out of 147 tests, WINE beats Windows XP on 67. The WINE version used was 0.9.5, running on a Gentoo Linux system, with some fairly decent hardware.
Permalink for comment 87972
To read all comments associated with this story, please click here.
RE[3]: not surprising
by PlatformAgnostic on Sat 21st Jan 2006 00:37 UTC in reply to "RE[2]: not surprising"
PlatformAgnostic
Member since:
2006-01-02

Uhm... the macros are there to make the windows headers as compiler and platform-independent as possible. For instance, if you define MAC, you can use some of those MFC headers for porting your code to a Mac with some shim libraries. That's part of how they make Office:Mac (though not with MFC, of course). The macro functions are there for efficiency before compilers were so strong on optimizations (compilers probably also had fewer intrinsics at that time too) (not to mention they are not susceptible to weird/random rules that optimizers often apply).

Most of the windows headers can be understood in terms of the fact that they were written before C standards contained all of the features they use. In some ways, they created things that later became standards. Win3.1 and probably many parts of Win95 were probably written in ASM.

Reply Parent Score: 1