Advertisement
Promo

Become a member of the ZDNet UK community

conz

View blog's RSS Feed

Khaotic Musings

Random musings on Linux and Free and Open Source Software.

Friday 15 May 2009, 5:51 AM

WINE and the importance of application compatibility

Posted by conz

With much talk in recent days about the worthwhile-ness and importance of WINE to the success of desktop Linux, I though it worth re-posting a piece I'd penned a little while ago...

One of my favourite areas of amateur endeavour is researching computer industry history. In the mid-to-late 80s, there was a spate of what we now call desktop environments, termed desktop shells back then. These had wacky names, like GEM, Deskview, GEOS and Windows. Each jostled for market dominance. All but one are now essentially extinct. The reason for this makes a fascinating story and sheds light on a vitally important missing element in the Linux ecosystem. Something which the open source industry needs to develop before it can be a serious mainstream contender for the one billion PCs of the coming decade.

It all started when users began to grow weary of having to exit out of one application to launch another. DOS was a single-tasking operating system; it could only run one app at a time. Wouldn't it be nice if it was possible to runmore applications simultaneously? To be able to flip between these and, maybe even copy and paste stuff between them?

Users' appetites where whet by recent events in the industry. Apple CEO 'Guru Steve' Jobs had been off to see the very clever Xerox folk just down the road at Palo Alto, to learn more about this amazing new windows, mice and icon universe they'd built. Steve, knowing a slick thing when he sees it, decided that Apple really needed a piece of this pie; partly because Apple's flagship-cum-cashcow, the Apple ][ family was quickly ailing, partly because the Apple III had bombed severely in the market, but mostly because this graphical environment was just way cool.

Everyone wanted graphical interfaces, but not everyone could go out and buy a Mac, let alone a Lisa, which cost as much as a new car! What could we get to run on the plain 'ol 8086? Well, GEM, GEOS and Windows, et al. Interestingly, Windows was neither market nor technology leader. For quite a few years, Digital Research's GEM product owned the PC GUI market. And in technical terms, GEOS won hands down. At a time when Windows applications had to be especially designed to yield to others to prevent them from locking up, GEOS ran a fast, tight, fully pre-emptively multitasking environment, in a fraction of the resources and memory, all on an 8086 processor. Needless to say, it lost in the marketplace race.

What did win in this race was one of the two competing Microsoft environments. In the late '80s, Microsoft was developing both Windows as a graphical shell atop DOS, and (under contract to IBM) OS/2 as a full replacement to DOS/Windows. It was very much in Microsoft's interests for Windows to win, and it did so for a plethora of reasons.

One key reason was that it offered, at fairly low price, a method for multi-tasking DOS applications. This facility really took flight circa Windows 2.0/386, which leveraged the 8086 virtualisation technology found in the new 80386 CPUs. As a user, you could launch several DOS apps at once, all in different window contexts, all running simultaneously. Performance wasn't exactly spritely, particularly with any application which repainted the DOS screen intensively, but for most users and for most applications, it was good enough. At a time when your average desktop PC cost $4,000, buying a $90 copy of Windows, which allowed you to multitask your DOS apps while providing an environment for tapping into an increasing number of GUI applications (such as Corel Draw and PageMaker), was a no-brainer.

This new group of users, providing a growing target audience for software developers to aim their wares at, precipitated the enormous hegemony that Microsoft enjoys today on the desktop. The transition from DOS to Windows was not exactly smooth, as anyone who can attest to years of fiddling with HIMEM.SYS settings to get DOS games working under Windows will tell you. However, it wasn't a burdensome discontinuity either; DOS line-of-business applications (built in Clipper, dBase, Turbo Pascal etc.) would, for the most part, safely run under Windows via emulation.

I would go as far as saying that without this capability, this magical attribute of being able to run most of a user's existing applications, Windows would not have become the dominant platform that it became. This attribute alone was not enough to cement Window's market position however. Other GUI environments (Deskview/X, OS/2 version 2.1) actually had even better DOS emulation. But without this, Windows would not have been able to provide enough of a safe and comfortable bridge to transport those hundred million users across the chasm from DOS.

