PDA

View Full Version : Difference between Windiws and Linux



JonaBG
November 12th, 2009, 12:08 PM
Hi!
I have been running Ubuntu for the last couple of years, since 7.04, I think. So I know why one should choose Ubuntu. But I still do not know what the actual differences are.

I'm not talking about the GUI or that stuff, but more about why a Windows program doesn't work in GNU/Linux. My impression is that whatever OS you are running, the commands from a program have to be translated into binary code anyways.
So why do you need to emulate Windows programs to make them work in Ubuntu (GNU/Linux)?

I joined the Forum today, and I am Norwegian, so please do not give me a hard time for spelling :-P

PS: The Forum has helped me more than one time trying to make an Acer Wireless Network card work...

Tibuda
November 12th, 2009, 12:20 PM
Both apps formats are binary code, but they are "encoded" in a different "coding" and use different libraries.

Zzl1xndd
November 12th, 2009, 12:24 PM
I'm not a programer, however my understand is it has to do with the API's

hope this helps

http://en.wikipedia.org/wiki/Application_programming_interface

JonaBG
November 12th, 2009, 12:28 PM
Thanks!
I never heard of the API before. But of course it makes sense.

Tibuda
November 12th, 2009, 12:32 PM
This is the binary format used by Linux apps: http://en.wikipedia.org/wiki/Executable_and_Linkable_Format

and this by Windows apps: http://en.wikipedia.org/wiki/Portable_Executable