Re:C++ killed my grandpappy - Is C++ hard and where are the ...
by alextingle on Tuesday June 29, 2010 @06:59AM
(#1471008)
The WinAPI is horribly designed. The choice of language has nothing to do with it. A plain C API can be a joy to work with (e.g. pthreads, or any POSIX API). There is just no excuse for the myriad of WinAPI functions that take 13 parameters in random order, most of which need to be set to 0, -1 or NULL to get it to work.
[ Parent
| on HN ]
Re:C++ killed my grandpappy - Is C++ hard and where are the ...
by ajuc on Tuesday June 29, 2010 @08:25AM
(#1471135)
The excuse is backward compatibility, and it is also why linux binaries from 3 years ago doesn't work on new linux, and win32 binaries does (or at least did before vista age).
PS I prefer linux way (clean the api, no matter old binaries), but that's because I'm programmer, as a user I would love to just download old binary from net and have it work without worrying about dependencies.
Re:C++ killed my grandpappy - Is C++ hard and where are the ...
by jussij on Tuesday June 29, 2010 @08:41AM
(#1471169)
I was amazed to find that a version of the Zeus editor dating back to 1995 still runs fine on Windows 7 and that software is not even Win32. It's written in Win16.
And here is the link to prove it: http://www.zeusedit.com/z300/zeus-v103.zip
Re:C++ killed my grandpappy - Is C++ hard and where are the ...
by ajuc on Tuesday June 29, 2010 @08:53AM
(#1471194)
My last windows was xp, bu I've heard win7 was supposed to have virtual machine with winXP to run older program. If so, this is cheating :)
Re:C++ killed my grandpappy - Is C++ hard and where are the ...
by ComputerGuru on Tuesday June 29, 2010 @10:28AM
(#1471494)
Not really. You need to separately install the XP Virtual Machine software on Windows 7. He means it actually runs "out of the box."
(Windows 7's XP emulation mode is nothing like the super cool Rosetta on OS X)
Re:C++ killed my grandpappy - Is C++ hard and where are the ...
by angstrom on Tuesday June 29, 2010 @09:25AM
(#1471286)
I worked on a popular medical imaging application that was released with Win95 support and still working with Vista/Win7. That's some impressive longevity. Mind you there were adjustments along the way to support newer DirectX libraries etc. but the rest of the application was able to compile fine.
Re:C++ killed my grandpappy - Is C++ hard and where are the ...
by ajuc on Tuesday June 29, 2010 @02:31PM
(#1472295)
To compile fine is one level, the other is to run fine without recompiling - it's easy to break binary compatibility - http://techbase.kde.org/Policies/Binary_Compatibility_Issues...