Which brings us to today. Linux desktops have reached a point of maturity, polish and sophistication which rivals that found in Windows 2000. Yes, it's not as integrated as XP nor as glittering as Mac OS X. But it's Good Enough™. What Linux cannot offer to most potential users, that critical attribute which presently holds Linux back from much broader adoption on the desktop, is that magical ingredient which Windows offered to DOS users; being able to all your important applications within the new environment.

Current versions of the technology within Linux which provide this 'magic', Wine, allow several hundred major Windows applications to run efficiently and reliably. This includes recent version of Microsoft Office, Project, Outlook, IE, Quickbooks, Photoshop and Lotus Notes client. Wine is still a work-in-progress and a pain to configure. It therefore pays to purchase a nicely-packaged form of this open source technology from one of two vendors: for business apps, CrossOver Office from Codeweavers, and for gamers, WineX from Transgaming, Cost is maybe $50, but it will make installing and managing all those Windows apps under Linux a snap. And you don't need to buy Windows licence, which saves you money,

How to make the vineyard bloom? There are four major industry players (IBM, Sun, Red Hat and Novell) who have a vested interest in desktop Linux's success, and therefore much to gain by cultivating the open source developer community which produces Wine. At the moment Wine is growing organically; slow and steady. With some well directed nutrient booster, say in the form of $10 million apiece, Wine will be running 99% of all those thousands of Windows apps within a year. The prize? a billion PCs which are using now Windows but have no hope of doing newer versions of Windows in a few years.

Now, that's gotta be a market worth tilling a hoe at.


Comments on this post

blackholesun

Nice history lesson!

I am not convinced by Wine, I have always had problems with it. What is needed in my opinion is either one of the big four mentioned above buying codeweavers and pushing development (like Novell did with SuSE Linux).

Is not virtual machines the way to go for Windows apps in Linux. Maybe I am missing the point sat here in my Centrino Duo with 3GB of RAM world. I use VirtualBox daily for my Windows needs at work, if a truly seamless version was available where apps ran inside Linux like Wine, this would be perfect. Make the use of that Windows XP License sticker on the side of the PC!

Posted by blackholesun on May 18, 2009 8:22 PM

conz

blackholesun said "Is not virtual machines the way to go for Windows apps in Linux."

The problem with the virtual machines approach is that you still need to own a legal copy of Windows, assuming you want to run Windows apps. This puts Linux users in the same strategic bind of having to kowtow to the vagaries of Microsoft's licencing. What happens if Microsoft, at some future date, specifies that you cannot legally run a Windows guest VM atop a Linux host?

The advantage that Wine brings, and it's getting better at doing this all the time, is that you don't need to own a copy of Windows to run Windows apps - you've broken free of Microsoft's licencing orbit.

Posted by conz on May 18, 2009 10:15 PM

anonymous

Don't forget that programs running in wine run very much faster than any VM could possibly manage, and sometimes actually run faster than they do in Windows itself!

