Joel On Microsoft's API Mistakes
AceMarkE writes "Joel Spolsky of Joel on Software has posted an article entitled "How Microsoft Lost the API War". He covers why the Win32 API is important to Microsoft, what they've done to keep it working, why Microsoft's switch to the .Net platform is both a good and bad idea, and why he feels the browser will be the real future of application development. Definitely worth a read no matter what your opinion of Microsoft is."
I have a little different opinion to the article. The reason for the death of the API is probably GNU/Linux. A closed set of poorly documented APIS .NET is the halfway house..
doesn't compare to much to "We'll give you the source code" -
It's open and documented such that developers feel comfortable using it and feel like they're getting a powerful suite. It's closed enough such that Microsoft can maintain an effective monopoly on the framework
because projects like Mono will always be playing catch-up to some extent.
One thing that Microsoft hope doesn't happen is Mono becoming the defacto standard and not the MS framework.
That patent warchest of theirs is probably set aside for that particularly eventuality.
Simon.
My prophecy is that HTML and HTTP will be completely deprecated within the next 4 years, and will be replaced by an open standard, probably backed heavily by Microsoft, allowing more power and flexibility to developers. Something like that may being me back to web-development...
Disconnect and self-destruct, one bullet at a time.
It is amazing how .NET and C# are finally starting to migrate over into commercial use. There were ideas in the early 90s by those of us who were smalltalk developers that we wanted to see back then. It isnt until now that C# is finally integrating some of those features for development use.
:(
Damn, I miss Smalltalk
GroupShares.com
-------
artlu.net
I have 2 comments:
.NET doesn't go there; the GUI interface is very much tied to Windows.
1. Web clients vs. rich user interfaces
I have long wondered why web interfaces aren't much good. The technologies are there; Java applets, Flash, Python could do it, JavaScript could with a few extensions, XUL, heck, even C, compiled on the fly. All these stop just short of integrating well with the web and the client platform. Why? Why has nobody managed (or tried) to take the last step? Even
2. API changes
Contrary to Microsoft's, UNIX and POSIX APIs have been very stable. There have been extensions, but the bulk of what used to work still works. This makes the case for switching over to standard technologies, now that Microsoft is pushing you to switch anyway.
Please correct me if I got my facts wrong.
No it isn't, it's easy to be a Mac (OS X) user. No Viruses, No Trojans, a sytem that stays up pretty much indefinitely, and great, great applications that do everythinbg I need and much more besides that I probably don't really need, if I'm honest. This old argument about Mac having no apps is very old, very tired, and very tiresome. Please stop.
Honestly, I think breaking API compatibility is the only way for MS to actually fix the problems with Windows. A lot of the problem seems to be the large amount of old code and cruft that has been left in the name of backwards compatibility.
It's certainly a big risk to the Microsoft monopoly, but it's a necessary step for them. Now would be a good time for Linux to make a big move for the desktop.
So is Joel.
The browser is a terrible interface.
Anything that cannot store state is a security risk waiting to happen.
MS may have a long way to fall, but they will become increasingly irrelevant like IBM has.
As far as I am concerned, they don't need to go out of business to have fallen. They just need to lose most of the influence and power they have gained through their illegal and unethical business practices.
Liberals call everyone Nazis yet they are the closest thing to it.
3 stories about Microsoft or someone related to MS?
Come on editors, there has to be better material!
Title says it all.
Since Linux is easier to download than Windows, and dev tools are more accessible to kids in Linux than in Windows, my guess is that in coming decades, free and open are going to be the norm, just because it's what people will grow up with (as far as development).
I have a project sitting on my plate right now, an upgrade to an old Access database that needs to read a flat file stored in a zip. The original version uses pkunzip 2.0 (!) and is being upgraded for XP. But since they haven't documented Zipfldr.dll yet, I'm limited by department rules to using Winzip9 and the Command Line add-on instead...which requires additional licensing.
SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
Yes, there is a lot of investment in old Win32 code.
.NET 1.0 vs 1.1 and Avalon/XAML vs Win32) are mute, considerring that they *don't break backward compatability*.
.Net, and *that* is not something that MS could afford doing.
Yes, there isn't such a big incentive *right now* to write code for Avalon / XAML.
Yes, MSDN Magazine has the *wrong* attidue (notice the ratio of artciles about yet-unavailable technologies to availiable technologies in it recently?)
As a matter of fact, personally, I didn't bother with them because I've more pressing concerns at the moments.
But, the thing is:
By all accounts - Longhorn *will* keep the reknown MS' backward compatability.
A> There hbeen nothing on the contrary.
B> MS has a *really* good track record.
The so-called breaking changes (he mentions
The change in VB.NET is indeed a breaking change.
But, it's not the first time that VB update break existing code (as a matter of fact, I think that is normal for VB, although the changes are usually minimal)
VB.Net is a new language, VB6 has reached its end, you might want to compare it to the transition from C to C++, you've to break compatability (for the furious: byte *buffer = malloc(1024); isn't legal c++)
And if you're going to break compatability, why not do it in a way that is still largely the same, but gives you *so much more* freedom & flexibility.
The other choice would've been to exclude VB from
So, in short, Joel is talking about moving away from old technology (Win32) that he descibe as hard to use and error-prone to a better, OO, managed way of doing things.
While at the same time *retaining* backward compatability.
I don't get it.
Sure, a lot fo code is now not the newest & brightest, but you can say the same about COBOL.
About MS losing the desktop to Web app, that is bull.
Personally, I can't *stand* using webmail, the latency there is killing me.
Any sort of web app is usually a mess to write & maintain correctly - especially cross-platform(for example, Firefox 0.9 can't show *Slashdot* properly - I get all sorts of hovering errors when tables over-write one another. Strangely, IE show it perfectly well. And I usually use Firefox, for the reasons Joel mentioned).
Yes, MS made a big mistake with not updating IE, but I can see their point.
If they are going to sell Longhorn, it needs to be more than snappy UI & pretty pictures (especially for the business client).
It has to have *killer app* - IE 7 & WMP 10 are probably on top of the list at MS.
I'm certain that we will so much improved applications that require Longhorn (DirectX for Longhorn isn't that much of a long call - by the time that it would be out, 2000 would be an old system, and MS can justify not supporting it on Win2K. Games are the #1 killer app, after all.)
--
Two witches watched two watches.
Which witch watched which watch?
Joel confuses binary compatibility with API compatibility.
Microsoft continues to support backward binary compatibility. My DOS applications still run on WinXP.
Also, Microsoft has always changed its APIs over time to keep up with the state of the art. This is why we have ATL, MFC, and tons of other libraries for the same underlying problems.
Conclusion: This is nothing new.
----
Notes on Stuff
Wow - I never knew before reading this article that Microsoft's Visual C++ Compiler is now free. (Free as in 'beer' of course.)
I dont follow this guy's articles/rants much, but he is basically regurgitating everything everyone has been talking about and cramming down everyone else's throats for a long time.
.NET and didnt provide a straight forward migration to .NET from VB6.0 and other crap that they built. They expected that since all their developers loved them to death, it would have been easy to just port them from the antiquated VB6.0/5.0 to VB.NET. The industry/developers didnt move fast enough for them, which is where Microsoft suffered.
(1) Microsoft Loves developers who code on MS technologies - Sure, thats why they reel them in with swags. They lost a ton to Java, and they alienated another bunch when they moved to
(2)Compatibility - This was bound to happen, one day. With the rest of the world/industry/developers willing to sacrifice backward compatibility for the sake for something new/better, MS also realized that in order for them to move forward and keep pace, they have to do the same. Sure, they will have to piss some people off, but heck, they assumed the advantages would far outweigh the negatives. Wrong! But I am glad that Microsoft decided to shake free from the outdated Windows API model and embrace the new, and thereby have the balls to sacrifice some backward compatibility. You cant keep everyone happy for the rest of their lives. Some tradeoffs need to happen. You cant survive otherwise.
So what is this guy talking about other than whats already blatantly obvious to the rest of the world?
Rapid Nirvana
Greatest editorial I think I have read in about 5 years.
http://jayceecorder.blogspot.com
He says...
Microsoft's crown strategic jewel, the Windows API, is lost. The cornerstone of Microsoft's monopoly power and incredibly profitable Windows and Office franchises
Not exactly. How about the fact that that every computer maker makes Bill'$ O$ the standard.
If the GOV would do their job and stop this COLLUSION and force people to buy Bill'$ O$ at Compusa for $100 bucks then there would be REAL tangible change for the better.
The Microsoft API's are well documented (*very* well documented), and the tools that Microsoft and others provide to use them are first rate. Contrast that with Linux, which still has no developer tools of that quality. Even though they are often icky and clunky, they are no worse (and often better) than what Linux and X and GNOME provide. The documentation for them is sure a thousand times better, and the developer community is larger and more experienced.
I think that Joel has a good theory as to the reason: Microsoft has a critical mass of people whereby the internal voices overwhelm the external voices and they have decided to clean things up, and modernize and improve them. That means breaking old stuff, in order to remove the icky and clunky bits.
In the long run (Joel theorizes), that kills Microsoft's huge advantage over Linux, Apple, and everyone else: backwards compatibility. If Microsoft wants to retain their advantage, they have to push their advantage: write once, run on any Windows system that comes out in the future, and many that came out in the past.
They reported this to the Windows developers, who disassembled SimCity, stepped through it in a debugger, found the bug, and added special code that checked if SimCity was running, and if it did, ran the memory allocator in a special mode in which you could still use memory after freeing it.
The Windows team added special case code to run allow SimCity to run! That's an incredible effort.
I used to preach the "web is everything" argument from every soap box I could. I don't think HTTP and HTML will cut it for the types of interactive programs we will see in the future. Heck, in many cases they don't cut it now.
.NET for about 2.5 years now I can go into my office and find any number of contradictory statements about the .NET APIs, statements published my MS! I think this is hurting them quite a bit.
I can see technologies like SOAP enabling rich clients to interop across platforms (ok MS haters, SOAP is a mult-vendor thing so don't reply telling me some tinfoil hat story on how MS will patent SOAP and sue anyone who uses it without license). I am willing to bet some other protocols similar to SOAP, or perhaps riding on top of SOAP, will come along to allow richer communication across networks. HTML just isn't going to do it.
While I totally agree that open standards and open source make the best APIs, MS failed way before even that line. Take SMB for example. Their systems, by design or mistake, don't even follow their own standard! I am betting it is a little of both. Their APIs are this way as well. What is really hurts MS in this particular area is poor documentation and poor implimentation of their own APIs. Having worked with
Great ideas often receive violent opposition from mediocre minds. - Albert Einstein
And people say the evil giant doesn't try to fix it's software. They fixed SimCity DAMN IT!
http://jayceecorder.blogspot.com
Situada en el Real del Windows 2000/XP Arrabal en el barrio judio, Joel daba paso al recinto islámico de la epoca.
Aunque no se puede datar su fecha de origen, se tienen noticias de la misma a partir del siglo, API se reconstruye sobre el siglo y esta influenciada por el estilo mudejar, Microsoft aspecto que destaca notablemente en la actual y bien conservada en Windows XP.
Just like it was the future of app development 10 years ago, right?
Source code is not the same as quality documentation. The MSDN CDs and site provide great documentation for developers. It's much easier than sifting through the virtually non-existent API documentation when trying to develop apps for GTK or QT.
Joel is an ex-microsoft programmer who left and then founded his own software company. Which is profitable. Thats more than 99.99% of people here on /. have ever done.
He also writes a blog which occasioanly makes good points because he still maintains contacts from all those years working at MS.
Quote from the article ...
I first heard about this from one of the developers of the hit game SimCity, who told me that there was a critical bug in his application: it used memory right after freeing it, a major no-no that happened to work OK on DOS but would not work under Windows where memory that is freed is likely to be snatched up by another running application right away. The testers on the Windows team were going through various popular applications, testing them to make sure they worked OK, but SimCity kept crashing. They reported this to the Windows developers, who disassembled SimCity, stepped through it in a debugger, found the bug, and added special code that checked if SimCity was running, and if it did, ran the memory allocator in a special mode in which you could still use memory after freeing it.
Located in Real of Windows 2000/XP the Suburb in the district judio, Joel took step to the Islamic enclosure of epoca. Although its date cannot be dated from origin, have the news of the same one as of the century, API reconstructs on the century and this influenced of the sort to mudejar, Microsoft aspect that emphasizes remarkably in the present one and conserved well in Windows XP.
I'll believe it when I see it -- that is when MS's 90%+ monopoly market share declines and there are true other players.
Until then, MS can mess up all they want (or all you say they do), and still win in the market place. As long as everything runs Windows, everything else has to be compatible with a constantly moving target.
Moving the the target is also how MS keeps their deathgrip on the share percentages. It's part of their "competitive advantages" (read, "platform lockin").
I think that Joel is wrong here.
.NET as an alternative to the old API development.
.NET infrastructure (memory management, standardized interfaces, develop in the language of your choice, etc.) over the standard VB/VC++/ASP and begin to use .NET more. They will take classes, and become trained in .NET.
.NET. Why change to the new system now? Unless you need the new features, .NET should cover most needs of application and web developers.
.NET will go away so soon after it's introduction.
I believe that the long wait for Longhorn/Avalon to be released will cause more people to pick up
Developers will see the benefits of the
When Longhorn/Avalon finally gets released, the adoption I expect will be slow. We just spent all this money becoming proficient with
I just can't see how
You can lose something that is loose, so tighten the loose item so you don't lose it.
Many of the problems with web UIs he describes can be solved by using flash. I'm actually considering using it for a web based since flash + actionscript being driven off server generated XML is convincingly better than XHTML + XSLT (transformed on the server).
Photos.
I also fail to see how he feels (apparently along with others) that the API is MS's cash cow. There have been people building libraries (like the ones his beloved VB use) to abstract the OS-API layer, like QT, or Java (which built its own VM, but still abstracted the OS out in most cases). IIRC the 2.6 kernel changed a lot of things in linux, even broke some apps, but did not spell the downfall of linux (granted, they did not change the entire API and are stil POSIX compliant, I think). Why then would a new API hurt MS? If Longhorn catches on (assuming it's ever released), then people will program for it, just like they do for XP/2000.
Now that I've stopped making sense even to myself, I end this rant.
for maximum effect, the preceding post should be read monotone and at a steady cadence
And/Or some of the other interesting OSS API's ...
Your list will get bigger, though you might have to shuffle a few things around.
; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
Crow and Tom Servo?
From the article:
"... they could reinvent themselves as a shaved-ice company at the last minute. "
Already there are still people using DOS and Windows 3.X and refuse to upgrade. There will be people using 32 bit Windows for a long time as well.
Eventually the WINE development team will crack most of the undocumented Win32 API calls and make WINE better with each release. When that happens, Microsoft will have abandoned the Windows 32 bit platform for Longhorn. Then Linux + WINE will be very valuable for people with new machines who can only run Longhorn or Linux.
My only request is that WINE and other programs than run softare using the Win32 APIs, create a sandbox to prevent viruses and worms from spreading.
The bets are on as to how soon those Longhorn viruses and worms come out after Longhorn is released.
Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
And Gandhi didn't have a job at all! What a sucker that guy was!
...
Oh, wait
He says...
Microsoft's crown strategic jewel, the Windows API, is lost. The cornerstone of Microsoft's monopoly power and incredibly profitable Windows and Office franchises
Not exactly. How about the fact that that every computer maker makes Bill'$ O$ the standard.
If the GOV would do their job and stop this COLLUSION and force people to buy Bill'$ O$ at Compusa for $100 bucks then there would be REAL tangible change for the better.
Only if your a wuss.
If .net is any good and if M$ puts their marketing muscle behind it, it will flourish.
Well I have posted twice about this as I read, and now must say that I found the root of the article. It was all a damn ad!
http://jayceecorder.blogspot.com
Mod parent up, grand parent down. Seriously, how did that plain wrong information get +4?
I fully agreed with most of his article, right up until the end. He kept mentioning how breaking compatibility over and over again will cause .NET, Longhorn, Avalon, etc., to not be adopted (or if it is, not for many many years). Because of this, developers will be confused what to do. He then offers this alternative. As he said
.NET, but the major hold back is all of our Windows 98 customers. I don't want to force them to install the .NET runtime for win98, have their machine crash, and have them blame me. I just want to write an application, and know it will still work 5 or 10 years down the road, regardless of if our customers are still running the old win 98, or the new Longhorn. The author suggests the web, but Java sounds like a better alternative to me.
Which means, suddenly, Microsoft's API doesn't matter so much. Web applications don't require Windows....and so we should make html the new API.
Web applications? Sure...but how about Java?
I would assume that when Longhorn is released with all its new changes, that Sun will still find a way to make Java applications run on it. If that's the case, why make such a fuss about Web applications when you could also develop in Java, and then not worry about what changes Microsoft makes?
As a VB 6.0 developer, I'd love to jump to
There are many points in the article to me that seem a little bit from the past:
.Net 1.0 to 1.1 that break things, and looking forward Windows.forms is already depricated!
1) Mac. Perhaps a few years ago it was "hard to be a Mac user". But it's not hard at all anymore, except for games - and even then it's only troubling, because most game development has shifted to the console. For any other kind of App you can get just about any top-tier program for the Mac, with Mac versions of any remaining holdouts on the way. In fact I would absolutly say that I dislike Office on the PC but do not find Office for the Mac as annoying.
2) Web apps. Somewhat contrary to the "Everything will be lightweight web apps" message, I think we are seeing the real rise of web apps that make use of the web only as a transmission medium and have much richer interfaces. As an example I would point to iTunes which does not have an interface you can point a browser at, but is a real web app at heart. I think we'll see more programs along those lines.
Avalon seems like a neat idea but I don't know how useful it will really be to be able to create a form with a floating video in the background with a few lines of XML. To really make it work they'd have to deploy Avalon support to previous versions of IE back to Win98 really - and I'm not sure they are going to do that.
I do generally agree with Joel's assesment though, that the camp that just cares for new wizzy features and has abaondoned supporting old stuff has won out. Ironically Java has taken the "protect old code" attitude with things like Generics support, whil Microsoft has gone for a somewhat more featureful implementation that might break some older stuff. As he noted there are changes from
"There is more worth loving than we have strength to love." - Brian Jay Stanley
This is an Open Source fantasy. It simply isn't true no matter how much you love Linux (and I love Linux a lot). The API is not dead, it only seems that way to the Slashdot crowd who see thing through glasses with a unique prescription. Believe it or not, as of yet, Linux is not sweeping the world like a storm...
"It's open and documented such that developers feel comfortable using it and feel like they're getting a powerful suite."
This is only true for Open Source masochists. Building software that does not require the user to have intimate relationships with the OS to install, this is still a large issue that is more or less ignored by all the elitist "gurus" out there.
"One thing that Microsoft hope doesn't happen is Mono becoming the defacto standard and not the MS framework."
Honestly. This is not a troll. Is *anyone* actually taking this seriously? Mono is more or less a "If Microsoft can do it, OSS can do it better" type of deal. Mono is a tool in search of a problem. Write once, run anywhere is a fantasy that just does not provide any real world solutions to real world problems. The only reason so many people are using .NET is because Microsoft has made it the default environment, not because they have problems that only .NET can solve.
"Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
His critique of C++ is actually a critique of the Windows API. You can have all the advantages of memory management in C++, and even some more (managing other resources than memory by automatic variables). Modern C++ code does rarely contain "delete" statements.
I don't think so. Instead, Microsoft is trying to propagate developing of browser-based application that only run on windows.
You can copy.... AND paste! Who showed you how? Say.. you wouldn't be interseted in some herbal viagra would you? Cause I've got a deal with a nigerian bank that could make you millions while speeding up your unoptimised internet connection!
And Joel says that in his article. And he's *right.* I can't tell you how many places I've worked where there was at least *one* application, that was critical to the core business function of the company, that was a windows program. These people had no choice to migrate away from windows. They *could* put a mac *and* and wintel box on each desk, but they weren't actually going to do that, when the wintel box did everything they wanted in one computer.
Joel's point - and the reason Microsoft killed netscape, is that as more and more applications (especially business database apps - which constitute most of the lock-in special apps I was talking about earlier) more to being web-based, it becomes less and less necessary to run Windows.
Microsofts's strategy with Internet Explorer, in the end, turns out to have been brilliant (maybe more brilliant than they originally intended). . . Make IE *good enough* to work for most 'current generation' websites, push it out for free to everyone in order to marginalize the competition to the point where no further innovation can happen in web-browsers without Microsoft also adding that functionality to IE, then STOP DEVELOPING IE so that NO innovation happens AT ALL.
Then, once people get frustrated with the limitations of html (which could have been alleviated with on-going development of the standards), announce that you are release a new technology that will give 'rich client' interfaces over the network.
So the Web user interface is about 80% there, and even without new web browsers we can probably get 95% there. This is Good Enough for most people and it's certainly good enough for developers, who have voted to develop almost every significant new application as a web application.
.NET towards building a open web application, and making that application portable. You start stealing from the edges of Window developers. You start picking away at the hordes. That's how you win, you take Microsoft's strongest weapon away - the masses of developers. Where the devs go, users will follow.
Which means, suddenly, Microsoft's API doesn't matter so much. Web applications don't require Windows.
It's not that Microsoft didn't notice this was happening. Of course they did, and when the implications became clear, they slammed on the brakes. Promising new technologies like HTAs and DHTML were stopped in their tracks. The Internet Explorer team seems to have disappeared; they have been completely missing in action for several years. There's no way Microsoft is going to allow DHTML to get any better than it already is: it's just too dangerous to their core business, the rich client. The big meme at Microsoft these days is: "Microsoft is betting the company on the rich client." You'll see that somewhere in every slide presentation about Longhorn. Joe Beda, from the Avalon team, says that "Avalon, and Longhorn in general, is Microsoft's stake in the ground, saying that we believe power on your desktop, locally sitting there doing cool stuff, is here to stay. We're investing on the desktop, we think it's a good place to be, and we hope we're going to start a wave of excitement..."
The trouble is: it's too late.
So, when Slashdot goes on and on about how great Mozilla is (and it is good, I'm not saying it isn't - I really like FireFox 0.9) and laments how Microsoft hasn't done a damn thing with IE since 2001, and how you need the Google toolbar and this and that - remember that quote.
Microsoft wants to slow DOWN the rate of advancement in the browser. If you buy that, and buy Joel's premise on that, you now should conclude something VERY VERY IMPORTANT.
Mozilla for Windows may be the SINGLE MOST IMPORTANT OSS project there is. In many ways, it is just as important as developments in Gnome and the linux kernel, disk systems, network protocols, what have you. It's advancements in being able to push rich applications is vital. It's replacement for Active Scripting needs to be secure. Every step it makes pushes another developer that may have gone to use the Windows API or
Joel mainly pits the MSDN crowd vs. the Chen crowd as a struggle over 'which API is better'. The Chen crowd seems less interested about which API is better(although they are probably very interested), and more interested in protecting coders from themselves.
.NET is automating protecting coders from themselves, which is exactly what the Chen crowd wants anyway.
Joel's comparisons of MSDN and Chen camps is also divided by auto-managed vs. coder-managed memory. With newer versions of MS products, there is much less of a need for the Chen camp, because their main focus is fixing coder errors to keep apis stable with newer versions. Something that isn't important when programmers can't accidentally bog up a chunk of memory.
I would hazard a guess that memory managed code is what is the demise of the Chen crowd because
Alas this is all theoretical to me, since I'm a java guy. I guess that places me in the MSDN camp. But this is all theoretical anyway because MS is doomed to bankruptcy by the end of next week.
So by these standards, all Gates needs to do is make a nice need skin for Windows that makes it look like OS X and he can take over the world! Oh and change the name of Outlook to Entourage.
http://jayceecorder.blogspot.com
There are less Linux desktops out there than ones running MacOS. Most non-fanboys don't think Linux is going to storm the desktop for years to come. How are open desktop APIs going to impact the deployability of apps unless they have a majority of the installed base?
I have been working on business apps for years now and I agree completely with the author. We deliver HTML based interfaces because it is so much easier to ensure the client runs on different hardware platforms. Desktop APIs come and go, but HTML is still going strong. The slickest rich client UI in the world is no good if it won't run.
is hardly the main productivity boost in people's programming environments. Sure it is a productivity boost, but not the main or even the biggest one.
The main productivity boost in Python, for example, is its dynamic typing. Its simplicity second, and automatic memory management as a third, perhaps.
Also, his claim that you don't have to debug memory leaks with Garbage Collection is a common fallacy. Garbage Collection makes it very possible to leak memory, often in more difficult ways to debug, since the developer is typically unaware of what memory is behind held by which objects as usually there is no need to put much thought into the issue.
slashdot fucking sucks fuck you all
Your manager needs lessons from mine. We're also at a government agency, but in our group: software development is a bit different from yours. This difference is despite being under the same purchasing rules.
Our manager (a lifer) upholds our departmental motto "It is far easier to get forgiveness than permission." He'd opine "Create a dependency, we'll spread it, and by the time anyone notices we need approval for some little piece; that piece will be more expensive to replace than to approve. You'll be surprised how fast that approval goes by then."
In seven years he's not been incorrect.
So, I guess the unapproved software conundrum really sums from the addends of how much backbone your manager has, how irreplaceable he is, and how close to late retirement he is? With a gutsy, irreplaceable, older and respected manager behind you; tools are easy to include. Just make certain he's really behind you.
Oh, and just as a sidenote: a demo of a cranky, nearly failed app using available tools contrasted with a sexy app linked against the proper tools can help convince your managers manager to go your way. Never let your manager walk in without proper ammunition.
So by these standards, all Gates needs to do is make a nice need skin for Windows that makes it look like OS X and he can take over the world! Oh and change the name of Outlook to Entourage.
Actually if they would have the Mac BU design the interface for pretty mcuh everything (it's not the skin, it's the way the apps behave) then I would actually not mind using Microsoft apps - even on the PC!
I don't know why you bring up taking over the world as they have already done so - no need to do anythign else there. Mission accomplished.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
Python breaks its API on every version upgrade. Rendering binary modules incompatible (although COM or XPCOM would solve that problem).
Apache 2.0 broke countless binary modules, and no - you can't just recompile it.
Until opensource developers treat API's in binary modules are sacrosanct, it means that users keep having to reinvent the wheel, or refix broken parts.
I thought I knew where Joel was going with the article, but was surprised when he didn't get there. I expected him to explain MS's loss of the Win32 API as the high-level .NET APIs (and VM) making the low-level Win32 API irrelevant.
And once everyone was developing against the new, high-level APIs of .NET, and MS no longer "needed" to support Win32 apps, that would open the door for others on other platforms to develop .NET compatible VMs for those, NON-MS systems.
And it's at that point that MS has totally lost control. Their former OS lock will have become irrelevant, and even the apps created by die-hard MS loyalists, for deployment only on MS, would suddenly be able to run on anything. (more or less not unlike Java)
I'm disinclined to agree with Joel about the future belonging to browsers. Sure, they'll still be very important and there will be many more web-based apps out there. But for rich client apps (which will surely still exist) they will not be locked to MS or any other os, as long as high-level, memory-managing VMs have become the norm.
You have to love the OSS circlejerk that these threads always devolve into. Thanks for at least attempting to cut the bullshit.
``This old argument about Mac having no apps is very old, very tired, and very tiresome.''
Well, to be fair about OS X:
1. Windows apps don't run on it.
2. Classic apps don't run on it.
3. Quite a few apps developed for the GNU system don't run on it.
That is, unless you emulate/virtualize the system those apps do run on. Also, there are plenty of apps for any purpose that do work under OS X. I am just pointing out that migrating to OS X can hurt, as you will likely have to abandon some of your favorite apps.
Please correct me if I got my facts wrong.
The main new platform that doesn't run Windows is the smart phone. They are still large and expensive, and there is still a lack of standardization. But think about the potential market; everyone who carries a phone and would like to perform some basic computing tasks (email, IM, maps/directions, contacts, etc). Right now M$ has only a small fraction of that market.
There are a variety of new form factors that may take off as well. Car-based PCs, tablets, HTPCs, etc. M$ has their fingers in all of these markets, but they don't have killer apps so they are not clear winners. There are lots of non-M$ app opportunities for developers that are willing to look beyond the PC form factor.
This is why WINE is the most dangerous OSS project to Microsoft. Microsoft can always make good applications to run on Windows, and maintain an edge over the competition by dedicating lots of money and developers and selling the apps for a net loss. It's worth it to them as long as everyone runs Windows.
When the Windows API becomes a commodity implementation, the exact thing will happen to Windows which happened to commercial Unix vendors when Linux and BSD reached maturity. It no longer becomes important to run the original (possibly a little better) version, if the free version does well enough.
Linux doesn't emulate Unix in every little detail--just enough to make it easy to run applications developed for Unix. In doing so, it made the Unix APIs a defacto open standard. WINE will do the same thing for Windows, and that, more than anything else, will be Microsoft's downfall.
In ten years, Microsoft may be gone as a company; but when people run GUI applications with buttons and scrollbars, it will be using the Windows API.
The governments plan to slap Bill'y$ company on the hands was such a joke.
Take this garbage O$ off our damn computers and make people do a real choice ! Either the $100 billy o$ or something else. Anything but force it on us and make developers dependant on it.
If you can run win32 apps on linux, I would bet you will be able to run them on longhorn. seriously.
This isn't news...this is simply the latest in series of advertisements thinly disguised as "editorials." So tell us, Roblimo, how much of a kickback have you gotten from Joel for the last 5 ads of Spolsky's posted on /.?
Just as they tried to do with Java, Javascript, and to some degree HTML, Microsoft will do the same with the Internet at large. With the installed base they have, they rule. Write your Web applications to conform to standards; but if they don't conform to Internet Explorer's quirks, you're in trouble. The average user will think something is wrong with you.
Look at some of the Web sites or Web applications out there that are developed with Microsoft's tools. What I mean is, look at them with a browser other than IE, or a platform other than Windows. I think we've all seen where the substandard, Microsoft-Kool-Aid-drinking developer has thoughtlessly developed with Microsoft's tools, leaving the application broken for non-Windows/non-IE platforms. Hell, I'm sure such developers don't even test them on anything else but Windows-IE. In there minds, Windows and Internet Explorer is "everybody."
Microsoft absolutely counts on this behavior and how it makes anything but the Windows-IE combination look bad. They'll be sure to give the world more of the same with any "solutions" they concoct in the the future.
Microsoft's next generation of development tools and languages may run on the 'Net, and profess to work with any browser or platform; the practical truth of the matter will be different, however. The will again corral a herd of substandard developers within their API's and development tools, and send them stampeding over the World Wide Web to trample all other platforms and browswers.
quiquid id est, timeo puellas et oscula dantes.
The other interesting implication of this is that it protects Wine. MS can't simply break the Win32 API, so Wine has a fixed target.
--------
mobile porn
A bunch of replies to this thread have mentioned Flash as a potential solution. "Real" developers don't like Flash though, because the IDE sucks. (I use it every day, it does.) Macromedia has an answer for that too, and it's Flex, which doesn't require any specific IDE. (However, they're working on one, and it looks pretty hot so far.)
I hear that guy has a sweet ass. It'd be nice to be "Me on Joel," that sexy phaggot...
> This old argument about Mac having no apps is very old, very tired,
> and very tiresome.
The guy is talking about the enterprise space, not some git sitting in his underroos surfing the web and using AIM.
And yes there are a buttload of line of business apps that don't run on Mac. If your business has a dependency on just one or two you probably can't migrate off of Windows unless you can find a way to bring them along. Windows emulators running on a Mac aren't anymore practical than VMWare on Linux. They can save you if you have one or two that you don't use often but still need but probably won't cut it for an app a large percentage of the userbase uses regularly.
Small ones like Timeclocks, contact managers, accounting, inventory control. Big ones like all encompasing industry specific apps that employees spend most of their day in. Things like teachers spending a bug chunk of their day in one of a couple of apps specific for schools, each district buys into one of them and everyone must run it. If it doesn't run on Mac then that district doesn't tend to have ANY macs. Same for most other professions. Nowadays cops don't use Word to write their reports, they have all encompasing apps specially designed for law enforcment and they run on Windows.
Democrat delenda est
The win32 api, especially from a modern standpoint is just a bizarre creation. Certainly a lot more complex then the stdio, and other Unix libraries. It's grown in strange ways, by using the 'reserved' bits for new things, cramming weird structures in other structures.
but I've always been able to find documentation on every part of it. Microsoft documentation is very good, and has always been.
I'm sure there are a lot of bizzare hacks and special modes that are not documented, but if you base your code off the documented APIs, you'll be fine.
autopr0n is like, down and stuff.
FFS if you are going to try and use HTML to make quotes stand out, can you learn to close your tags.
What were you trying to do in QT that you were not able to do on NT?
autopr0n is like, down and stuff.
This sounds like it could throw off any hopes of Linux getting more market share. I know the author is framing it as a bad thing for Microsoft...but at least part of the reason people think about moving to Linux is that Windows is so rickety. I've always suspected that this is because of the need to be compatible back to DOS 1.0, and I think this pretty well proves it:
[SimCity] used memory right after freeing it, a major no-no that happened to work OK on DOS but would not work under Windows where memory that is freed is likely to be snatched up by another running application right away. The testers on the Windows team were going through various popular applications, testing them to make sure they worked OK, but SimCity kept crashing. They reported this to the Windows developers, who disassembled SimCity, stepped through it in a debugger, found the bug, and added special code that checked if SimCity was running, and if it did, ran the memory allocator in a special mode in which you could still use memory after freeing it. (emphasis added)
Now, I'm sure there were fairly talented people working on this....but if, as the author goes on to state, this was not an unusual practice at Microsoft, I'm frankly amazed they even got Windows to stay up for a few minutes at a time. It certainly explains the bizarre and inexplicable behavior and crashes Windows is known for.
Of course, fixing Windows wouldn't help Microsoft's reputation for hardball tactics or for overpriced licenses, but it does make it that much harder to suggest that people try an alternative.
Daniel
Hurry up and jump on the individualist bandwagon!
Here's the two word problem: stateless protocol. HTTP was not meant to do what we are trying to do with it.
Comparing it to Windows will be a moot point, since El Dorado is going to have a 40% larger code base than XP.
Not once does Spolsky mention code access security. From what I have observed, Microsoft's efforts seem to be directed towards downloaded modules that run on the CLR. Rich client / web deployment. Of course the obvious problem is security. ActiveX fails in this regard since it is all or nothing; the CAS model offers much more resolution. Good for the developer and the user in theory.
The trick is to make it easy for a typical user to understand how to configure their machine to do what it should do, and nothing else.
Interesting how so many people make claims about Microsoft, yet don't seem to be very familiar with some of their key technologies. It would have been a much more interesting article if Spolsky had addressed CAS as well.
Imagine how much harder physics would be if electrons had feelings! -Feynman, maybe
Seriously..
I just wrote a LAMP application.. It worked but the interface wasn't pretty.
Part of the problem is that everyone has a browser to run application and the only consistancy across ie and netsc..Mozilla is html. Java was almost there but MS killed it in the browser.
Everyone has a webrowser.
I always thought a standard application runner program with plug-in (components) would do well. Eclipse plug in arcitectue should show the way. Jedit as well..
I don't know much about Carbon, but Win32 and MacOS classic are both very old apis. You really ought to try something new like wxWindows, QT, or whatever. The Java API, which I'm very familiar with is light-years ahead of Win32 for doing 'computer' tasks like networking, file access, or cryptography. but Swing has it's own quirks, especially when you're trying to make your layouts 'pretty', but it's still much easier to use then Win32
autopr0n is like, down and stuff.
I seem to recall their final solution (hmm, interesting choice of words) was much more subtle. ... if you use non-Ford petrol in my nice Ford, I'll sometimes lock up the engine .. but illegal? Probably not unless you are a monopoly - and they weren't at that time, just aiming to be. And their aim was pretty accurate.
Windows checked to see it was running on DR-DOS and then SOMETIMES made stuff go wrong. (Memory allocation maybe?).
So people like me (I was a PC retailer at the time) ended up saying "Don't use DR-DOS. It's cheaper and mostly works really well, but doesn't seem to work quite right with Windows". This was true, but for the wrong reasons!
The question is - was this legal? It was certainly immoral
"Cats like plain crisps"
What's with the backslash in GNU\Linux? You look suspicious to me, Microsoft boy.
The browser will not be the future of application development as long as spyware/adware exists! Yes, even Mozilla is susceptible to this(the ad/spyware that affects Window's TCP/IP stack or however to re-route connections). That is why it won't work for awhile. That is why we're moving an entire PHP site to Visual C#(with PHP backend on the server, for now).
Just my 2c, but I am sick and tired of hearing "The app is broken" and telling them to run ad-aware and hearing "Ok, it's fixed now. Try not to let it happen again." argh!
Yes, ".pif" files actually have a purpose other than as a means of transmitting viruses.
While on general lines I agree with the article, he clearly misunderstands WinFS -- the effect might still be the same, as either MS itself is misunderstanding WinFS, or at least selling it badly.
WinFS, or files on a SQL -- not relational -- database is not about organising for search, but about not having to organise, yet being able to.
With current hierarchical filesystems, we are forced to organise files hierarchically, and that's very often cumbersome. So search functions have to dig into each document and kinda Google it, building a full-text index, and that takes lots of resources and is difficult to do. Not even Apple does it good enough, at least it didn't in my then-Mac OS 9 366MHz iBook.
With an SQL database as the filesystem, even if SQL is so inferior to the relational potential, we get rid of the necessity but not of the possibility of hierarchies: we can still put some or all of our files in hierarchies, but now the specific nodes in the hierarchies where the file is are just some more attributes, so any file can be at several places at several hierarchies, or at none at all. Searching too becomes more efficient, but the real benefit is alternatives to organisation, and therefore the possibility of richer queries and easier remembering.
Leandro Guimarães Faria Corcete DUTRA
DA, DBA, SysAdmin, Data Modeller
GNU Project, Debian GNU/Lin
Microsoft would reduce prices because there would be legit alternatives to the pricey os.
Markets do work when theres real competition.
Software makers would then make software for the competition.
Tha would be a really good innovation not coming from MS :)
The second break was Windows 95. Yeah, yeah, about how much 16-bit API made into into Windows 95, and yeah, yeah, Windows 3 programs ran under Windows 95. But it was a big break for users (the shutting the computer down by selecting Start, the cascading Start button menus -- a lot of users, i.e. my dad, were pretty comfortable with Windows 3.1. And it was a big break for developers -- the changed WinProc, the flat memory model. As both a user and a developer I stuck with DOS and skipped Windows until Windows 95 came along.
Now Windows 95 was a big, big rollout. Yes it was late, but once it happened, Microsoft made a big push, both with developers and with users. You didn't have to port apps over to Windows 95, but there was a lot of encouragement and hints dropped from Microsoft to get everyone on board.
Microsoft MADE web applications stand still when they stopped developing IE. IE hasn't changed much since version 4. They added some new stuff to IE5 so that OWA would be better.
If Microsoft hadn't fucked the web browser up, web apps would probably be a lot better by now.
It's really too bad, because I agree that HTML and it's buddies aren't powerful enough to replace a lot of applications out there.
- It's not the Macs I hate. It's Digg users. -
Anyone else see this list? I scoffed at most of it instantly. Sure, the author apoligizes for a few of them but very poorly and with no explanation.
The author says that some of these can be solved by JavaScipt. No; all of them can be easily solved with Javascript. And if you don't like Javascript, try using ActiveX, DHTML/CSS, Java, Flash, ColdFusion, or any of the other many options out there.
It is true that these solutions take a little more work, but everyone knows that. The author admitted that much.
My question is this: If the author doesn't even say this list is accurate, why did he even put it in the article?
If he must make a point about the web versus Microsoft, make it about the fact that Microsoft refuses to update their web browser even though everyone knows that it was not even standard compliant when it was last released so very long ago. There are much better browsers that are still under constant development including Opera, Panther, and Mozilla to name some excellent examples.
Mufasa http://www.firetiger.net/
The only thing you can count on is change.
Joel's just whining because he knows he's going to have to port CityDesk and his other products to .NET soon, because customers are probably already asking about it. He's screwed by the same vendor lock-in that all other 3rd-party MS developers get blown away with. By the time his company is done with the port, MS will have thrown 3 times as many people at developing a "good enough" competing product that will ship ready for Longhorn, and Fog Creek will be just another assimilated victim.
Is it also possible that Joel's entire career and his company are centered on the last generation of MS technology, and they are about to become dinosaurs because they haven't kept up? It's very telling that he knows how expensive and rare Windows C++ programmers have become.
As for the free advertising, he's trying to convince those customers that have become trapped on the Microsoft upgrade treadmill (and are paying excessive subscription fees for the privilege) that everything is fine and dandy with the current Windows technology, and they should feel perfectly comfortable staying on 98 or NT as long as they keep buying FogCreek software and don't switch products before CityDesk is ready for Longhorn. A Longhorn Joel desperately hopes doesn't come charging through the door before his team can finish their rewrites.
Making the auto analogy is WEAK. The auto makers are actually trying to monopolize their electronic system controls but the government is telling them to stop it. Anyways ,what if there were only one type of car sold ?
Wouldn't all the parts manufacturers make parts only for that car? (little analogy there)
And i can choose what kind of tires i want on my new car. The dealer doesn't give a damn because he's not influence by fear or money like what goes on in software.
Chew on that fool.
The guy writes a bug database application and thinks he's Gods gift to application development.
Someone give the guy a hook - he gets too much notoriety being a "know it all".
There was no Market competition. Because markets are based on price and Microcrap is giving their OS practically for free when you buy an os. It's a CARTEL. The OEMs' are in on it too. Wake up man ! All the good software is made for Billy O$ because their is no real competition because they buy their way on your computer. It's ILLEGAL distortion of market. It's a bit like other countries subsidizing goods to gain entry and then raise prices later. Trick of the trade.
Some of your points are valid, but it doesn't matter WHY Microsoft is changing around API's, it's the fact that they are changing at all.
.NET stuff, when you could just code web apps, or apps based on Open Source, and *know* they will work in the future? And the other point is that companies aren't going to jump on the new platforms because they won't be released for several years and won't be mainstream for several years past that, if at all, with competition brewing.
Sure, backwards compatibility with Win32. But not full backwards compatibility, it's more like a subsystem.
The point is, why re-code all your applications for the new longhorn stuff, why re-code all your applications for all the
It's an interesting time, and I won't bet on either side of the coin. We'll just have to wait and see what happens.
ps. Mozilla and Firefox run Slashdot and 99.8% of web sites out there perfectly for me.
- It's not the Macs I hate. It's Digg users. -
I haven't worked with the Win32 API for four years, but when I did I remember having to discover by trial and error such oddments as a disagreement between the function to draw an ellipse and the function to create a region to detect clicks in an ellipse as to whether the bounding box of the ellipse (specified as x, y, width, height) included the column x+width and the row y+height or not. That kind of thing should be documented, but wasn't.
What?
No. Seriously. What the bloody hell are you talking about?
Are you saying that not using web-based applications magically makes machine compromises go away?
Unless you were distributing it directly from your application, that spyware will happily pop its ads up right in front of your shiny new "Visual C++" application.
Perhaps you should blame your admins, or your operating system vendor - but not your programming tools.
Interested in helping me patent this new-fangled technology I'm working on? I call it an "emulator." It lets you "emulate" your old operating systems with their APIs and dependent applications on new operating systems with different APIs.
I think it's really going to take off.
That solution will nail all of these problems. For those folks that want to run a bit faster there's another idea of mine called the "Compatibility Subsystem."
1. Tell everyone the Win API is dead.
2. Insert advert at bottom of article.
3. ????
4. Loss!
DR-DOS's memory manager was incompatible with Windows, and a patch appeared from DR after several months.
Attack its weak point for massive damage!
With Floating Point? Thy register runneth over...
That bit of the article really got me. How many memory allocators do they need to debug or secure? How many exploits might be found by pretending to be SimCity or other applications and getting branched off to languid backwaters of code that don't get much ttention anymore?
Xix.
"Everything is adjustable, provided you have the right tools"
From a cross-platform C/C++ programmer who is probably not as good as Joel, a couple of issues.
.net. It still calls down to the Win32 layer. Why would I not still call the Win32 API directly? Apps still work under 9x and Ntx based systems. I really don't see MS scrapping kernel32 or user32 in the near future.
1) It's not ANSI VB or ANSI Win32. If you settle on a programming environment controlled by one vendor, then they can change the language specifications at will. I wrote my System/UI specific wrapper functions over a decade ago. Why didn't Joel?
2) Joel compares C/C++ memory management to automatic vs manual transmissions. I would associate memory management in C/C++ to doctors who know once they make an incision, they have to close it back up when done. Either you know the procedure (or launguage) or you don't. The article seems to want to apologize for all the Comp Sci grads who don't have a clue when it concerns system level programming (I found one in my office this week).
3) VB is a layer on top of Win32. So is MFC. From the object dumps I've run on MSIL applications, so is
4) The Win32 API is feature rich. Give credit where it is due. The Win32 API evolved from the OS/2 API developed in the late 80's in conjuction with IBM.
5) The reason Raymond Chen had to make the effort to be backwards compatible was that some published API calls were always different than the implementation (say API bug). Remember the DOS bug/feature that allowed TSR's? Remember when DDE turned into netDDE which turned into COM? This brain-dead logic has carried MS through until modern day XP. As an API/Library developer for my companies products, I've had to tell third parties I made a bad design decision (2) and you need to re-compile with the new library/API header. All of them appreciate and understand my mistake. Why can't Microsoft do this?
Great article, just some food for thought from a old time beer drinking hippie programmer. Gotta go, playing network freecraft with my ten year old.
Enjoy,
It's just the normal noises in here.
Quoting AR: (for the furious: byte *buffer = malloc(1024); isn't legal c++)
not to "/sigh" but... /sigh
... in the sense that you will get a warning, I supposed it's not...
byte *buffer = static_cast<byte *>malloc(1024); is both "legal c++" and warning free.
byte *buffer = new byte[1024]; is, of course, "better", but the old format (which demanded a (byte*) before the malloc to shut the same warning up anyway) is "just as valid" as the new.
(All of the above assumes that you have "typedef unsigned char byte;" or some such as, since "byte" was never a C or C++ intrinsic...)
Most of your compatability argument is trash anyway. It is (arguably) "impossible" to maintain backwards compatability when moving from more-to-less type safety etc, but when moving from less-to-more it is a matter of dilligence in the construction of the tool set and execution environment. If some of that dilligence can be done in hardware, all the better (see the Sparc garbage collection shared object library that you could LD_PRELOAD with any C program to make it self healing) but reguardless, one could produce a C compiler and envrionment that was completely type-safe and "morphic"(tm) by catching all the unsafe language features (pointer, malloc, reference, etc) and passing them through a scrubber library and generating safe code.
More simply put, one could produce a C "compiler" that really made Java/Python/Perl/etc out of the program and then ran that.
So all this "can" and "cannot" and "must" is Specious. The only thing you cannot ever do is give Java true multiple inheritance... 8-) [I jest, of course, more or less.]
The fundamental problem is that things that "just grow into place" but are never "designed" tend to age poorly. They have to be replaced eventually and Microsoft, by edict, "does not re-write code." You see, *IF* they had the stones (and mayhaps they do, in Longhorn), they would write a "real" Windows API that didn't carry all the baggage around, and then they would replace WIN32 with another, identical WIN32 that called into the new API instead of the old. See, the current WIN32 API looks back in all ways, and is often required to have several different implementations of essentially the same functionality in order to get around the lack-of-design mistakes of the past. If they were to take everything they ave learned and make a good (and open) API that ecnompassed all the "functional domains" that have come before, then the old libraries could be re-cast as sub-set adapters insted of super-set side-cars. (e.g. if the small data goes through new big holes, instead of trying to pass big data through old small holes in an "apparently conformant" way, you gain the liberty to make things work.)
It's all in the "founding assumptions." DOS was assumed to be for tiny systems with no growth potential, and we are still hauling that assumption around. *nix was assumed to be for "big systems" and was cut back variously to make the various smaller variants (invariably 8-). Even so *nix still had some growing to do (look up the saga of time_t sometime.)
So if Microsoft would stop looking back from it's core, and instead were to look far forward from its core and only have a small adjunct group looking back to do some "compatability layers" then much could be made right with the world. (This is, BTW, why WINE can fit essentially all of Windows into a Linux process.)
Presuming that the "display surface" offered by the web is "interesting" has always been (IMHO) a symptom of all-flash-no-sizzle. So I agree that "the web" isn't some great healer or panacia. HTTP a transaction-based "fetch" environment, so anything that doesn't look transaction based won't be part of "the web" but will need to be something totally else "attached to" the web via something (hopefully) more sophisticated than "a browser." (Which is where Java, and Flash and god knows what all else came from; the de
Innocent people shouldn't be forced to pay for inferior software development.
--"Code Complete" Microsoft Press
compile debug code into any and every library...? Good one - you had me going there for a moment!
While in theory that may sound like a good thing, if you ever find yourself delving into the depths of the OS libraries you either either have too much free time on your hands, or you're about to create a support nightmare for someone else in the organization. Either way, not a good thing.
Jan
Mozilla is susceptible to this(the ad/spyware that affects Window's TCP/IP stack or however to re-route connections).
What? My head asplode!
Can you explain this further? I've heard of apps affecting tcp/ip but this has nothing to do with mozilla unless you know something I don't.
That article is probably responsible for keeping me developing on Windows. I didn't know about the C++ compiler, optimizing and all, being free. I didn't know about the insanely cheap MSDN Universal. Then Raymond Chen's blog is icing on the cake ...
what do you think?
Joel focuses on only one reason for M$
dominance: backwards software compatibility.
There is another, IMHO: hardware compatibility.
When I buy a new piece of h/w, it is much
more likely to work wll out-of-the-box
with Windows than, dare I say, with Linux.
There is a number of reasons for this: (a) M$
has a huge testing organization which few
companies of open src efforts can afford, yet,
(b) since M$ alreasy has a huge installed base
OEMs are more inclined to support it by default,
(c) M$ might pull it off and coax OEMs to support
a future version of Windows, even if it is radically different. The changes in the drivers
might not be that significant.
So this is all a question of how one views
Windows: is it a bag of APIs or just a collection
of device drivers?
Except that Longhorn/Avalon/WinFS is built with .Net, so all that training carries right over. .Net now and move their existing applications onto it, it only makes it all the easier to jump onto Longhorn. .Net is not going to go away, it's going to be at the core of the whole Windows platfom.
The same framework, same languages, same development tools just a load more apis for the newer Longhorn features. The base libraries are the same, concepts and idioms, event models, the works.
If people spend the time now to become proficient with
If you structure your application well such as using the MVC pattern you can swap in a new UI that uses Avalon rather than WinForms without having to alter your core business logic at all.
"Taligent is still pure vapor. Maybe they'll be the last who jumps up on Openstep... "
Someone told me I'm really dumb, because I didn't put a "yield" in my read input loop, but the "comprehensive" documentation in MSDN didn't quite cover that point.
I learnt my multithreading theory using Java 1.1 (by chance at university, but that's not the only place to learn). So far ALL of that knowledge has been perfectly applicable to any language I've written in (C, C++, even VB6, which supposedly doesn't have multithreading).
Yielding is basic thread behaviour and not related to any specific API or OS. If you don't know why you need to specfically yield, then you shouldn't be writing multithreaded applications. Just from your explanation, I can raise issues in basic design. You show a clear lack of understanding on how to accomplish the task. It's scary. It's unfortunate that switching OS "fixed" your problem, since you didn't understand what caused the problem in the first place.
MSDN is not there to teach you how to program properly. It's there so you know how to use the API's that MS supplies. No amount of documentation will allay a dearth of programming skills. In fact, the flexibility and high backwards-compatibility of the windows API is partly to blame for programmers like the parent giving windows a bad name. Bad programming practice gets propagated and continued because it's gotten away with.
/rant
click-clack, front and back. I'm not moving this car otherwise.
I'm curious. What app is there on Windows (and not on Macs) that really needs emulating? My impression was that people ran Windows emulators on Macs for the same reason they do on Linux -- for the gee-whiz, look I'm emulating another system -- not to do anything serious.
Because grig API's will win, hands-down.
It doesn't matter if your computer "can do HTML". Grid API's don't need HTML to function. Grid API's do actual work. That's what us programmers need computers to do. That there is a nifty gosh cool neat-o GUI involved is irrelevant.
Grid API's and X-Windows are the "API's" of the future. Who cares what O/S you use to run them?
And if you're developing a Windows GUI app today using Microsoft's "official" latest-and-greatest Windows programming environment, WinForms, you're going to have to start over again in two years to support Longhorn and Avalon. Which explains why WinForms is completely stillborn.
... on their own platform
.NET and some technologies that NEVER took off, I can still use DDE for my IPC needs. And even MS's own apps like IE still do.
.. in fact, one major REASON it's moving to a new set of API's is to avoid the commodity the Win32API is becoming!
So if I'm interpreting accurately, Microsoft just pulled off a successful vaporware strike
The rest of Joel's rant is just way off track. Microsoft has ALWAYS pushed a new incompatible tech, while keeping old ones around. I mean hey even after I got COM, OLE2, COM+,
People predicted MS was going to put itself out of business when it came out with NT, because well hey while you're learning a new API, you might just switch to Solaris (now on x86!) or that exciting OS/2 thing... Microsoft succeeded for two reasons: it kept trying ("third time is the charm" really applies to MS) and its competitors kept screwing up. I don't actually see that changing significantly.
MS is hardly doomed
I've finally had it: until slashdot gets article moderation, I am not coming back.
The testers on the Windows team were going through various popular applications, testing them to make sure they worked OK, but SimCity kept crashing. They reported this to the Windows developers, who disassembled SimCity, stepped through it in a debugger, found the bug, and added special code that checked if SimCity was running, and if it did, ran the memory allocator in a special mode in which you could still use memory after freeing it.
Great. All our worst fears have been confirmed. The latest version of windows is exactly the hacked-up piece of shit operating system that it acts like that we've all secretly hoped wasn't really the case....
Who in their right mind would want to develop for a platform like this? Now we know why the OS is so bloated and slow. There's probably a zillion special little mods to the OS to make select, Microsoft-approved legacy apps run properly.
That's only if every new version has to support every old version. In practice, that is rarely a necessity; as long as you provide an upgrade path, it doesn't much matter if you only support the last version or two directly.
For example, contrary to the article's claim about VB.Net vs. VB6, I think Microsoft's first spectacular compatibility failure in recent times was when they changed the file format between Office 95 and Office 98. After a bazillion users complained that they couldn't work with their old data post-upgrade, Microsoft (eventually) released the missing functionality to do the conversion.
Of course, it would have been better to incorporate that from the start, but failing that, tools to convert between successive major versions usually suffice.
If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
The Windows API lost? Is that why Windows is still "dominating" (read: monopolizing) the desktop computer world, and a huge percentage of the server world? I hate Windows, but this guy is a lunatic if he thinks the Windows API "lost" anything. Bill Gates probably laughs his billion-dollar tuckus off when he hears idiotic Pollyanna optimism like this. NEWS FLASH: The Win32 monopoly is stronger than ever. Linux is still a niche-market thing (outside the server and embedded worlds), end-users won't touch it, fear it, and probably hate it. Dumbass.
Honey, I shrunk the Cygwin
.Not is just like VB it just plain sucks.
Go to the smalltalk groups. There's a lot of things happenning in smalltalk (including jobs). The bad thing about smalltalk, has little to do with the language, and more to do with history, and marketing.
See Flex. ... a familiar, standards-based programming framework and powerful set of components for creating a rich, responsive presentation tier ... Presentation and demo, sample apps, white papers. This could be the future of interactive web-based apps.
If you had followed the MS antitrust trial you should have learned that a company can hold a monopoly with as little as 30-40% of marketshare depending on the industry and other circumstances. MS had greater than 90% share of the IBM PC OS market right from the beginning when IBM began bundling it with their personal computers. So MS was unquestionably a monopoly from that point forward at least in the market for IBM and IBM compatibles. (Yes I am ignoring Apple here but they never stood a chance against IBM) Just because a federal judge had not yet ruled that MS holds a monopoly did not mean they didn't have one. The ruling just meant that MS needed to quit wasting the courts time by denying something so obvious.
Liberals call everyone Nazis yet they are the closest thing to it.
Of course, you can make exactly the same argument against switching to .NET in the first place. When you've got VB6, VC++ and MFC, Java, Perl and CPAN, and several other established technologies in the marketplace, each with a large developer base who already know their tools well, you need a compelling advantage to justify retraining all those people and rewriting all that code to use .NET instead. Given the obvious disadvantages of doing so -- it costs time and money, it's not a proven technology, it ties you into Microsoft products, etc. -- why would anyone bother, unless they needed a particular feature only available in .NET (which almost no-one does)?
If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
Because WEB APPS AREN'T ANY BETTER.
OK, yeah, your shitty little form might be compatible for ever and ever and ever, but anything of any weight is going to break sooner or later because it will rely on Java, or something else,, and eventually that will break backwards compatibility.
Some fun examples of broken webapps - my company's internal time-tracking program won't run properly under Firefox, but runs fine under IE. It's a Java applet, and they both run the same Java VM, but Firefox never finishes loading it (at least, that's the apparent behavior - I have more important things to do, so I just use IE once a month when I need to take a vacation day).
Another fun broken webapp was my old University's online coursetools site, which for quite some time wouldn't load properly in Safari because of an ambiguity in how quotation marks were supposed to be handled.
Web apps will break sooner or later. Open source apps will break sooner or later.
---
Mod me down, you fucking twits. Go ahead. I dare you.
(I read with sigs off.)
I have experience writing for both platforms, and I prefer C++, despite VB's garbage collection. VB certainly makes it easier to do some things, but that's mainly because it offers an abstraction for all the Win32/COM red tape (dig through the MSDN to find which of the eleven or so Close...(), Delete...(), Free...() functions you need for this thing, and Release() all those COM pointers in every conceivable exit point).
C++ itself provides the means to relieve the programmer of much of this menial work, though. Microsoft doesn't take advantage of C++'s capabilities, but that's probably because C++ hadn't evolved enough when much of the Win32 code base was written.
In my recent work, which has all been C++ on Win32, I almost never have to manually delete anything. The Boost Smart Pointer Library has been tremendously useful, both for internal program logic and for taming the Win32 memory management nightmare. The reference-counting boost::shared_ptr template class and its relatives can be used to automatically free memory allocated with new when the last pointer is destroyed. What's more, you can specify a templatized deleter, so that a shared_ptr can manage COM objects, GDI objects, file handles, memory allocated in any of the dozen or so Windows APIs (GlobalAlloc(), VirtualAlloc(), HeapAlloc(), ThrashDiskAndThenCrashAlloc(), etc.)
It's possible to augment the API in such a way as to boost productivity without breaking backward compatibility. The .NET framework is a huge misstep, in my opinion, because it needlessly throws away a decade's worth of existing code. We were going to use it in a recent product, but we decided to go with MFC instead, because it couldn't link with our existing C++ code (well, it could, but huge marshalling bugs that have gone unfixed for years made it completely unusable).
Where would like me to start on your absolute weak pathetic reply ? hmm.
First of all my friend we spell 'tires' this way.
To a degree, depending on the tyres and the dealer. You probably won't find many that will sell you a car *without* tyres, however.
I am not going to waste too much time on you since you got just about everything wrong but i thought your response to the big auto companies trying to stop people from taking their cars to less expensive was pretty funny. Are you GM stockholder ?
You also get the gist of the post all wrong. I am trying to illuminute that choice is there for auto parts if you want it. We are not LOCKED into buying black model t's . We have choice. We can buy any type of tire for our cars because we aren't locked into one product. What do you think the stock price of Goodyear would be if all cars in this country had to use their 'tires'(not tyres).
I could go on and on but your a lost cause.
Yeah , the government is robbing us blind and Microsoft's a saint.
Heh! Mod parent up, plz!
How can he say that ASP.NET is great? As someone using it full-time, I can see how it's very good if you want to rapidly create data-driven sites by using MS dev tools that look pretty much how you designed them in IE. But is you want to have direct control of the HTML of your product, ASP.NET makes it very hard on you.
This sig is not the Zahir. Lucky for you.
. . . but when people run GUI applications with buttons and scrollbars [in the future], it will be using the Windows API.
Ummm...that stinks. You ever use the Windows API?
I didn't do it! Unless I was supposed to do it. . . (hmm. .
I used to be a detractor of Flash. But over time I have seen some pretty good use of flash, not just annoying gratuitis graphics - and you can build a pretty powerful (and really, well, flashy) interface from it. You can get what Microsoft wants to deliver in two years today, on just abount any browser on the planet!
"There is more worth loving than we have strength to love." - Brian Jay Stanley
I agree - Microsoft likes to break standards, and they sure made a mess of the web browser.
Because, that IS what you're saying. People apparently wrote some web pages specifically for Internet Explorer, and they don't work correctly with browsers based on standards.
That's what standards are good for, and it's what Open Source software tends to follow a LOT closer then pay-per-view Microsoft software. And I can't exactly single Microsoft out completely; plenty of closed source companies do the same, but then again most don't have a monopoly.
- It's not the Macs I hate. It's Digg users. -
The first big win was making Visual Basic.NET not backwards-compatible with VB 6.0. This was literally the first time in living memory that when you bought an upgrade to a Microsoft product, your old data (i.e. the code you had written in VB6) could not be imported perfectly and silently. It was the first time a Microsoft upgrade did not respect the work that users did using the previous version of a product.
Bullcrap! I bought heavily into MS's bull about being able to develop with Word and Excel macros in the Visual Basic scripting language. I wrote several applications for customers that had lotsa finely crafted Word and Excel macros. I bought the first round of Microsoft documents that told me how to do these things. I never bought the second round.
You know why? Because they changed everything in the shift from Office 6.0 to Office 97! All of a sudden, every API in the Visual Basic scripting language that underlaid Office changed; not just a little, but enough that a whole new shelf of documentation was needed. When I presented my clients with estimates of what was needed to rewrite the macros to make them work under the new Office they quietly asked that I restore Office to the old version. No can do! Microsoft had made that impossible!
Failing that, my clients insisted that it was my duty to make the macros work with the new version of Office no charge. This would have required rewriting them. Riiiiight! I was gonna do that! In the end, they went back to doing it by hand and I never got another job from them!
Developers! Developers! Developers! indeed! How many more times do you think I did anything with Microsoft tools?
Poor people who cannot afford to upgrade their old system.
// and TRS-80 Systems.
Non-Profit organizations who haven't had an upgrade budget since 1990. Many still run Netware 3.X and DOS 5.0 and Windows 3.1 on 386 systems.
Many schools who kept getting their budgets cut, and never have any money to upgrade their old systems. DOS/Windows systems sit next to Apple
Third world countries who get the hand-me-downs of organizations who upgraded and never found out what to do with those 286 and 386 and 486 systems, so they got shipped to third world countries via charities. Some systems jury-rigged to run on a car battery in the poorer areas.
Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
No, see, the thing is that this page works fine in several browsers, just specifically not in Firefox. God only knows why. I'm too lazy to try to get our gigantic HR/IT complex to fix it.
Web apps are no better, even when written to standards; sooner or later the standard will change and the web app will break. This is true even if its an open standard - things change, things break. This is universal truth.
---
Mod me down, you fucking twits. Go ahead. I dare you.
(I read with sigs off.)
Free Visual C++ Command Line Tools
Getting Them
Microsoft has quietly released it's command line compiler and linker tools as part of the
SDK. The Framework SDK comes with everything you need to for
the command line compiler cl.exe which, while it's intended for use with the
is the same compiler that comes with Visual C++ Standard.
Since this is the
as these are part of the Platform SDK. Lo and behold, the Platform SDK is free as well. You only need the Core SDK,
but feel free to download the other components as you desire.
Platform SDK
As a bonus, if you download the Platform SDK documentation (which I highly recommend) you will have a complete local
and up to date Win32 reference which is MUCH easier to use than MSDN online.
People keep using Windows, and computer manufactures keep selling computer installed with Windows, because most apps run exclusively on Windows.
However, if software development becomes mostly web-based, it won't matter what OS the end-user runs, as he or she be able to run most apps on anything.
Therefore, there will be no reason to run Windows.
Now feel free to resort to your plentiful supply of Ad Hominem attacks!
If someone says he and his monkey have nothing to hide, they almost certainly do.
Random MS vs Linux or whatever point:
.NET framework and would love to see it become the standard for cross platform applications. I would also love to see cross platform applications become the standard ;-)
ATI and nVidia are in what I like to call "good competition". I can choose one or the other with minimal negative side effects for either choice. Their products are complete substitutes for each other and that is good. They force each other to be innovative.
The current (and for the forseeable future) situtation with operating systems isn't so wonderful. Mac, Windows, Linux, and Unix are certainly in "bad competition". I can't switch between them that easily. If I choose the wrong one I've got major problems. Can't run this game on Linux, can't get that application for Mac, constantly fighting spyware on Windows, etc. Their products fill different, but similar needs. Maybe it is just the nature of the product, but it really sucks. Sure the normal rules of competition apply, you need to have better stuff than the compedators. Unfortunatly, operating system vendors can easily lock you into their product. Changing my video card may cause an visual artifact in 1 out of 20 games, but changing my operating system is gonna throw a wrench in everything.
Platform independant applications exist, but we aren't quite there yet. I think more effort needs to be put into this. Personally, I really like the
I think Microsoft sees that they will not be able to hold onto the operating system market forever and I believe they are making a good move (both for themselves and for the industry) by depreciating native Win32 in Longhorn. Hopefully, the bet-the-company mentality will let them force people to accept change.
http://brandonbloom.name
Joel doesn't have REAL support for his views. He makes claims like "this is the way it will happen" and so on. Let me clue you in. Way back in 1991 there was Cairo. It was to be the next NT. It was to have what was originally planned for Longhorn, now Heartburn (as if), namely an object-based file system, among other grandiose things. Never (ever) happened. Cairo "became" Windows 2000 (only because it was the thing after NT, so not by fact, only by time/position). Anyway, long story short, get back in 2008 and see how it's all wrong all over again.
To me, I think that web services or applications delivered through a web browser could play a large part in the future, they will not be the only (or the best, IMHO) choice unless there are major changes to how we approach these technologies. The author of the article talks about the major problems holding back (mainly poor GUIs in terms of design and responsiveness) and I think that this problem won't be easily solved without some new technologies that are not based on HTML. Once we get past HTML, I think better web apps will be possible.
Until then I will continue to see this dilema: what advantage does using a "web app" version of my software give me? Certainly, I can't imagine using some of my favorite sofware (Photoshop, iTunes, VS) as web apps. I think that as things work now, it would be possible to make web apps like Word, Excel, and definetly Outlook possible, but why? and what do I gain? When I type in Word, I don't want to wait 30 seconds for spell check to complete. When its late at night and I am writing a paper and it just so happens that the latest and greatest virus hits and my connection keeps bottoming out because of all the traffic, I don't want my word processing software to stop working. To me, using the common "desktop" software in a web interface would just be more of a pain. And I can't imagine what something like Photoshop would be like if developed using this type of technology. I think that software like Photoshop will always have to be developed as rich client or "desktop" software. The only other feasable solution that I see, is if one was to use some sort of Adobe portal where you log in, the latest version of their software is stored locally on your computer, and is run in some time of intrepreter much in the same way that Java or JavaScript works now.
Of course this is what I think when looking at technology as it stands now. I do think that in the future someone may create a new protocol for the internet that allows for a truely "web app" driven lifestyle, where you boot your computer, Mozilla (or whatever browser is popular by then) loads displaying something that could look like a standard desktop, execpt all of the icons really link to web apps that stream off of a server and are never actually installed locally. This could be a feasable future, but it is definetly not going to happen with HTTP and HTML, at least I hope not!
SIGFAULT
Right that a Web API would fill a need. But Joel says the Web API will only be on Longhorn clients, not available on older versions of Windows. Joel says Microsoft is betting that the new apps on that API will be so compelling that customers will have a reason to upgrade Windows, and Joel thinks Microsoft will lose that bet.
For Microsoft's strategy to succeed, it has to get developers to produce compelling apps that require the new operating system. Microsoft had trouble getting developers to develop for Windows back when DOS was king, and had to prime the market with its own Windows applications. But after Word for Windows and Excel dazzled users, other application developers had to follow and recreate their DOS products in Windows.
But Joel thinks the new API will not improve web apps so much that users and developers will need to flock to it. It'll be interesting to see what applications Microsoft comes up with to show off the new API and attract upgraders and developers to the new platform.
Slashdot _does_ compile wrong in firefox. All the time on the front page the table containing the newest news overlaps the table on the left with all the pretty links. About it compiling right in IE, I don't know.
Ok, let me get this straight:
.NET and a whole bunch of other replacement APIs
.Net is a GREAT step forward (if not for everybody else, at least for people who previously lived lives subsisting off prior Microsoft C/C++/COM/ActiveX/etc. sludge).
Technical community and pundits: OMIGOD the windows API is so crappy and kludgy and windows crashes a bazillon times a day and you shot my dog
Microsoft: no, it's actually YOUR badly written applications
TCP: OMIGOD it's still your fault
MS: That's ok we fixed it for you anwyay.
TCP: OMIGOD why did you waste all that energy on such and old and rotten API! You suck! HUZZAH! I'm throwing salt in your eyes
MS: Yeah, I know, we finally decided it was time to part with all that baggage and hired smart guys that you seemed to like and invented
TCP: OMIGOD why did you do this to me!? I thought you loved me!? I'm going to run off with my new lover "teh intarweb" where we will make complicated scientific visualization applications out of javascript and feed starving mouths with semantic web markup alone, and live in a utopian libertarian dream!
I don't buy it. I think Joel has entered the crank-o-sphere. While XUL shows some tentative promise as an application development platform, current web standards are pretty damn CRAPPY at creating rich interactive GUIs or applications of any complexity. That is why we see so much Flash cropping up.
I for one think
It's 10 PM. Do you know if you're un-American?
I have. The original documentation was written back in the days of Win 95. They updated the code for C++. And they left a mistake in there. The toolbar data structure has a 2 byte unused field in it that is NOT DOCUMENTED by Micorosoft. They have updated the information at least 3 times in the last 8 years. And it is still wrong.
Try loading a bitmap from a file on Windows CE. Look at Microsoft's documentation. Read their book on develpment. Then write and compile the program. It compiles fine. Then run it, and poof, it crashes. Turns out they did not implement the function in CE. There is 1 fscking article that can be googled out of the MS newsgroups on it.
I will soon be porting an app to Palm. And I am SO looking forward to woking with documentation that is better than Microsofts.
The only thing that saves them. Is when their documentation is wrong, their header and include files save your butt.
---------
vi +
MS had greater than 90% share of the IBM PC OS market right from the beginning when IBM began bundling it with their personal computers.
That's like saying Coke has 100% of the McDonald's beverage mark. How narrowly do you want to draw the market? At the time of the launch there was this comapny called Apple who had shipped the Apple I, Apple II, Applie IIplus & the Apple III. So there was certainly strong competition there. Not to mention CP/M, whatever the hell Commodore ran or Tandy's ran, etc...
Pfft, the "IBM PC OS" market! Back to Apple, with a definition like that you can say Apple has a pure OS monopoly on the "Apple PC OS" market. When are we going to break them up? I mean, 100% of the market! It's unholy! They're going to destroy the free market! Everyone run for lives! AHHHHHHHHHH!!!!!!!!
I still think the Linux kernel is more important. There are other browsers, they don't take that long to develop, look at KHTML.
And anyway, you actualy can push aps that look totaly native to moz using XUL. But the problem is, hardly anyone will be able to use them.
Standards are good, and the w3c is moving things forward.
autopr0n is like, down and stuff.
And personally I still haven't had time to learn .NET very deeply, and we haven't ported Fog Creek's two applications from classic ASP and Visual Basic 6.0 to .NET because there's no return on investment for us. None.
I had to stop reading at this sentence... He programs in VB! Only pathetic wanna-bes program in VB. Yuck! Get a real language. Weak as water.
First of all, why didn't you use your soundcard's buffer? Normally, you'd ask the soundcard to record, and poll the data every once in a while. If you needed a higher sampling frequency or something, well... you're not really using the hardware the way it's supposed to be used, and you can hardly blame the documentation for that. Buy some real data acquisition hardware.
And basically, the problem you described has nothing to do with the API. You probably would have had the same problems if you yielded or not. Yielding would not have prevented the low level file IO drivers from disabling interrupts for whatever reason. What yielding would have done was keep your program from locking up the computer. I'm not sure that you can give a process "real time" priority on Linux the same way you can in windows, but if you could it would also cause the machine to lock up just the same, if you're lacking a yield.
Again, this was a problem with the OS core, and possibly even the physical hardware (was this program run on the same machine), not the API, and definitely not the documentation.
autopr0n is like, down and stuff.
Someone once wrote on an academic review that I shouldn't look to programming as a future. I was in middle school. Now I'm about to graduate with a CS degree.
It sounds like this guy is a kid playing around, or at least he was when he wrote the program.
Anyway, yield is actually only needed on OSs that do not have preemptive multithreading, which NT does. Yield wouldn't have solved his base problem anyway, just that he could have seen it didn't work when he set the thread to real-time, rather then seeing his machine lock up. (When you set a thread to real time, it's like running it on an OS without preemption, sort of).
In java, the threading behavior is determined by the underlying OS. If it has preemption, your java code works, if it doesn't, it doesn't. Back in the 1.1 days, Macs didn't have preemption (didn't get it until OS X(!)), and since java might want to run there, they you needed to yield.
autopr0n is like, down and stuff.
-Mike
First, I don't really believe that the thick-client is truly dead. Yeah, there's so many advantages to running apps via a browser (the automatic client upgrade perhaps being the most important), but there will also be an inherent requirement for thick-client apps. Games being the biggest example of this. And games will always require an OS specific API to interact with (yes, there's OpenGL, but what about sound etc etc?). For this reason, I doubt highly that the existing APIs will stop being supported.
Second point - if people with COM and C++ knowledge are getting $130000 dollars, then I am well and truly in the wrong job!
They need to simplify it. I'm not learning that many different technologies just to complete a "normal sized program".
Man watching 6 MSCE's around a sun box, looks alot like the opening scene's of 2001:space odyssey...
I keep around a copy of Borland C++ 5.0 partly just because of the .HLP files documenting various APIs. When trying to learn about an unfamiliar API, a website (with waits between pages) just isn't as efficient as a fat-client-ish help browser. Windows help was good; 'man'+'less' is excellent, except that it doesn't store any sort of hierarchy. However, a tree-view can actually make it harder to grok a system; sooner or later I have to read something more-or-less from beginning to end to understand it.
do you have them?
I wouldn't have the OS assume complete responsbility for switching, (especially in the case of time-sensitive tasks), as it can be important to make switching as deterministic as possible. With better thread handlers (like there is in linux) it can be less of a pain to manage, but that doesn't mean it shouldn't be be managed at all. It all comes back to understanding what you're doing.
click-clack, front and back. I'm not moving this car otherwise.
In other words, in order to get started, you need to understand data organization, basic logic, and basic layout. Anyone who has made a web page with DHTML has these prerequisites, and that's a lot of "anyones." Hell, using even basic DHTML will have taught you DOM.
The rest of the tech is covered in the tutorial itself. All of it is using the concept of Separation of Concerns. Where do you put the structure of your documents? XML (XUL). How do handle events and call object methods? JavaScript. How do you make it look pretty? CSS. How do you set labels and do internationalization? RDF. How do you make objects that can be called in any language without making explicit language bindings? XPCOM. Etc. Want to change the look without breaking the event handlers? Edit the CSS. That's SoC. In this case, people could call it MVC (Model/View/Controller) as well.
- I don't need to go outside, my CRT tan'll do me just fine.
If one case of bad press can kill of a company, it was never very strong to begin with. For example, Lotus' Notes, despite numerous compatibility problems across various versions of Windows, managed to stay afloat and thrive. Maybe Caldera should look into their own business model than blame competitors.
Go somewhere random
"This pipe dream has been repeated over and over and over for years. Okay, so we have Gecko, Java, JavaScript, etc. etc. -- all the attempts so far at "rich clients" more or less suck, because nothing yet ever invented made programming significantly easier than before."
Might that be because computers (and computing) aren't the same as they was 20 years ago? Your complaint is among the same level as a shade tree mechanic complaining that cars have gotten more complicated.
"So, instead of relatively simple and understandable things like POSIX and even X Windows, we now have 1000 layered buzzwords from SOAP to XML to JavaScript to whatever where no programmer on earth can hope to understand them well enough to really get real work done and test it on all the relevant platforms and find that it actually works on all those platforms...because it is all still based on POSIX/X Windows/MS Windows/Mac OS in the end. Full circle--we have gotten nowhere. "Web enabled" has taken the fun out of software development."
Well aside from the fact that you're exagerating the situation. The funny thing is that all the other places American IT jobs are going to, aren't having a problem understanding all those "buzzwords". Just pampered "we want everything to be easy" Americans.
"The best websites to this day are still damn simple. E.g, Google, Slashdot on "light" mode, etc. The most annoying are those whose developers had a JavaScript orgy and passed out before the QA meeting."
The best websites are were the webmaster gave a damn. Technology is a tool, nothing more.
By contrast, Apple, in the early releases of Mac OS, showed enough foresight to tell developers how to keep their code future-proof, and developers who adhered to those protocols (which were not all that restrictive) wrote apps that still run today, under an entirely new OS on an entirely different CPU.
Excellent point. It is an example of holding your developers to a higher standard and them then matching it. Of course, you need excellent documentation so developers know how to write safe code. MSDN libraries are often vague. This leads to making assumptions about the black boxes.
Explains the limitations quite nicely.
Xix.
"Everything is adjustable, provided you have the right tools"
Ah wait. You must be one of those old-skool programmers who has never encountered preemptive multitasking / threading before. Well, I cannot blame you - it has only been around since 1995 (Windows) or 1985 (AmigaOS) or 1975 (UNIX)...
If you find yourself calling yield() all the time, _please_ visit a programming refresher course. It is the 21st century now, and Windows has actually implemented some modern programming techniques. Your "programming by numbers" you probably picked up in the sixties no longer has any relevance.
Joel Spolsky is a bigoted windbag.
Contrary to the popular belief, there indeed is no God.
I take it you don't use solaris. I do it sucks big time packages break in odd ways compiling things from source is a pain and suns version of desktops such as gnome are way way behind the curve forcing us to use blastwaves packages which have there own oddness (mime types don't work in nautilus!)
Man I wash sunray server software would work on linux and then we could have up to date less buggy desktop it would be fantastic
Yes, just read Joels Sim City anecdote for examples of hidden modes in windows.
You can't win Darth. If you mod me down, I shall become more powerful than you could possibly imagine
I love a good tautology...
Second paragraph:
Although there is some truth to the fact that Linux is a huge threat to Microsoft
A tautology is something that is tautological.
It is quite possible to make alot of this stuff work crossplatform via a browser.
A good example is lotus workplace, based on J2EE - you can access, edit, create information. When you need more advanced features you get a 'richer' java interface.
Of course this is not always enough, and then you can use their rich client for the available platforms - most users will however not need this.
Also the latency problem is not very big, since the lotus products work via replication (and thus you are working on a local copy while the server version is locked etc.).
There's a lot of stuff you can do via the web which is normally done via desktop app's. Using Java makes it crossplatform (and thus makes the OS decision irrelevant). This is not to say that desktop app's will disappear, but more to say that the author is right - a lot of stuff will work perfectly fine via the web.
Microsoft have been moving away heavily from the windows API in recent time and have been pushing .NET heavily, because essentially .NET is the replacement for the windows API but on a bigger scale. .NET is (possibly) going to be used by every single program that runs under every single version of windows. MS want it to be used for Client apps, web apps, mobile phone apps, server apps, scripts, hardware.. EVERYTHING.
.NET is the windows API, just now it's the "everything MS" API. By using .Net, you are using microsoft, and hence windows. No java for the masses(or unix for that matter)
.NET or start abusing the patent system to muscle Mono out. .NET is the weakest link in the MS lockin, as now Mono may allow windows apps to work flawlessly on Unix. But .Net is the keystone in the new MS API lockin. I hardly see how MS WON'T try to crush Mono!
Essentially
Question is what effect will mono have on all this.
I'm a pessimistic type so I'll say that if mono ever becomes a threat to the MS lock in, then MS will radically alter
This is kind of a pity, because, to be honest, I'm sick of memory leaks.
May the Maths Be with you!
My exception safety is -fno-exceptions.
interact with the server _without_ reloading the page
I wrote a very short Java Applet back in 1998 to take a request from JavaScript and put the result into a field on a FORM. It was written using Java1.1 so MSIE could understand it. It allowed JavaScript to:
1. Create URL that will return information.
2. Ask Java Applet to get information.
3. Parse information.
4. Redraw page.
(We also had a CORBA version that let JavaScript handle Domino objects. It could retrieve data and even update records on the server without refreshing the webpage.)
The good part is that we had a standard method for JavaScript to talk to the server. Just tell the Applet the URL and the name of the field to put the data, then look at the data. It was easy to write the server side programs that returned the information. (Too easy. We found ourselves returning JavaScript to call with eval() rather than returning the generically-formatted information that could be reused by other applications.)
The difficult part was forcing the browser to notice sections of the page changed. Changing a graphic was easy. Changing options for a pull-down was easy. Changing options for radio-buttons and checkboxes was difficult. Changing "static" text on the page was almost impossible.
We used it for its strengths. Choose a department from one pull-down. A second pull-down would allow choice of the employees in that department, and would be updated without a full page refresh.
The entire point of this technology was to save bandwidth and a little time. We could update the employee list without updating the entire page. A few years later, we realized that bandwidth was inexpensive and the complexity of the technology cost more than just refreshing the page all the time. We redirected the effort into writing programs that would write concise HTML to keep the bandwidth usage low.
The only reason that any of this is necessary is that MS embraced the browser and halted all progress. They deliberately skipped the "extend" phase. Today we develop for Mozilla (using very old HTML standards), test against MSIE5.5 and MSIE6.0, and then fix all the stuff MS broke.
I spend my life entertaining my brain.
If Microsoft does not keep spitting out "new technologies" (or rather new implementations of others' ideas) then how are they gonna survive in the market ? those 10,000 programmers and 20,000 testers need to be fed somehow (and I don't want to talk about the grand egos of Bill and Co).
Having worked extensively with Windows, I can safely say that WIN32 sucks...not from a quantity side (you can do everything with it), but from quality side: everything is a horrible mess and the simplest thing to do becomes a really hard task with WIN32. Therefore, I considered it natural to slowly be phased out, either driven out by market forces (that can't stand the cost of developing for bare Win32) or real innovation.
Software and hardware companies should also understand that there is an upper limit to the computer market. This limit is defined by how much needs are covered. This limit has been reached in the last few years: modern operating systems and applications cover almost every need. There is just no need for newer operating systems, for Office enhancements etc. People are at last satisfied with what they have, and there is no need to change.
I really doubt Microsoft will change anything with Avalon. No matter how impressive the new interface is, I really doubt hundrends of small, intermediate and big companies will ruch to change hardware in order to run Avalon. It's not like 10 years ago, when networking and windowing were considered new and cool technology by average Joe. Now everybody can have a decent GUI, either with Linux or an older version of Windows (Windows 2000, for example).
I'm seeing these probs with .9 as well - for some reason the "Games" section seems particularly vulnerable.
Que voy a hacerle yo
Si me gusta el whisky sin soda
Face it, NT is not a real-time OS
Neither is any desktop OS. Nonetheless, in my experience it has had far better multimedia performance than, say, Linux, which was hardly suitable at all until quite recently.
and so there is no guarantee that random drivers won't hang the system for arbitrary periods of time.
If they do, they are crap drivers, or drivers catering unsuccessfully to crap hardware. Any OS is at the mercy of this kind of crap.
Doesn't Win32 have some sort of async I/O or select()?
Yes, and yes. Look up "overlapped io" and "completion ports".
So, as a guy who rides a bike...
What is the one case where a manual car is better than an automatic?
Que voy a hacerle yo
Si me gusta el whisky sin soda
The more I read his article, the more convinced I became that:
[Using language I learned on HBO]
(a) Joel is a Prick
(b) He's got his head stuck up Ballmer's ass
(c) I wouldn't waste my piss on him if his head was on fire, and
(d) Hey Joel, you lie down with dogs, you get up with fleas!
I concur wholeheartedly with your last sentence, javaxman.
Sincerely,
Joseppi Blauinski
You can get KDE for Solaris, but you have to be comfortable with compiling it from source, or trust someone else's packages.
*** Where are we going? And what's with this handbasket?
You've put very little substance into your claim. How is he "bigoted"? It's not like he's always saying "Microsoft rulez, *nix users suck". His experiences at Microsoft undoubtedly taught him a lot, and why shouldn't he leverage that experience?
/. but you don't HAVE to become part of the rabble.
You seem like a smart person who would otherwise be worth listening to. Why not go inform yourself about Joel before spouting stuff like this? If you're going to oppose his position on various issues, then at least do it intelligently. This may be
Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!
fix Slashdot's horrible, invalid HTML output. It is has been discussed to death before but the Slashcode devels have not put any effort into fixing it.
Take a look at these articles for more info on how this can be fixed.
Note: That last link is about a Slashcode user who has already tackled some of the major issues with fixing Slash to output valid XHTML and CSS
I think you guys are missing the point slightly.
Joel isn't saying one platform or another is better than the other for developing, his laying out how it looks to the developing industry, and how MS are shooting themselves in their own foot.
Sure the standards might change for the web at some stage in the future, but its not on the books now. Thats the key part. What he's saying is that with MS bringing out new APIs and breaking the old ones, and with new APIs coming out just around the corner, whats the point in doing the development on an API that won't be around in 2~3 years time. You can be fairly safe in saying the 'net standards aren't likely to change in 2 - 3 years time.
I think this article reads as a rallying cry to Microsoft. Get your act together. Give us an API you can guarantee wont be thrown out the window within a short period of time. THEN and only then will people develop for it, and take the time to learn the necessary skills.
Because WEB APPS AREN'T ANY BETTER.
I agree with that, and I hate most web apps, but that doesn't matter. All that matters is what most users do, and most users don't mind web apps. Most of the "ordinary users" I know make frequent reference to "checking my webmail often".
Most of the comments above this one which don't simply say some variation of "I totally agree with Joel" are talking about how awful the old code is, and how much better the new stuff will be. I agree with this, and as a programmer and network engineer I am strongly drawn towards elegant solutions and new technology, but as a rational human being I have to admit the irrelevance of it all.
One of the most drastically apparent things for me is the difference between Win 98 and Win XP. Having studied both and used each one for more than two years, I can tell you that XP is at least an order of magnitude better than 98. But many of the users I speak to don't even know the difference! I ask which one they're running, and they don't know. I have to explain to them how to check.
Users don't care about whether your solution is elegant or advanced, all they care about is "can I get my webmail and use Word?" And if the developers want to move towards web apps because they're easier, then the users aren't gonna stop them. If Microsoft maintains backwards compatibility at the expense of good efficient code, users will thank them for it, not switch software vendors.
Developers, Developers, Developers, Developers
Why do I get an image of a ranting sweaty Balmer in my head when I read this?
You're a total fucking idiot.
Stop it. Seriously, Flash is not the answer. The web is supposed to be browser, server, OS, & platform independant. It is, it really is. Honest. If we want to talk about a better way of doing things, don't suggest Flash as the answer.
Using flash screws many people - those who are vision impaired, those who are browsing from a CLI, those who attempting to interface programatically with your site, those with low-bandwidth connections, and (here's a big one) those using mobile devices, such as PDA's and cell phones.
Furthermore, Flash is a proprietary format. It is not open & it is not in the best interest of the web. Flash is the fat cousin of IE-only hacks. In other words, you're not helping the situation. Push for open standards and standards-compliant browsers. You're no better than Microsoft hacking their old broken API's to death if you use Flash.
Seriously, why in the world would you want to build a site in Flash? If using XHTML, CSS, etc. will not give you a rich enough interface, then write the damn thing in Java.
The documentation I've seen is fairly hit and miss. It's obvious that one person/group wrote parts of it and another did other parts. Some function calls have good descriptions and examples listed, while others really suck.
The main problem I've had is finding the funtion I want. If I want to do X, I think of tons of likely function names and keywords to search on, and rarely find what I'm looking for in a timely manner. Usually, I'll go through 3 steps to do what I want, and months later find some obscure code on the web that uses the function I wanted, which ends up having a name completely unaligned with my logic.
Flash is an open standard. Adobe makes a flash creating product and the open source ming makes flash too. That being said they both suck compared to macromedia's flash authoring.
Furthermore, it's better than XHTML and any rich content ideas the W3C has proposed. It's years ahead and here now. I'm all for collaborative development but it's quite frankly failed as far as rich content and the W3 go. Flash is here, now, openly documented and free to implement.
Flash is accessible too, I'm still learning it, but I see tons of accessibility features built in.
Do you know anything about flash? It seems that you know nothing about it.
Photos.
Mozilla DOES NOT need thier own scripting. That's for the W3C to decide. If we end up with Moz-only sites, then how does that improve our situation??? Hell, I love Mozilla, won't shut the hell up about it, use both the big suite and Firebird/Thunderbird, and even I don't want to see that happen.
I don't care for Safari or Konqueror, but I respect my friends who do enough not to want to lock them out. Not coding to standards and people adding application-specific CRAP to websites is what got us in the mess in the first place.
Webmail is a bad example, actually, because its an example of an application where webapps work adequately for most purposes. However, I've never seen a good web word processor, much less webCAD, and I never expect to.
Users will use what they are given, which is why they don't know the difference between 98 and XP, why they use webmail, and why they don't care about elegance. MS is smart enough to realize this, which is why they've been doing their best to avoid breaking compatibility, even at the expense of higher complexity and lower stability. A user will put up with an occasional crash, but break Word and he'll hate you forever.
That said, I still use pine for my email.
---
Mod me down, you fucking twits. Go ahead. I dare you.
(I read with sigs off.)
Flash is a fucking animation engine. They bolted on accessibility. Great. What's my problem, you ask? Look at the Flash Accessibility FAQ:
Hey, Windows users can have accessibility! Awesome! Fuck you very much Macromedia.
The fact is that Flash is a plugin. Plugins are meant to supplement a site, not replace it. If your site depends on using a plugin - any plugin - you are building your house on sand & locking people out.
This all goes to the larger point. A solution not built on standards that are well written, extensible, and open to all is no solution at all. You want to brag about how your site runs on all browsers at platforms? Don't say it's because you're using Flash, because it will be a lie.
Not to metion we still have yet to talk about low bandwidth, small devices, those who aren't browsing graphically.
You obviously didn't live through the period or were way too young to know anything about it.
You're right, and I tried to say that in the first place but you managed to say it a lot better.
Then we got sidetracked.
- It's not the Macs I hate. It's Digg users. -
If Apple tried to use their monopoly control of the platform in the ways that Microsoft does, people would talk about breaking them up too. Apple has usually played well with companies that produce add-ons (software or hardware) and they're generally liked.
That's one of the advantages of it. As a matter of fact, it's replacing Win32 in Longhorn.
They're pretty much the same. Cocoa is the new API.
Try Cocoa sometime. People wonder how they developed things without it.
...is between being "a major player", and owning the game.
OS X is a pseudo-BSD system...remember?
I know people who run KDE and some ported Linux apps under OS X. OS X has the market of Apple apps available to it as well as an entire UNIX application base.
...just code web apps, or apps based on Open Source, and *know* they will work in the future?
Yep, 'cause those old gnome 1.0apps and legacy KDE apps all compile just great without me having to bloat my system with obsoleted libraries.
Oh wait. A lot of them don't. Hmmm.
People said the Windows API was hard, and while a C Windows API program may take up a couple of pages, it is not hard to go through it line by line and explain what every last function call and function argument is supposed to do. With COM and ActiveX, I have essentially given up on that for the reason you just outlined.
On the other hand, I believe Borland has "wizards" that make COM/ActiveX development tolerable while I don't know how anyone uses VS C++ to do any of this. Both C++ Builder and Delphi use this tool call the Type Library Editor for maintaining the IDL and automatically keeping a wrapper class in synch with that IDL. Yes, the Type Library Editor is buggy and quirky and using it to specify interfaces compared to real coding is like having sex by remote control.
But there is one thing the Type Library Editor can do that I have yet to figure out with, say, VS C++ and the ATL wizards: the Microsoft tools lets me add stuff, but it doesn't seem to let me remove stuff. The only way it seems to remove stuff is to edit sources, and instead of 2 files (.h and .cpp) there seem to be about 5 different files (.h, .cpp, idl, rc, and something else for good measure), and I have never been able to remove a method from an interface without corrupting everything beyond starting over again.
Having gotten over the learning curve, the Type Library Editor allows me to not only produce COM and ActiveX controls, it allows me to edit and tinker with their interfaces. Interfaces are supposed to be immutable, but being able to modify interfaces during development is important to me.
With that level of tool support, I am inclined to hang on to COM/ActiveX development instead of migrating to .NET. All kinds of software from VB 6 to Matlab to even .NET can host ActiveX components -- when is Matlab going to host a .NET component? When is IE going to host a client-side .NET component? By sticking with COM/ActiveX, I have a much broader set of consumers of software components.
Oh, you can use .NET/C# to develop COM/ActiveX components -- haven't tried it.
Microsoft dropped legacy support in Longhorn, no more running DOS and Windows code. You'll have to buy all new programs or use an emulator. I've seen the beta, and this is the case. This is the only way Microsoft can provide a way to avoid getting infected with the current viruses and spyware and adware.
Also with it no longer being Windows, they will claim it has nothing to do with the DOJ case against them.
New OS, New API, New GUI, new everything. 100% controlled by MS.
Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
RTFA and see if Longhorn has legacy support. Unless they added it in since that article was written, I doubt it.
Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
If application X can crash the Operating System, isn't something fundamentally wrong with the OS? Does the MS Distorion Field prevent them from seeing this?
.NET anyone?
.NET was designed from within the Distortion Field, so all you ISV's out there - be ready to re-write your code yet again in 10 years.
Design flaws beget ugly patches, ugly patches beget uglier patches, and eventually, you'll have to rip it all up and start over...
Of course,
- spin
- The Kessel run is for nerf herders. I can circumnavigate the entire Central Finite Curve in a lot less than 12 parse