Microsoft Simplifies API for Longhorn 61
zzxc writes "InternetWeek.com reports that Microsoft is cleaning up its API and integrating its XML Application Markup Language for its anticipated Longhorn release. An unnamed source says that Microsoft will be slashing the number of API calls from 76k to 8k. In addition, the new graphics device interface, codename Avalon, will use XAML-based scripts instead of a complicated API. Microsoft is planning on including XAML design in the next Visual Studio.net release. CRN is also reporting on this."
Just one more thing and I will be happy. (Score:1)
Re:Just one more thing and I will be happy. (Score:2)
Do you really need to ask that question?
Windows (x86, Win32) is one of their cash cows. CE most definitely ain't - yet. You figure out the rest.
Re:Cool. (Score:2, Funny)
Re:Cool. (Score:3, Funny)
Oh, okay, I give up. I only ever used LoadLibrary() a couple hundred times, personally, and even then, only to get incompatible API functions loaded from various copies of the same
Re:Cool. (Score:2)
Sounds to me like the problem actually resides between the chair and the computer. There is a reason for things like MFC and ATL in Visual C++, and VCL and CLX in Borland Delphi/Kylix...
Re:Cool. (Score:1)
Go ahead, flounder in your nonsensical API goodness! Revel in 3rd-party hacks to shitty OS design! Bask in the glory that is MFC42.dll! Roll in the ecstascy of monthly MSDN update CD's!
Sheesh. I dunno, seems to me like the 'new generation' of computer nerds just don't get it
Re:Cool. (Score:2)
Go ahead, flounder in your nonsensical API goodness! Revel in 3rd-party hacks to shitty OS design! Bask in the glory that is MFC42.dll! Roll in the ecstascy of monthly MSDN update CD's!
Not me. I use Borland Delphi for all my code, so I don't have to worry about making the right Win32 API calls - the VCL does all that for me.
Sheesh. I dunno, seems to me like the 'new generation' of computer nerds just don't get
Re:Cool. (Score:1)
Yeah, I (quite fondly) remember the days when Microsoft only shipped a BASIC interpreter, and thats it.
Which is why I find their current scenario so laughable!! HAH HAH Microsoft!!!
Re:Cool. (Score:2)
Re:Cool. (Score:1)
Blah. I know how they'll get rid of these APIs. See, instead of 7 *LoadLibrary* calls we'll have BigLoadLibrary(DWORD dwLltype, ...) multiplexers all over the place :).
Presto! 7 API functions down to one!
What? Not cleanup?...
Re:Cool. (Score:2)
I've never seen a library/module/class loader method (or function or API or whatever) that wasn't overloaded. Overloading an API doesn't make it bad, per se. And a general lack of configuration management for
Re:Cool. (Score:2)
And POSIX is beautiful? Yeah, fork() is waaay better than CreateProcess(). pthreads are much better than CreateThread(). Sure.
At least they document their APIs in a human-readable form, unlike other operating systems that assume you've been writing for their API every day over the last 20 years.
What happens to compatibility? (Score:3, Insightful)
Comments from anyone with insight on this are very welcome.
Re:What happens to compatibility? (Score:2)
Re:What happens to compatibility? (Score:2)
Re:What happens to compatibility? (Score:2)
Re:What happens to compatibility? (Score:2)
Re:What happens to compatibility? (Score:1)
I can't run my old Sierra games, either, but thanks to efforts like DosBox [sourceforge.net] and FreeSCI [linuxgames.com], that doesn't matter.
'Sides, I'm sure someone'll come up with a Win95 emulator somewhere along the line.
Re:What happens to compatibility? (Score:2)
Re:What happens to compatibility? (Score:1)
My guess is that the API will still be there, but that it will remain for "Unmanaged code" to utilize. After all, over 99.9% of applications today are "unmanaged", and it took a few years for all that 16-bit code to be "unthunked" ( remember that phrase ? ) into running strictly 3
Re:What happens to compatibility? (Score:2)
I expect
How much to learn? (Score:3, Interesting)
The question is will they be adding 100,000 new things to learn in AXML in order to replace the 68,000 lost APIs?
Re:Oops? (Score:2)
Re:How much to learn? (Score:3, Funny)
Nice Step (Score:4, Insightful)
OK, so are they really doing away with those old interfaces, or just pretending they're not there, not documenting them, etc?
I'd be impressed if the API was condensed into 8k well-documented routines that completely spanned win32 functionality. Like, if another company were to provide the same 8k routines they could, albeit with less performance, run any and all win32 applications (on different hardware, under different OS, etc.).
Re:Nice Step (Score:1)
Something tells me that the cost of getting access to the source code will rise in inverse proportion to its decrease in size... *grin*
Re:Nice Step (Score:2)
Codenames? (Score:1)
Why does Microsoft feel the need to code-name everything before its official release? I mean, we know the OS will be called Windows 2003 or Windows QF or something. Why does it matter to them that we don't know exactly what it'll be called?
Ditto with their GDI and such. I just don't get why they have to play sekrit agent.
Re:Codenames? (Score:2)
Probably because Management are paranoid about Developers talking about their work to one another outside of the office, and others picking up on the conversations if the words 'Microsoft' and 'Windows' crop up.
Re:Codenames? (Score:2)
- Steve
Re:Codenames? (Score:1, Interesting)
Just when you thought you'd learned it (Score:2)
Give me a 30 yo Api any day
in fact just give me "everything is a file" and mean it
Re:Just when you thought you'd learned it (Score:2)
Plan 9 has I believe 17 calls in their interface. Compared to this, MicroSoft's new 8000, or Linux's several hundred, is pretty bad.
close - 48, but still (Score:2)
"Plan 9 has 48 system calls these days,
10 of which are deprecated. So 38. That's still a lot."
Re:close - 48, but still (Score:2)
it's such a win (Score:2)
For instance, I wrote a google searching tool that presented itself as a file system. To do a google search now all any program has to do is to open a file, write to it, read it, change directory and read the files. It doesn't have to wait for someone to add support for it.
Unix and it's POSIX progeny do the right thing but never quite cross the finish line. Corba, DCOM, XMLPRC, SOAP I mean, come on
Re:Just when you thought you'd learned it (Score:1)
Microsoft formula for simplification. (Score:2)
Sounds more like a move dictated by MS lawyers to undo the leftover damage from the antitrust lawsuits than a decision with technical motivations.
Re:Microsoft formula for simplification. (Score:2, Insightful)
Yes, compatibility will take a hit, but sometimes you have cut losses and move on. Apple did the same thing when they developed Carbon. Their job was a bit easier because Apple only had to remove 2000 APIs. Apple realized that those APIs were hindering their advancement.
One smart thing that Apple did do was ease the transiti
Re:Microsoft formula for simplification. (Score:3, Insightful)
Maybe it's to frustrate Mono some more... who knows....
Re:Microsoft formula for simplification. (Score:2)
Look at times in the past where vendors have decided to break compatability with "better" tecnology. Companies like Commodore, Atari, Coleco, etc who did that no longer exist.
Re:Microsoft formula for simplification. (Score:2)
I dunno, I guess maybe I'm missing something
I'll reduce it to one function (Score:2)
XAML looks somthing like this
etc.........
Great... (Score:2)
Sure maybe they can fix the bloat and evil API clutter by simply stripping it all out and redoing it. Then all applications need to be re-written for no reason just so they can run on Longhorn.
That's one way to fix the economy. Or at least force people to seriously consider an Apple Switch. Heck, as long as they have to rebuy everything anyway might as well go all the way and jump ship wh
Re:Great... (Score:1)
Re:Great... (Score:2)
Hmm, I don't think so, but you almost got it. I propose "nothing prior to W2K will run" instead.
Just look in the MSDN docs, and you'll find that many API functions fall into two categories:
* For compatibility only, use xxxEx (or xxx32, etc) in new applications, or
* This functions supports 437 state flags, 32 of which go back to W3.1, 12 available on NT4, 42 if you have IE4, but 10 more i
Re:Great... (Score:1)
when I was your age... (Score:1, Funny)
API calls and we LOVED it.
Removing the Win16 subsystem? (Score:2)
- Steve
Undocumented APIs (Score:1)
the alternative already exists (Score:2, Informative)
Reducing APIs (Score:2)
WineLH anyone? [winehq.org]
Open Windows GUI (Score:2)
At first glance, this looks like a major improvement in openness.