Now if only they could get serial port connections working properly. I have a couple of programs that require it and are the only reason I need Windows at all. Sadly I think it has a low priority :(

Updated by anonymous on May 19, 2009 9:31 AM

codeslinger

Great article! you certainly know your history! I had forgotten about GEM. I was there for a lot of that history including being present at the unveiling of the Lisa. And yes it was too expensive, which is a pricing policy that Apple continues to be plagued by to this day.

You are right on target about all of those computers that are out there. But people won't necessarily change their existing OS, they will just continue to use what is already installed. Businesses in particular feel that XP is good enough. It's when people buy a new computer that Linux has a chance to get a foothold.

I have talked with the manager of a large company recently and it was amazing how blind he was to Linux and OpenOffice. It's a question of perception. People have been conditioned by massive amounts of advertising to think only about MS products. But such conditioning is fragile, remember Coke a Cola? They went from a dominate position to just another soft drink.

Early on Linux gained a reputation of being a "geek toy", too hard for most people to be able to use. This is no longer true, but bad first impressions are hard to overcome. And it does not help matters that MS is allowed to get away with some blatant baldfaced lies in their advertising. Consider for instance that newegg is currently featuring an MS ad claiming that "Vista is back by popular demand", now that's false advertising pure and simple. Or how about all the bogus MS claims about TCO?

But a big part of the problem in the war on perception is that MS has a huge amount of money to spend on running such ads. Whereas Linux and Open Source have little to none, and that puts them at a major disadvantage in the market place.

What is needed is some serious focused evangelism, similar to what the Mozilla Foundation did for Firefox.

As I see it the main path to getting people to switch to Linux is promote the adoption of OpenOffice and other Linux friendly apps onto their existing Windows PCs. Then after people see how much better OpenOffice is compared to the MS Office 2007 abomination, it will be a lot easier to convince them to consider the viability of switching to Linux.

Personally I am a big fan of Ubuntu, it's what I use these days; but there are also a lot of other distro's out there, and that dispersion is also part of what is hurting Linux; too many choices and not enough differentiation between them. Red Hat was the perception and technology leader for a long time, but they seem to have lost their way; having tried many of the distro's that are out there, I think that Ubuntu's vision is better.

One of the reasons I am on the Ubuntu bandwagon is precisely because they have gained a significant amount of mindshare, it's a very recognizable brand and that helps when you are trying to get people to try it. I believe that Ubuntu has achieved or is close to achieving a critical mass of adoption. At least within the Linux community. Part of the reason for their success is the ecology they have built around it.



Updated by codeslinger on May 19, 2009 9:31 AM

conz

Howdy codeslinger. Thanks for you detailed feedback and input! ;-)

You mentioned " have talked with the manager of a large company recently and it was amazing how blind he was to Linux and OpenOffice. It's a question of perception. People have been conditioned by massive amounts of advertising to think only about MS products. But such conditioning is fragile, remember Coke a Cola? They went from a dominate position to just another soft drink."

I agree, and covered some of this in a recent blog post on the topic.

You also say "As I see it the main path to getting people to switch to Linux is promote the adoption of OpenOffice and other Linux friendly apps onto their existing Windows PCs. Then after people see how much better OpenOffice is compared to the MS Office 2007 abomination, it will be a lot easier to convince them to consider the viability of switching to Linux."

I concur.

I wrote up something about this process some years back:
Migration to Linux and Open Source – A Management Overview

Updated by conz on May 19, 2009 4:20 PM

bobdowne

CrossOver Games is probably a better bet than Transgaming's products.

That and Transgaming don't really contribute much back to WINE (afaik), whereas Codeweavers does (e.g. the guy most in charge of WINE works for Codeweavers, as do various others).

Updated by bobdowne on May 20, 2009 2:28 PM

conz

@bobdowne:

I agree; Codeweavers is a better FOSS citizen, and I'd recommend them over Transgaming nowadays. However, when I originally penned this piece, which, due to the references to Windows 2000, you've probably guessed was a while back, only Transgaming offered a Wine stack for Linux oriented towards Windows games ;-)

Posted by conz on May 20, 2009 10:59 PM

conz

This member is ranked #71 in our top 100

  • conz
  • Executive Management, Melbourne, Australia
  • Member since: January 2009

Site Activity Rating 3

Contacts' Latest Discussions

Number of Tracked Discussions: 1,595

roger andre roger andre

Microsoft begins work on Windows 8

Thursday 3 December 2009, 1:02 AM

2 comments
ator1940 ator1940

ACTA

Wednesday 2 December 2009, 12:07 PM

7 comments
ator1940 ator1940

Real security

Tuesday 1 December 2009, 4:21 PM

2 comments

Contacts' Latest Blogs

Number of Contacts Blogs: 3

Avatar azonei

new term, all change

Tuesday 8 September 2009, 9:57 AM

1 comment
Avatar ator1940

Open Virtual Desktop

Friday 21 November 2008, 4:19 AM

2 comments

Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters