LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Why does Cygwin work better than Wine? (http://www.linuxquestions.org/questions/linux-software-2/why-does-cygwin-work-better-than-wine-930401/)

Zssfssz 02-20-2012 06:21 PM

Why does Cygwin work better than Wine?
 
Well why does cygwin work better than wine, pretty simple?

ntubski 02-20-2012 06:37 PM

Cygwin implements the Unix API: small, stable, and well documented. WINE implements the Windows API: huge, gets updated with new versions of Windows, and poorly documented.

sundialsvcs 02-20-2012 06:53 PM

The thing that always floors me about Wine is how unbelievably huge it is. It makes me rather cringe at the thought of having to be a programmer on the Windows team in Redmond. (Of course, it also gives me a healthy respect :hattip: for their skill and abilities.)

Zssfssz 02-20-2012 07:09 PM

Don't we have a copy of the win API (#include <windows.h>)? I know there's more in it that just that (wincon.h). Don't most major applications also ship with their own libraries?

ntubski 02-20-2012 08:03 PM

Quote:

Originally Posted by Zssfssz (Post 4607794)
Don't we have a copy of the win API (#include <windows.h>)?

The header files only give the interface to the functions, they don't say how they work. For the Unix API there are multiple open source implementations. Having more than one implementation is important because it helps demonstrate what is specified by the API and what is just a quirk of the implementation. For Windows there is only one closed-source implementation so it's hard to see what's a bug and what's a feature.

Quote:

I know there's more in it that just that (wincon.h).
Understatement of the year :rolleyes:

Quote:

Don't most major applications also ship with their own libraries?
Windows applications rely a lot more on the stuff that ships with windows, because there is so much more installed by default.

Zssfssz 02-20-2012 08:17 PM

I ment (wincon.h, etc.). And what about MSDN isn't that a mildly good piece of documentation on the WINAPI?

ntubski 02-20-2012 08:36 PM

Quote:

Originally Posted by Zssfssz (Post 4607825)
And what about MSDN isn't that a mildly good piece of documentation on the WINAPI?

Not good enough, obviously.
Quote:

Originally Posted by wikipedia
incomplete and incorrect documentation of the Windows API. While Microsoft extensively documents most Win32 functions, some areas such as file formats and protocols have no official Microsoft specification. Microsoft Windows also includes undocumented low-level functions and obscure bugs that Wine must duplicate precisely in order to allow some applications to work properly.[12]



All times are GMT -5. The time now is 07:37 PM.