LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-20-2012, 06:21 PM   #1
Zssfssz
Member
 
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Rep: Reputation: Disabled
Post Why does Cygwin work better than Wine?


Well why does cygwin work better than wine, pretty simple?
 
Old 02-20-2012, 06:37 PM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
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.
 
Old 02-20-2012, 06:53 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,647
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
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 for their skill and abilities.)
 
Old 02-20-2012, 07:09 PM   #4
Zssfssz
Member
 
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Original Poster
Rep: Reputation: Disabled
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?
 
Old 02-20-2012, 08:03 PM   #5
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by Zssfssz View Post
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

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.
 
Old 02-20-2012, 08:17 PM   #6
Zssfssz
Member
 
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Original Poster
Rep: Reputation: Disabled
I ment (wincon.h, etc.). And what about MSDN isn't that a mildly good piece of documentation on the WINAPI?
 
Old 02-20-2012, 08:36 PM   #7
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by Zssfssz View Post
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]
 
  


Reply

Tags
cygwin, linux, wine



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How does Cygwin's /dev/random and urandom work? Da_Nuke General 1 10-09-2011 09:18 AM
How to work on cygwin secondchanti Linux - Newbie 3 07-28-2010 12:51 PM
The command wget does not work on cygwin 1.5 even though it is installed. edgarosy Linux - Newbie 3 03-19-2010 10:35 PM
does WHOIS and TCPDUMP work with cygwin ? Tareq85 Linux - Newbie 4 03-27-2008 06:06 PM
xterm doesn't seem to work, using cygwin/x Asmor General 9 09-16-2006 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration