Slashdot Mirror


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."

4 of 61 comments (clear)

  1. What happens to compatibility? by Hanashi · · Score: 2, Insightful
    I'm all for slimming down the Win32 API. It's monsterous, and a simplification would be of great benefit in the long run. But what will happen to application compatibility in the short term? I guess executable code that calls the "old" API won't run on Longhorn? If that's true, how will users know in advance which of their programs will run?

    Comments from anyone with insight on this are very welcome.

    --
    Check out my eclectic infosec blog at InfoSecPotpou
  2. Nice Step by 4of12 · · Score: 3, 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.).

    --
    "Provided by the management for your protection."
  3. Re:Microsoft formula for simplification. by Anonymous Coward · · Score: 2, Insightful

    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.

  4. Re:Microsoft formula for simplification. by Tsali · · Score: 2, Insightful

    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.