Microsoft Simplifies API for Longhorn
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."
Comments from anyone with insight on this are very welcome.
Check out my eclectic infosec blog at InfoSecPotpou
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.).
"Provided by the management for your protection."
From a technical standpoint, slimming down the APIs makes some sense. The current APIs have so much redundancy and useless code that it makes it very difficult to learn and manage.
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 transition by designing both Classic and Carbon to work together in the same box.
While I have no doubt that reasons other than technical helped MS make the decision, I can't say there was no technical merit.
Considering the file system will render all pre-Longhorn windows applications obsolete, why not knock the tires on the API's as well?
Maybe it's to frustrate Mono some more... who knows....
This space for rent.