Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Analysis of .NET Use in Longhorn and Vista

Posted by samzenpus on Wed Mar 15, 2006 09:57 PM
from the what-would-bill-do dept.
smallstepforman writes "In a classic example of "Do as I say, not as I do", Richard Grimes analyses the ratio of native to managed code in Microsoft's upcoming Vista Operating System. According to the analysis at Microsoft Vista and .NET, "Microsoft appears to have concentrated their development effort in Vista on native code development. Vista has no services implemented in .NET and Windows Explorer does not host the runtime, which means that the Vista desktop shell is not based on the .NET runtime. The only conclusion that can be made from these results is that between PDC 2003 and the release of Vista Beta 1 Microsoft has decided that it is better to use native code for the operating system, than to use the .NET framework.""
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • Well DUH (Score:2, Insightful)

    by Anonymous Coward on Wednesday March 15 2006, @10:00PM (#14929944)
    I mean, an operating system IS supposed to be as efficient and speedy as possible. .NET may be easy to develop, but it isn't as fast as native code. As the trolls would say, "Move along, nothing to see here".
    • Re:Well DUH (Score:5, Interesting)

      by CastrTroy (595695) on Wednesday March 15 2006, @10:09PM (#14929990)
      (http://www.kibbee.ca/)
      As far as the kernel goes, you are right. However, with windows we are talking about a whole suite of applications included with the OS. None of them are all that complex, and could probably run quite quickly under the .Net platform. I've often wondered how much more secure our computers would be if we ran web browsers, mail clients, and other web facing applications in a sandbox like the JVM, I think .net has some of the same capabilities. I'm sure attacks would still be possible, but at least we wouldn't have to worry about buffer overflows causing problems.
      [ Parent ]
      • Re:Well DUH by DarkOx (Score:2) Wednesday March 15 2006, @10:24PM
        • Re:Well DUH (Score:4, Insightful)

          by Albinofrenchy (844079) on Wednesday March 15 2006, @10:52PM (#14930185)
          Holy crap, run-on sentence!

          You worry too much. Unless you are doing something real damn special, you don't need to call WINAPI code alot, and alot of the unmanaged libraries are being/have been replaced with managed versions. Not saying it will be free of bugs, and completely secure, nothing is, but it will have fewer bugs, and fewer holes.
          [ Parent ]
          • 1 reply beneath your current threshold.
        • Re:Well DUH by ZenShadow (Score:2) Thursday March 16 2006, @12:00AM
        • Re:Well DUH by plover (Score:2) Thursday March 16 2006, @01:14AM
          • Re:Well DUH by ultranova (Score:2) Thursday March 16 2006, @07:03AM
            • Re:Well DUH by High Hat (Score:1) Thursday March 16 2006, @09:03AM
              • Re:Well DUH by ultranova (Score:2) Thursday March 16 2006, @09:57AM
              • Re:Well DUH by plover (Score:2) Thursday March 16 2006, @12:39PM
      • Re:Well DUH (Score:4, Interesting)

        by Bacon Bits (926911) on Wednesday March 15 2006, @11:33PM (#14930355)
        I agree. Even looking at Windows XP, the following applications could be written with managed code:
        IE (considering IE 6's security "model", this would be a really good idea)
        Outlook Express (ditto)
        Media Player (yeah, ditto again)
        WordPad
        Movie Maker
        Paint
        Image & Fax Viewer
        Solitare and every other game
        [ Parent ]
      • Re:Well DUH by techno-vampire (Score:1) Wednesday March 15 2006, @11:40PM
        • Re:Well DUH by Anonymous Coward (Score:2) Wednesday March 15 2006, @11:58PM
          • Re:Well DUH by techno-vampire (Score:2) Thursday March 16 2006, @11:12AM
          • Re:Well DUH by dzfoo (Score:2) Thursday March 16 2006, @11:33AM
        • Re:Well DUH (Score:5, Insightful)

          by Onan (25162) on Thursday March 16 2006, @02:16AM (#14930969)
          Hm, I'm not quite sure I agree with your assessment which one of those is the "real" solution and which is the bandaid.

          If the past three decades of computer science have taught us a single thing, it's that intelligent, conscientious, meticulous coders will still write code that has simple vulnerabilities like buffer overflows. Now, I'm not suggesting that we just give up on trying to write good code. But it's hard to argue that it's anything other than a win to reduce the damage of such errors when they--inevitably--occur.

          Writing unexploitable code is great, but it needs to be executed perfectly by every single developer, writing every single line of code, forever. Every time you find and fix one bug, you've only fixed that one, but haven't done anything about future ones; that seems like the epitome of bandaidness. A single centralized sandbox api could conceivably address such bugs categorically, in a finite amount of code.

          I don't actually know anything about .net, so I can't speak to how well it accomplishes this goal. But generally approaching the problem in this way seems sound. An actually-existing approach that seems analogous is the privsep model of recent years' opensshd.

          [ Parent ]
          • Re:Well DUH by Boronx (Score:2) Thursday March 16 2006, @04:11AM
            • Re:Well DUH by shrykk (Score:2) Thursday March 16 2006, @05:29AM
          • Re:Well DUH by pimpimpim (Score:2) Thursday March 16 2006, @04:11AM
          • Re:Well DUH by msobkow (Score:2) Thursday March 16 2006, @04:57AM
          • Re:Well DUH by gbjbaanb (Score:2) Thursday March 16 2006, @05:53AM
            • Re:Well DUH by Onan (Score:2) Thursday March 16 2006, @02:50PM
          • Re:Well DUH by MickDownUnder (Score:2) Thursday March 16 2006, @07:08AM
            • Re:Well DUH by baadger (Score:2) Thursday March 16 2006, @10:31AM
              • Re:Well DUH by MickDownUnder (Score:1) Thursday March 16 2006, @10:49AM
            • Re:Well DUH by DrSkwid (Score:2) Thursday March 16 2006, @12:32PM
              • Re:Well DUH by MickDownUnder (Score:1) Thursday March 16 2006, @09:16PM
              • Re:Well DUH by DrSkwid (Score:2) Friday March 17 2006, @07:23AM
          • Re:Well DUH by pla (Score:2) Thursday March 16 2006, @09:01AM
            • Re:Well DUH by pla (Score:2) Thursday March 16 2006, @02:51PM
              • Re:Well DUH by FrostedChaos (Score:1) Thursday March 16 2006, @04:57PM
              • Re:Well DUH by pla (Score:2) Thursday March 16 2006, @06:56PM
                • 1 reply beneath your current threshold.
              • 1 reply beneath your current threshold.
            • 1 reply beneath your current threshold.
          • Re:Well DUH by techno-vampire (Score:2) Thursday March 16 2006, @11:05AM
        • Re:Well DUH by z4pp4 (Score:1) Thursday March 16 2006, @02:57AM
          • Re:Well DUH by WillerZ (Score:2) Thursday March 16 2006, @04:27AM
            • Re:Well DUH by z4pp4 (Score:1) Thursday March 16 2006, @06:21AM
            • Re:Well DUH by ultranova (Score:2) Thursday March 16 2006, @07:26AM
              • Re:Well DUH by moro_666 (Score:2) Thursday March 16 2006, @08:53AM
              • Re:Well DUH by z4pp4 (Score:1) Friday March 17 2006, @07:17AM
          • Re:Well DUH by techno-vampire (Score:3) Thursday March 16 2006, @11:09AM
            • Re:Well DUH by z4pp4 (Score:1) Thursday March 16 2006, @01:01PM
            • Re:Well DUH by Reziac (Score:2) Thursday March 23 2006, @01:48AM
        • Re:Well DUH by m50d (Score:3) Thursday March 16 2006, @03:21AM
        • As a l3g!+!m4te cr4cker.. by Anonymous Coward (Score:1) Thursday March 16 2006, @03:32AM
        • Re:Well DUH (Score:5, Insightful)

          by Eivind Eklund (5161) on Thursday March 16 2006, @04:04AM (#14931284)
          (Last Journal: Friday October 08 2004, @04:53AM)
          I'd say relying on each and every one of hundreds of thousands of buffer operations being right is the bandaid, and that using "least privilege" is the systematic, proper approach. Of course, pros do both. It's known under various terms, a common one being "defense in depth".

          I was sort of worried that MS was going to take over for open source, by actually taking the job of fixing their security model and creating really secure and stable system. Don't look like the chose to.

          Eivind.

          [ Parent ]
          • Re:Well DUH by MickDownUnder (Score:1) Thursday March 16 2006, @09:02AM
            • Re:Well DUH by Eivind Eklund (Score:2) Thursday March 16 2006, @09:39AM
              • Re:Well DUH by MickDownUnder (Score:1) Thursday March 16 2006, @10:34AM
              • Re:Well DUH by Eivind Eklund (Score:2) Thursday March 16 2006, @11:05AM
              • Re:Well DUH by MickDownUnder (Score:1) Thursday March 16 2006, @07:05PM
              • P.S Say what ?! by MickDownUnder (Score:1) Thursday March 16 2006, @09:26PM
              • Re:P.S Say what ?! by Eivind Eklund (Score:2) Friday March 17 2006, @04:16AM
              • Re:P.S Say what ?! by MickDownUnder (Score:1) Friday March 17 2006, @07:52PM
              • Re:P.S Say what ?! by Eivind Eklund (Score:2) Monday March 20 2006, @04:37AM
        • Re:Well DUH by Alioth (Score:2) Thursday March 16 2006, @06:50AM
          • Re:Well DUH by techno-vampire (Score:1) Thursday March 16 2006, @11:20AM
            • Re:Well DUH by Alioth (Score:2) Thursday March 16 2006, @01:25PM
              • Re:Well DUH by techno-vampire (Score:2) Thursday March 16 2006, @04:12PM
        • 1 reply beneath your current threshold.
      • Re:Well DUH by Tyr_7BE (Score:2) Wednesday March 15 2006, @11:52PM
        • Re:Well DUH (Score:5, Informative)

          by diegocgteleline.es (653730) on Thursday March 16 2006, @07:06AM (#14931774)
          You're right. Win2k uses a microkernel architecture. The kernel is kept tiny and streamlined, but upon receiving events it passes execution off to a userland service, which does all the work of addressing that event.

          Uh? NT "microkernel" stopped being a real microkernel long time ago (just like mac os x). The TCP/IP stack, drivers (IDE/SCSI/SATA controllers, graphic/sound drivers etc), the filesystem, the VFS...EVERYTHING is in the kernel. In practice, windows and mac os x have the same disadvantages than monolithic kernels, except they were designed from scratch to be modular (in practice, monolithic kernels have evolved and become quite modular aswell, which is why these days monolithic kernels can continue adding features without rewriting the whole kernel and maintaining it despite of all the complexity hardware has today)

          So, where exactly win2k "passes execution off to a userland service") As far as I know they implement in the kernel everything that a monolithic kernel implements, plus the graphics subsystem + window manager, plus software audio mixing, plus some parts of some codecs....
          [ Parent ]
          • Re:Well DUH by jauren (Score:1) Thursday March 16 2006, @11:42AM
      • Re:Well DUH by NitsujTPU (Score:2) Thursday March 16 2006, @12:59AM
        • Re:Well DUH by NitsujTPU (Score:2) Thursday March 16 2006, @01:01AM
      • by Hooya (518216) on Thursday March 16 2006, @01:51AM (#14930890)
        (http://slashdot.org/)
        (this is apart from portability concerns -- which is a whole another discussion).

        i am failing to see why people are so afraid of the M that we need the V. maybe on large multiuser mainframe-style system, you'd want some V. we are talking about PCs. if you need 'em, just get a bunch of 'em. those are your VMs.

        if the argument is that if the app crashes or malfunctions -- for whatever reason -- you don't want the V to go down with it, well, if my app crashes, i couldn't care less about the machine staying up.

        > I've often wondered how much more secure our computers would be if we ran web browsers, mail clients, and other web facing applications in a sandbox like the JVM

        first, in todays day and age, what is not facing the web?

        second, doesn't that make the JVM an extension (of the OS) whose sole purpose is to run the apps?

        wasn't that what the OS itself is designed to do in the first place? so now, OS isn't something that runs apps but something that runs the VM to run the app? so shouldn't the VM be a standard part of the OS? but it is. it is the OS itself. but the OS isn't secure! so the VM on top of that very same OS is?

        it almost sounds like packing on some cake-ey layers of makeup on top of wrinkled up skin and expecting it to fix the wrinkles. if it does show thru the layers, what next, another layer?

        anyhow, i cringe when i see JVM. or any other VM for that matter. just give me the freakin M.
        [ Parent ]
      • Re:Well DUH by callistra.moonshadow (Score:1) Thursday March 16 2006, @06:36AM
      • Re:Well DUH (Score:4, Interesting)

        by diegocgteleline.es (653730) on Thursday March 16 2006, @06:58AM (#14931744)
        I don't think JVM's are the way to have decent security anymore. Things like SELinux allows you to run code natively (in any language) AND at the same time have sandbox-like security.

        All the advantages, without any of the disadvantages. Why "virtual machines" exit at all? I already have a machine, a real one! Give me an operative system with a MAC framework, I'll leave others the overengineered abstractions.
        [ Parent ]
        • Re:Well DUH by Alef (Score:2) Thursday March 16 2006, @10:33AM
      • Re:Well DUH by ckaminski (Score:2) Thursday March 16 2006, @09:57AM
      • 1 reply beneath your current threshold.
    • Re:Well DUH (Score:5, Interesting)

      by AstroDrabb (534369) on Wednesday March 15 2006, @10:24PM (#14930062)
      an operating system IS supposed to be as efficient and speedy as possible
      This isn't talking about an OS. It is referring to USER-LAND tools. I don't think anyone is expecting MS to rewrite the kernel in C# or managed C++. However, how can one be confident in .Net if MS won't port their USER-LAND tools to it? Why not a C# notepad, mspaint, explorer.exe, taskmgr, regedit etc? All of those would be great in .Net and would show MS's customers that MS is behind .Net 100%. As it looks to me, .Net is the "soup of the day" at MS. .Net will be replaced in 3-5 years with something else that will require MS customers to re-purchase their development tool chain.
      an operating system IS supposed to be as efficient and speedy as possible
      I think this could be said for *all* applications. I want the desktop apps I write to be "as efficient and speedy as possible". I want the web-apps I write to be "as efficient and speedy as possible". Going by your statment it sounds like I should not use .Net for anything. I mean who wants to use something that is not as speedy and efficient as possible?
      As the trolls would say, "Move along, nothing to see here".
      I think there is something to see here. Why doesn't MS port their non-OS apps to .Net? MS wants their customers to always port software to the latest and greatest MS language/environment of the year, so why doesn't MS do the same?
      [ Parent ]
      • Re:Well DUH (Score:5, Interesting)

        by Jason Earl (1894) on Wednesday March 15 2006, @10:31PM (#14930088)
        (http://jearl.0catch.com/)

        Exactly, Novell is perfectly happy to be building nearly all of its new tools with Mono, and some of my favorite Gnome applications have been written in C#. If .NET is so cool why isn't Microsoft doing something similar?

        [ Parent ]
      • Re:Well DUH by Anonymous Coward (Score:1) Wednesday March 15 2006, @10:46PM
        • Re:Well DUH by Jason Earl (Score:3) Wednesday March 15 2006, @11:07PM
          • Re:Well DUH (Score:5, Insightful)

            by Nataku564 (668188) on Wednesday March 15 2006, @11:28PM (#14930337)
            Not much, but why rewrite something? The net result is just a notepad that runs about the same as the original, with no physical difference. Joe End User is not impressed. Rewriting things in the latest and greatest programming language of the day always sounds cool from a geek perspective, but from a business standpoint (and just plain old efficiency standpoint) its wasteful.

            Now if they wanted to write some new app in .Net that would be cool. But just as with VB, you will notice Microsoft stays away from their own tools. They know their business strategy, and they know that the current cool buzzword be obsoleted for the next flavor of the month tech that they want to sell to their users.
            [ Parent ]
            • Re:Well DUH (Score:5, Interesting)

              by Jason Earl (1894) on Wednesday March 15 2006, @11:58PM (#14930436)
              (http://jearl.0catch.com/)

              If there was ever an application that screamed out for replacing it is notepad.exe. Seriously, you can't throw a rock without hitting 10 better basic text editors for Windows, and yet for whatever reason Microsoft still relies on notepad.exe for this important niche. I mean seriously, how hard would it be to replace notepad.exe with a fancier .NET version that didn't suck so completely? I would bet that if Microsoft simply asked the developers there that they would find that they have half a dozen notepad.exe replacements written in .NET technologies. Not only would this mean that systems administrators like myself wouldn't have to include a decent text editor in our base images, but it would help showcase .NET.

              I do agree that Microsoft seems to be mostly unimpressed by its own marketing machine, but its pretty clear that Microsoft is still trying to gain marketshare for .NET, and every little bit helps.

              [ Parent ]
              • actually, I rather like notepad (Score:4, Interesting)

                by Phil Urich (841393) on Thursday March 16 2006, @01:06AM (#14930703)
                (Last Journal: Thursday November 03 2005, @08:42PM)
                I'm quite content that notepad has remained almost entirely unchanged since Win95, actually. It's nice to be able to open up a *pure* text editor, no frills whatsoever, when I want. You have a point that they should include a better text editor, but then again that's already taken over by wordpad; not that wordpad doesn't suck, but I don't see why notepad is getting all the hate here. It's just a edit-plain-text-period editor, and that's fine with me. But avoiding being too pedantic here, yeah, wordpad isn't really anything more than support for some font formatting and the like, it's not much improvement especially compared to the kinds of little neat things that other 3rd party text editors have been doing since Win95.

                And sure, Microsoft should be working on some snazzier looking basic apps, and writing them to showcase .NET might be a good move . . . but it's not going to happen for text editors. For Windows the idea is notepad as a legacy plaintext editor (which I respect), then wordpad as a sucky slightly higher-level app so that people can barely read word documents and get suckered into buying Office. Yes, I realize that there is a difference between a text editor and a word processor, but Microsoft wants you to use Word and the other Office apps for everything, so they're not going to give you any apps that even so much as remind people that there are more choices other than either absurdly-basic (notepad/wordpad) and full-office-suite (Office, naturally). It's in their interests to maintain this binary picture of text apps in the mind of Windows users.

                Okay, so that doesn't work for ya (and I often myself, if I'm doing plaintext editing on Windows for one reason or another, use something other than notepad). But hey, not to give in to the rampant bashing of Microsoft here on Slashdot but there are some pretty good reasons why people abbreviate it M$, right? Maybe I'm just driving out in Conspiracy Land here, but it seems to me that it's actually a business strategy for Microsoft not to have any better default editors.
                [ Parent ]
              • Re:Well DUH by RalphSleigh (Score:1) Thursday March 16 2006, @07:43AM
              • Re:Well DUH by DrSkwid (Score:2) Thursday March 16 2006, @12:47PM
              • Notepad handles Unicode better than Visual Studio by SloppyElvis (Score:2) Thursday March 16 2006, @01:51PM
              • Re:actually, I rather like notepad (Score:4, Insightful)

                by Jason Earl (1894) on Thursday March 16 2006, @02:59AM (#14931099)
                (http://jearl.0catch.com/)

                I don't mind that notepad.exe is a pure text editor. What I mind is that it is the stupidest text editor ever. For example, at the very least it could deal with UNIX and Mac style text files intelligently. I mean seriously, how much is that to ask?

                [ Parent ]
              • Re:actually, I rather like notepad by st1d (Score:3) Thursday March 16 2006, @03:27AM
              • Re:actually, I rather like notepad by Jason Earl (Score:3) Thursday March 16 2006, @03:33AM
              • Re:actually, I rather like notepad by xtracto (Score:2) Thursday March 16 2006, @05:30AM
              • Re:actually, I rather like notepad by digital_dump (Score:1) Thursday March 16 2006, @09:23AM
              • Re:actually, I rather like notepad by kailoran (Score:1) Thursday March 16 2006, @01:04PM
              • 2 replies beneath your current threshold.
            • Re:Well DUH by 2nd Post! (Score:3) Thursday March 16 2006, @12:47AM
              • Re:Well DUH by Xyde (Score:2) Thursday March 16 2006, @03:22AM
              • Re:Well DUH by DrXym (Score:2) Thursday March 16 2006, @06:06AM
              • Re:Well DUH by Slime-dogg (Score:2) Thursday March 16 2006, @12:31PM
              • Re:Well DUH by AstroDrabb (Score:2) Thursday March 16 2006, @12:25PM
              • Re:Well DUH by Nataku564 (Score:2) Thursday March 16 2006, @07:59PM
            • security by RahoulB (Score:1) Thursday March 16 2006, @01:54AM
              • Re:security by Nataku564 (Score:2) Thursday March 16 2006, @02:22AM
            • Re:Well DUH by RetiredMidn (Score:2) Thursday March 16 2006, @08:43AM
            • Re:Well DUH by tau-lepton (Score:1) Thursday March 16 2006, @10:37AM
            • 2 replies beneath your current threshold.
        • Re:Well DUH by Onan (Score:2) Thursday March 16 2006, @02:25AM
        • 1 reply beneath your current threshold.
      • Re:Well DUH (Score:5, Interesting)

        by digitalinfinity (875333) on Wednesday March 15 2006, @10:54PM (#14930193)
        Actually, I believe microsoft is still committed to developing using the .Net framework. I think they've been hurt by the same problem that rest of the developers faced- back when development for vista started, .Net was a buggy framework and .Net 2.0 was still under heavy development- I think the people in charge of windows didn't want to have a dependency on .Net, since waiting for the new stable version of .net 2.0 would have delayed vista further, and that would never have been acceptable to allchin and co.
        [ Parent ]
        • Re:Well DUH by fupeg (Score:2) Thursday March 16 2006, @01:11AM
        • Re:Well DUH by MickDownUnder (Score:1) Thursday March 16 2006, @09:58AM
        • 1 reply beneath your current threshold.
      • by xiphoris (839465) on Wednesday March 15 2006, @11:14PM (#14930286)
        (http://www.xiphoris.com/)
        Why not a C# notepad, mspaint, explorer.exe, taskmgr, regedit etc?

        Why waste time re-implementing something that already works fine? Also, explorer.exe doesn't really qualify as userland. Sure, it's not the kernel, but it's as close as you get in userland.

        As it looks to me, .Net is the "soup of the day" at MS. .Net will be replaced in 3-5 years with something else that will require MS customers to re-purchase their development tool chain.

        Again, it seems you're expecting Microsoft to instantly rewrite all their software from scratch. A lot of software that's going into Vista, and indeed Vista itself, have been in the work as long as .NET or longer. Consider Office. That's been around forever.

        You're saying they should just throw away everything and do it all over again in .NET? Personally, I think notepad and regedit are fine the way they are. If .NET needs to prove itself, it will not be through clones of tools as simple as those.
        [ Parent ]
      • Re:Well DUH by yabos (Score:2) Wednesday March 15 2006, @11:22PM
      • Re:Well DUH (Score:5, Informative)

        by tshak (173364) on Wednesday March 15 2006, @11:47PM (#14930399)
        (http://slashdot.org/~tshak/)
        Why not a C# notepad, mspaint, explorer.exe, taskmgr, regedit etc? All of those would be great in .Net and would show MS's customers that MS is behind .Net 100%. As it looks to me, .Net is the "soup of the day" at MS. .Net will be replaced in 3-5 years with something else that will require MS customers to re-purchase their development tool chain.
        You are absolutely right in that MS should rewrite the "basics" like notepad and mspaint. Not because of .NET, but because these apps desperately need updating. There are already 3rd party .NET replacements for these, but MS needs to jump on it. However, you can't be farther from the truth with regards to .NET being replaced in 3-5 years just because notepad isn't written in .NET. Important enterprise applications like Biztalk Server and CMS have at least in part been ported to the .NET platform. Media Center is written in .NET. Parts of Visual Studio and Visual Studio Team System is written in .NET. This is all fairly public information - if I were internal at Microsoft I could probably list a lot more. So while I agree that MS needs to rewrite a lot of tooling in their OS (whether or not using .NET), I do not think that the lack of Vista .NET applications points to Microsoft not having a huge commitment with .NET and looking to replace it with Yet Another Platform to sell to everyone in a few years.
        [ Parent ]
      • Re:Well DUH (Score:5, Informative)

        by Coryoth (254751) on Thursday March 16 2006, @12:00AM (#14930447)
        (http://jedidiah.stuff.gen.nz/wp/ | Last Journal: Wednesday April 04 2007, @02:51PM)
        I don't think anyone is expecting MS to rewrite the kernel in C# or managed C++.

        Interestingly the people at MS research are expecting just that - they are writing Singularity [microsoft.com] in what is essentially C# with extensions (extensions mostly in the form of formal specification semantics to allow more complete static checking). The upside to doing this is that, when combined with a better ground up approach to security as is being used in Singularity, you get a remarkably robust and secure kernel for an operating system.

        Of course this is a project at MS research - I wouldn't expect it to ever see the light of day in an actual product released by MS. It's nice to know that some people set their expectations suitably high though.

        Jedidiah.
        [ Parent ]
        • Re:Well DUH by nobodyman (Score:2) Thursday March 16 2006, @03:03AM
          • Re:Well DUH by palndron (Score:1) Thursday March 16 2006, @06:13AM
          • Re:Well DUH by Coryoth (Score:2) Thursday March 16 2006, @12:28PM
        • Re:Well DUH by rbanffy (Score:2) Thursday March 16 2006, @08:45AM
      • Power is cheap, time is expensive. by daemonenwind (Score:3) Thursday March 16 2006, @12:32AM
        • Re:Power is cheap, time is expensive. (Score:5, Interesting)

          by AstroDrabb (534369) on Thursday March 16 2006, @01:27AM (#14930800)
          Here's a reality check for you:
          And another one right back at you. Developer time is not always the most important thing. It may be important for a *software* company, but for a company that makes their money from anything besides software, it usually is not. For example, where I work we have 150,000+ employees. A *very* small fraction of them are programmers. Here is an example for you: say I write a program in .Net that is used by 60 people to do some processing and that processing takes 10 minutes. The same application in C/Win32 does the same task in 8 minutes. That is 2 minutes per day times 60 people or 120 minutes/2 hours per day. We can use a very low wage of say $8.00/h * 2 hours = $16 a day; 5 days/week = $80/week; 52 weeks/year = $4,160 a year. Now say that application is used for 2 years we come to $8,320 in lost productivitiy. Even if it took me an extra 100 hours to write the app in C/Win32 at $50/h that would only be $5,000. Still less than the 2 years of lost productivity. If you add more workers into the mix, things only get worse.

          I think your "reality" is a little narrow. There is a lot more complexity to figuring out ROI then what the MS marketing machine has convinced you of. Even my example leaves out a lot of details like the added cost of migrating to a newer toolset to support .Net, etc.
          [ Parent ]
          • Missing the point (Score:5, Insightful)

            by nobodyman (90587) on Thursday March 16 2006, @02:35AM (#14931019)
            You're missing the point(s). Let's recap:
            The same application in C/Win32 does the same task in 8 minutes. That is 2 minutes per day times 60 people or 120 minutes/2 hours per day....[snip]

            This scenario is pure fantasy. The vast majority of apps nowadays are IO limited, and spend most of their time idling whilst they wait for on the hard drive/network for more data, or (more commonly) waiting for the user to type something or click a button. I doubt you'd realise these types speed gains you talk about - most of the time the user him/herself is the weak link in the throughput chain.

            ...Even if it took me an extra 100 hours to write the app in C/Win32 at $50/h that would only be $5,000.

            Well, you've left out those 60 people who are twiddling their thumbs for 100 hours because the "super-speedy C version" of their app doesn't exist yet. That's 60 people * 100 hours of thumb-twiddling * $8.00/h = $48,000 of money that is lost as users eagerly await the software that is going to save them $4,160 per year.

            In your world, they'll break even in around 12 years. Funny, you haven't convinced that development time isn't the leading factor in the cost equation.
            [ Parent ]
          • Re:Power is cheap, time is expensive. by Ravatar (Score:2) Thursday March 16 2006, @07:52AM
          • Re:Power is cheap, time is expensive. by nmg196 (Score:2) Thursday March 16 2006, @08:33AM
          • Win32 promotes bugs by Makarakalax (Score:2) Thursday March 16 2006, @09:39AM
          • 1 reply beneath your current threshold.
        • Re:Power is cheap, time is expensive. by rseuhs (Score:2) Thursday March 16 2006, @04:50AM
        • Re:Power is cheap, time is expensive. by NynexNinja (Score:1) Thursday March 16 2006, @10:09AM
        • 1 reply beneath your current threshold.
      • Re:Well DUH by Major Wedgie (Score:1) Thursday March 16 2006, @01:15AM
      • Re:Well DUH by Com2Kid (Score:1) Thursday March 16 2006, @03:38AM
        • Re:Well DUH by slashdotwannabe (Score:1) Friday March 17 2006, @01:14AM
          • Re:Well DUH by Com2Kid (Score:1) Saturday March 18 2006, @01:10AM
        • 1 reply beneath your current threshold.
      • Re:Well DUH by jlarocco (Score:2) Thursday March 16 2006, @04:04AM
      • Re:Well DUH by chhupa_rustam (Score:1) Thursday March 16 2006, @05:11AM
      • Re:Well DUH by Kanasta (Score:2) Thursday March 16 2006, @05:47AM
      • Re:Well DUH by Sfing_ter (Score:1) Thursday March 16 2006, @05:48AM
      • If it ain't broke... by gravyface (Score:1) Thursday March 16 2006, @09:08AM
      • Re:Well DUH by RingDev (Score:2) Thursday March 16 2006, @09:17AM
      • Re:Well DUH by Hosiah (Score:2) Thursday March 16 2006, @09:18AM
      • Re:Well DUH by MickDownUnder (Score:1) Thursday March 16 2006, @09:46AM
      • Re:Well DUH by sfontain (Score:1) Thursday March 16 2006, @10:39AM
      • Re:Well DUH by dzfoo (Score:2) Thursday March 16 2006, @11:41AM
      • Re:Well DUH by Skreems (Score:2) Thursday March 16 2006, @01:56AM
      • 4 replies beneath your current threshold.
    • by Colin Smith (2679) on Wednesday March 15 2006, @10:34PM (#14930109)
      Are supposed to run like glacially slow dogs, which have just been fed a tranquiliser overdose?

       
      [ Parent ]
    • Re:Well DUH by jbplou (Score:3) Wednesday March 15 2006, @10:38PM
    • Re:Well DUH by this great guy (Score:2) Wednesday March 15 2006, @10:43PM
    • Re:Well DUH by accident (Score:1) Thursday March 16 2006, @02:07AM
    • Re:Well DUH by LexMan (Score:1) Thursday March 16 2006, @07:15AM
    • Re:Well DUH by swordfish666 (Score:1) Thursday March 16 2006, @07:57AM
    • 3 replies beneath your current threshold.
  • Mono (Score:4, Interesting)

    by zbyte64 (720193) on Wednesday March 15 2006, @10:00PM (#14929946)
    (http://www.zbyte64.com/)
    I wonder if the Mono project had any effect on their decision... Imagine porting windows apps to *nix via Mono. But maybe I'm just making a mountian out of a hill...
    • Re:Mono by djradon (Score:2) Wednesday March 15 2006, @10:08PM
      • Re:Mono by aussie_a (Score:2) Wednesday March 15 2006, @10:11PM
      • Re:Mono (Score:5, Interesting)

        by Zeinfeld (263942) on Wednesday March 15 2006, @10:41PM (#14930140)
        (http://dotfuturemanifesto.blogspot.com/)
        This seems like a vote of no-confidence. You'd think the marketing people, at the very least, would've told someone "We have to include at least one hosted app or service in Vista, or people are going to think the CLR and .NET APIs are second-class environments."

        Vista does not provide any new applications though. The main changes are deep in the O/S at the level where folk used to argue over high level language vs assembler. The user interface eye candy is expensive enough in cycles without using a set of relatively new compilers.

        Longhorn has been in development for 6 years now. The last thing Microsoft needed to do was to introduce another delay for any reason.

        Today managed code is slower than the best optimized C. It is on a par with average quality code. There was a time when the same was true of C code vs assembler. Today the number of coders who can produce code that is faster than compiler generated is pretty small and even they can't keep it up for very long. I don't think it will be long before the same is true of CLI code, particularly if the code is optimized for the platform at install time.

        Unlike Java CLI code has exactly the same information available as the standard microsoft C++ compiler, plus it knows the exact target processor. The only thing that dings managed code performance wise is having the garbage collector running.

        [ Parent ]
        • Re:Mono by 2nd Post! (Score:2) Thursday March 16 2006, @12:54AM
          • Re:Mono by ScottyH (Score:1) Thursday March 16 2006, @01:50AM
            • Re:Mono by 2nd Post! (Score:2) Thursday March 16 2006, @09:20AM
          • Re:Mono by jcr (Score:2) Thursday March 16 2006, @03:11AM
          • Re:Mono by Nurgled (Score:2) Thursday March 16 2006, @07:34AM
            • Re:Mono by 2nd Post! (Score:2) Thursday March 16 2006, @09:32AM
          • 1 reply beneath your current threshold.
        • Re:Mono by R3d M3rcury (Score:2) Thursday March 16 2006, @02:23AM
        • Re:Mono by anzev (Score:1) Thursday March 16 2006, @03:17AM
          • Re:Mono by Zeinfeld (Score:2) Thursday March 16 2006, @12:00PM
      • 1 reply beneath your current threshold.
    • Re:Mono by kabz (Score:1) Wednesday March 15 2006, @10:09PM
      • 1 reply beneath your current threshold.
    • Re:Mono by misleb (Score:2) Thursday March 16 2006, @01:27AM
      • Re:Mono by drinkypoo (Score:2) Thursday March 16 2006, @02:18PM
        • Re:Mono by misleb (Score:2) Friday March 17 2006, @01:45PM
    • Re:Mono by angulion (Score:1) Thursday March 16 2006, @09:06AM
    • 1 reply beneath your current threshold.
  • So.... (Score:2, Insightful)

    by Anonymous Coward on Wednesday March 15 2006, @10:01PM (#14929947)
    So what... We donot use JVM as an OS. Every tool has a purpose. ".Net" is not created to be able to write an OS from scratch.
    • Re:So.... by Evers (Score:2) Wednesday March 15 2006, @10:08PM
    • Re:So.... by Comatose51 (Score:2) Thursday March 16 2006, @12:50AM
      • Re:So.... by Overly Critical Guy (Score:2) Thursday March 16 2006, @01:16PM
    • Re:So.... by Overly Critical Guy (Score:2) Thursday March 16 2006, @01:13PM
    • 1 reply beneath your current threshold.
  • Not a good basis for decision (Score:1, Insightful)

    by Anonymous Coward on Wednesday March 15 2006, @10:02PM (#14929955)
    Writing bare-metal OS software vs. application programs is not a good comparison. DotNet was never sold on its principles of performance, but instead on its simplicity of development. That simplicity does not come at zero cost, so when writing base OS function, it is paramount to focus on features and performance, not ease-of-implementation.
  • by Anonymous Coward on Wednesday March 15 2006, @10:03PM (#14929958)
    is that it's not dependent on Blu-Ray.
    • 1 reply beneath your current threshold.
  • Uh... (Score:2, Insightful)

    by Anonymous Coward on Wednesday March 15 2006, @10:05PM (#14929964)
    Isn't it impossible to do that anyway? .Net (or C# rather) is an interpreted language, and it needs an interpreter to be running in a host operating system. That interpreter needs to be run somewhere, but I don't think between the processor and the kernel is an especially good place for it.
  • Not suprising. (Score:4, Insightful)

    by rfernand79 (643913) on Wednesday March 15 2006, @10:07PM (#14929975)
    This is not surprising. Performance-sensitive applications (just as the shell, explorer or whatever they call it) would suffer from not being built with optimised, native code. Just remember the OS X Finder (pre-10.2). It was not multi-threaded and made using the UI practically impossible.

     
  • The proof is not OS services (Score:5, Insightful)

    by BadAnalogyGuy (945258) <BadAnalogyGuy@gmail.com> on Wednesday March 15 2006, @10:07PM (#14929977)
    The proof is in their application layer. Office, Visual Studio, and their other user applications.

    People like to complain about MFC, but fail to realize that Visual Studio, from its humble beginnings up through VS6, was based on MFC.

    Besides that, the value of a tool is not determined by what the toolmakers do with it, but with what you can do with it. When you see proved over and over that .Net provides many more facilities to the underlying operating system than most other runtime packages that came before it, and that it does so in a way that makes programming in that environment a pleasure, then you see the value of .Net.

    Microsoft deciding to keep OS components in native code is not indicative of anything.
  • by sexyrexy (793497) on Wednesday March 15 2006, @10:10PM (#14929991)
    ...Not bottom-level performance systems. I love .NET, but no one in their right mind would write anything in it where performance is a key factor. Web applications and office productivity enhancers are not even in the same arena as, say, your network protocols implementation layer.

    I'm not sure how realistic it is to even try to write OS-level stuff in .NET... the difficulties would completely negate any development speed gains.
  • Can't blame them (Score:5, Interesting)

    by electromaggot (597134) on Wednesday March 15 2006, @10:12PM (#14929998)
    I spent a year developing games (yes, believe it or not) in C# under "managed" DirectX. Keeping up with the various versions of the runtimes required (D3DX) was difficult... and just to test our game, it took over 3 minutes to recompile and get it to come up under the just-in-time compiler. That was for each tweak-code/recompile/test-to-see-how-it-looks iteration -- talk about killing my productivity! The first opportunity I got to take a job back in the C++ "non managed code" games world, I took it! Good riddance. I see why they don't want to use it either. Just more bloat from the kings of overkilled Fronkenschtinian solutions.
    • Re:Can't blame them by jbplou (Score:2) Wednesday March 15 2006, @10:33PM
    • Re:Can't blame them by vosgienne (Score:1) Wednesday March 15 2006, @10:38PM
    • Re:Can't blame them (Score:4, Insightful)

      by GreggBz (777373) on Thursday March 16 2006, @12:33AM (#14930555)
      (http://www.outerspacecrew.net/)
      Uhh.. I call shenanigans.
      I write games also in, get this... VB.NET. (Which turns into the same CLR code as any other managed language)
      Fairly complex stuff, not commercial quality, but impressive none the less. Commercial quality of 4-5 years ago maybe. My current project has about 180 pages of source and that compiles in about 15 seconds on my 2.5Ghz machine. I'm using DirectX 9.0 SDK summer update 2005. You're aware that Quake II was ported to .NET and runs just fine? http://www.vertigosoftware.com/Quake2.htm [vertigosoftware.com] Compiling that took about 90 seconds on my machine. I noticed approximately 80-90% the performance level of the original C / Assembly version. Maybe there is something wrong with your code, or design.

      My development experience in VB.NET has been a pleasure. I write bash/perl shell scrips at work all day so this is polar opposites. The brain dead IDE and syntax makes things nice and easy, and I can focus on problem solving and complex algorithms. Also the speed penalty is more than acceptable, unless you are writing some very serious games.
      [ Parent ]
    • 1 reply beneath your current threshold.
  • by Bucc5062 (856482) on Wednesday March 15 2006, @10:12PM (#14930003)
    and the winner is? wait, I'm sorry, I thought this was informative. As a long time MS developer (sigh, yes I can imagine the flames as I type) I really do not see the deep value of this article.

    As it stands today, I have to deliver MS framework 1.x or 2.x or flipin x.x because it is not part of the basic OS. As a coporate developer I have to get our platform installers to push framework out so I dont have xx mg added to my installs. What would be the miracle would be that MS actually implemented an OS that had all the damn components in place (gasp) like it use to be, instead of today were I need to tell users to upgrade to FW then install the app. I try to stay within the envelope, it is MS that keeps changing the edges. How about getting back to basics where the OS, when released had it all.
  • The point here... (Score:2, Insightful)

    by Anonymous Coward on Wednesday March 15 2006, @10:13PM (#14930007)
    .. not that an OS could be written in .NET, but Microsoft going back on their words. Having the OS based on .NET would be a nightmare with the runtime overhead and would slow down the OS too much.Windows would certainly lose ground to other OS due to demanding hardware requirements.
  • If you code an object in .Net, you open the object up to reuse by external applications by default. This can be managed through certain programming practices, but the benefit of OO design is that the objects that you create can be reused in ways you hadn't imagined.

    Now imagine that Microsoft's utility programs had a security vulnerability. In their managed code, you jokers.

    Exporting objects that were fully reflective is asking for trouble. It's probably bad enough that you can tear apart binaries now with a good debugger and resource editor. It will be much worse if those programs actively advertised their services.
  • So if we project trends out a couple of years more of GNOME will be C#/.NET than Vista. Figures. So basically .NET was just something to slow down third party Windows devels (and the GNOMEs) and sow discord into the Java weenie camp.
    • 1 reply beneath your current threshold.
  • Should consider only new code (Score:2, Insightful)

    by Anonymous Coward on Wednesday March 15 2006, @10:15PM (#14930015)
    When looking at the ratio of .net vs. native, it would make more sense to consider only new code as opposed to all code. It is unrealistic to expect the existing codebase (like explorer) to be rewritten.
  • Java Appliance (Score:1)

    by kevlar (13509) on Wednesday March 15 2006, @10:18PM (#14930030)
    This sort of ridiculousness reminds me of Sun's disasterous failure with their Java OS/Appliance shit they tried pushing about 6 yrs ago. Its stupid to base an OS on a virtual machine architecture. The entire purpose of an OS is to offer services efficiently so that apps don't have to implement their own functionality to control devices.
  • Consider the alternative... (Score:3, Insightful)

    by mattgreen (701203) on Wednesday March 15 2006, @10:20PM (#14930040)
    If they had put .NET into Vista, then this article would be along the lines of "OMG MS PUTS INEFFICIENT CODE IN THEIR SHELL" and then blather endlessly on about how all real applications are written in [low-level-language]. Then we'd all sit around and wax about how wonderful it is that Gnome is pure C (and ignore the fact that Mono is associated with it because of cognitive dissonance).

    Really, nobody can win when you sit there and pick apart everything someone does out of sheer spite. But I suppose it is far too unreasonable to ask for informed discussion these days...
  • Irrelevant (Score:5, Interesting)

    by popeyethesailor (325796) on Wednesday March 15 2006, @10:21PM (#14930044)
    I respect Richard Grimes' writing, as a .NET programmer. However, I cant figure out his rants on .NET's directions.

    This issue is largely irrelevant; .NET was never promoted as a systems programming environment - a few tasks such as network programming and higher-level services may have some benefits, but throwing out well-tested subsystems because of a new framework is asinine. There are tons of things MS is building with .NET - for example, I assume ASP.NET is a fairly large codebase, and it's completely built with .NET(no pedantic comments about ISAPI filters pls..) And their research team is building a C#-based OS called Singularity from the ground-up. I'd like a few more things to be .NETized, but my expectations are lesser than Mr.Grimes'.
    • Re:Irrelevant (Score:5, Interesting)

      by kabz (770151) on Wednesday March 15 2006, @10:40PM (#14930133)
      (http://www.jonathanwatmough.com/ | Last Journal: Saturday February 04 2006, @11:25AM)
      He's not ranting. His expectation was that many of the peripheral services in Vista would be built in .NET, as was the case with the PDC 2003 release of Longhorn. However, if you track through the links to various articles about Microsoft and the Longhorn 'reboot', you find that .NET was pulled from this OS role due to the lateness of .NET 2.0 and the fact that machines that would run .NET services at a reasonable speed are 6 years (now 3 years) down the road.

      This has all the hallmarks of the ass-kickings that Bill Gates handed out during NT development. The ass-kickings that pushed the graphics code into the kernel spring to mind here.

      All this is kinda interesting, since my job has kept me in VC6, and I've mostly missed out on using .NET. This is probably good, since I've sinced switched to objective-C and Cocoa for my personal development needs. This is great since Apple doesn't pull the same crap as MS does about supplying a crappy UI library, then using a much better one in it's own products. e.g. any Office 2003 app etc etc.
      [ Parent ]
      • Re:Irrelevant by sheldon (Score:2) Thursday March 16 2006, @12:05AM
      • 1 reply beneath your current threshold.
    • Re:Irrelevant by caspper69 (Score:3) Wednesday March 15 2006, @10:55PM
    • Re:Irrelevant by killjoe (Score:2) Wednesday March 15 2006, @11:42PM
    • Re:Irrelevant by IamTheRealMike (Score:2) Thursday March 16 2006, @03:00AM
  • No Duh (Score:3, Insightful)

    by NullProg (70833) on Wednesday March 15 2006, @10:25PM (#14930068)
    (http://slashdot.org/ | Last Journal: Wednesday November 07, @10:21PM)
    Vista has no services implemented in .NET and Windows Explorer does not host the runtime, which means that the Vista desktop shell is not based on the .NET runtime.

    Why would Microsoft want to slow Windows down any further?
    Ask Linus why he isn't using the JVM inside the kernel. Ask the KDE team why every call doesn't go through the JVM. Its a stupid assumption that any Vista program would run under the .Net runtime.

    A better question would be to ask Microsoft why they won't allow anyone to publish program benchmarks for Java vs .Net runtimes.

    Enjoy,

    • Re:No Duh by 0xdeadbeef (Score:3) Wednesday March 15 2006, @11:21PM
      • Re:No Duh (Score:5, Informative)

        by NullProg (70833) on Wednesday March 15 2006, @11:39PM (#14930372)
        (http://slashdot.org/ | Last Journal: Wednesday November 07, @10:21PM)
        I see nothing in that EULA that prohibits benchmarks against Java.

        Bullshit, and this pisses me off to no end.

        My link and several others: http://www.msdnaa.net/EULA/EMEA/English.aspx [msdnaa.net]


        2.6 Benchmark Testing. You may not disclose the results of any benchmark test of Server Software (as defined below in Section 4.1) or the .NET Framework component of the Software to any third party without Microsoft's prior written approval. The foregoing does not, however, apply to the Server Software for Windows Server or Exchange Server.


        Your Link has stipulations:
        http://msdn.microsoft.com/library/default.asp?url= /library/en-us/dnnetdep/html/redisteula.asp [microsoft.com]

        *You may conduct internal benchmark testing of the .NET Framework component of the OS Components (".NET Component"). You may disclose the results of any benchmark test of the .NET Component, provided that you comply with the following terms: (1)


        Go read the compliance of terms.
        Enjoy,
        [ Parent ]
        • Re:No Duh by Allador (Score:1) Thursday March 16 2006, @12:24AM
          • Re:No Duh by powerlord (Score:2) Thursday March 16 2006, @11:24AM
          • Re:No Duh by NullProg (Score:2) Saturday March 18 2006, @12:04AM
          • 1 reply beneath your current threshold.
      • Re:No Duh by panaceaa (Score:3) Thursday March 16 2006, @01:52AM
        • Re:No Duh by Surt (Score:2) Thursday March 16 2006, @12:11PM
    • Re:No Duh by Goalie_Ca (Score:2) Wednesday March 15 2006, @11:24PM
    • Re:No Duh by WhiteWolf666 (Score:2) Thursday March 16 2006, @01:06AM
      • Re:No Duh by NullProg (Score:2) Friday March 17 2006, @09:23PM
  • Dogfood (Score:2, Insightful)

    by Doc Ruby (173196) on Wednesday March 15 2006, @10:27PM (#14930072)
    (http://slashdot.org/~Doc%20Ruby/journal | Last Journal: Thursday March 31 2005, @01:48PM)
    When Microsoft took over Hotmail, it took them years and many failed efforts to switch it over from unix to Windows. I'm not actually convinced they ever fully pulled it off.

    20 years of Windows, and the more expert we are in either/both Windows and unix (or Linux), the less likely we are to use Windows technology for our most important development. Especially stuff that's less than 10 years in the field.
    • Re:Dogfood by Doc Ruby (Score:2) Wednesday March 15 2006, @11:24PM
    • Re:Dogfood by jcr (Score:2) Thursday March 16 2006, @03:20AM
    • Re:Dogfood by Doc Ruby (Score:3) Thursday March 16 2006, @09:17AM
    • 2 replies beneath your current threshold.
  • So? (Score:5, Informative)

    by WalterGR (106787) on Wednesday March 15 2006, @10:29PM (#14930083)
    (http://onlineslangdictionary.com/)

    Read this blog posting [msdn.com] by Dan Fernandez:

    "...For those of you that refuse to believe, here's an estimate of the lines of managed code in Microsoft applications that I got permission to blog about:

    • Visual Studio 2005: 7.5 million lines
    • SQL Server 2005: 3 million lines
    • BizTalk Server: 2 million lines
    • Visual Studio Team System: 1.7 million lines
    • Windows Presentation Foundation: 900K lines
    • Windows Sharepoint Services: 750K lines
    • Expression Interactive Designer: 250K lines
    • Sharepoint Portal Server: 200K lines
    • Content Management Server: 100K lines
  • What? (Score:2)

    by d_jedi (773213) on Wednesday March 15 2006, @10:35PM (#14930111)
    Is Solaris written in Java, now?
    • Re:What? by maelstrom (Score:3) Wednesday March 15 2006, @10:56PM
      • Re:What? by Profound (Score:2) Thursday March 16 2006, @05:04AM
        • Re:What? by ultraklon (Score:1) Thursday March 16 2006, @05:25AM
  • by JSchwage (961515) on Wednesday March 15 2006, @10:35PM (#14930115)
    (http://www.grupenet.com/)
    I can't believe that Microsoft is actually making a good decision for once. Although .NET may be easy to work with, it's quite slow. I'm glad to see they're slowly moving away from .NET. I wouldn't mind if it died out anyway.
  • Big surprise (Score:2)

    by maelstrom (638) on Wednesday March 15 2006, @10:37PM (#14930120)
    (http://hivearchive.com/ | Last Journal: Thursday March 07 2002, @10:39PM)
    .Net was one of the few technologies that I've seen come from Microsoft in recent years where I've actually said, "hey that's pretty slick, good call!"

    So of course they'll let it languish. Anyone heard any status from Parrot?

  • Reflection! (Score:5, Insightful)

    by bencvt (686040) on Wednesday March 15 2006, @10:44PM (#14930156)
    Other than the obvious execution speed issue, there's a second factor involved that's nearer and dearer to Microsoft's heart: protection of their IP.

    .NET has excellent reflection support. Consequently, .NET assemblies are easily decompiled. And there are numerous freely available tools [microsoft.com] to do this.

    Sure, there's obfuscation. Doubtlessly, MS already uses obfuscation extensively in every one of its published .NET assemblies.

    But obfuscation will only get you so far. Your garden-variety reverse engineer will have an easier time working with obfuscated .NET code than traditional assemblies.

  • This wouldn't be the first time (Score:3, Interesting)

    by Whatsmynickname (557867) on Wednesday March 15 2006, @10:46PM (#14930162)

    While, a few years ago, Microsoft was pushing the MS koolaid drinking developers towards MFC (which I used for some projects), MS used WTL (Windows Template Library) for projects such as Office! Think I'm smoking crack? At one point, I renamed all the MFC DLLs in my system and then proceeded to try all the apps in my system to see which ones were dependant on MFC. Guess which ones weren't? That's right, Microsoft products, such as Office, weren't (use Dependancy checker to verify)! Don't know what they're using for Office now, though...

    Although MS never really officially supported WTL too much (was on MSDN CDs at one point if you knew where to look), it had a great fan base. I used it for a few apps, and it produced some of the tightest GUI code I've ever seen! With no DLL dependancies either! MS apparently dropped support, but now it's on Sourceforge, so it's still available.

    Great, just when they finally got me to drink the forking .NET koolaid, they have to switch it on developers AGAIN! Just how much crap will MS developers take?!?!?! You know, I do like the .NET forms library and the way it's cross language compatible, but couldn't this have been done WITHOUT putting all this on a virtual machine?!? Virtual machines make working on real world apps a pain to develop, IMHO, with having to interface with legacy libraries and the performance issues wrapped around those interfaces...

    • Re:This wouldn't be the first time by Joe U (Score:2) Wednesday March 15 2006, @11:22PM
    • Re:This wouldn't be the first time by SnarfQuest (Score:2) Thursday March 16 2006, @12:19AM
    • Re:This wouldn't be the first time (Score:5, Informative)

      by man_of_mr_e (217855) on Thursday March 16 2006, @01:47AM (#14930878)
      Dude, you've never heard of static linking?

      It's amazingly simple to determine if MFC is being used statically in an application. Look for the teltale signs in the Windows classes with Spy++ or dump the executables and find the symbols.

      Ok, just fired up spy++ and took a look at Outlook and guess what? One of the windows under the root window is AfxWndW, MFC finger prints right there.
      [ Parent ]
  • nothing new, duh! (Score:1)

    by smartsaga (804661) on Wednesday March 15 2006, @11:21PM (#14930311)
    If vista's explorer is not hosting the runtime it does not mean that it won't support the .NET platform. It only means that it is now less risky to have a .NET app running and that if it crashes, when it does, it will not take down the OS along with it.

    It would seem that this is more like the JVM that takes care of eating it own dogfood.

    And like many people have said here already, .NET is easy on development it was not advertised that it would be the fastest thing in the world. Have a good one. P.S. Don't bother to reply to this 'cause I rarely ever check my posts.
  • Seriosuly. (Score:2, Informative)

    by Dogun (7502) on Wednesday March 15 2006, @11:24PM (#14930323)
    (http://www.indistinct.net)
    Whoever thinks that writing the most heavily stressed user-mode components of your operating system in anything other than native code is a good idea, please raise your hands.

    Guards, please remove those hands, that these fools never type a line of code again.

    'Nuff said.
    • Re:Seriosuly. by Jussi K. Kojootti (Score:2) Thursday March 16 2006, @03:30AM
  • Companies like Microsoft [remotesoft.com] and Sun [fortunecity.com] have always provided easily de-compiled languages for others to use, and not used them themselves.

    (The links provided are just the first listed for the searches ".NET De-compile" and "Java De-compile". There are many de-compilers, and the ones linked are not necessarily the best.)

    --
    Movie claims overthrow of the U.S. government: Loose Change, 2nd Edition [google.com].
  • by Aqua04 (859925) on Wednesday March 15 2006, @11:29PM (#14930344)
    (Last Journal: Tuesday February 20 2007, @07:44AM)
    .Net and Windows Vista, even separately neither of these sound appealing to me. Combined, wow, that's as appealing as, say, some raw Rhubarb & a hefty slice of Blue Cheese.
  • Microsoft actually advises pretty strongly against using managed code for extensions to Windows explorer due to issues with language version binding that can cause problems in some cases.

    It shouldn't be too much of a surprise that they aren't really using it so much themselves as a result of that.
  • bad PR but good SE (Score:3)

    by penguin-collective (932038) on Wednesday March 15 2006, @11:48PM (#14930405)
    It's bad PR that Microsoft isn't using it .NET more aggressively in Vista, but it's also good software engineering: it doesn't make sense to rewrite large amounts of mostly working code, in particular when a company is already years behind on its schedule. Still, it would make sense for them to start moving some services over to .NET, like personal web server, FTP, and a few others, not just to spread .NET, but also to make them more robust and secure.

    None of this has any bearing on whether it's a good idea to use .NET for new services or applications--it is.

    The primary market for .NET will initially be custom software development, where it has big advantages. That's the place where software like Cocoa started as well; it takes many years for a platform to become mainstream after such beginnings.
  • so i've heard (Score:2, Informative)

    by Anonymous Coward on Wednesday March 15 2006, @11:53PM (#14930421)
    I've heard a few rumors that MS has already gotten pretty far with the .Net successor. We will see a V3 .net, but after that something different. Rumor also is that efforts that would be going into Vista .Net is being put into the successor. If you look at history, it took a while for MS to really fully embrace com as part of the OS, but when they did, it was fairly complete. Here we are in V2 of .Net and there are several huge missing pieces (WIA, full DirectX, still poor web app dev support etc) so you kind of have to assume it (.Net) is a stop gap. At least that is what I'm hearing.
  • .Net in Windows ? (Score:1)

    by cpatil (955342) on Thursday March 16 2006, @12:39AM (#14930576)
    (http://convergence.in/blog)
    In school, I had read a paper on qualifying software tools for use in US Military and Airforce. Specifically the compiler, used to build software should be certified at D0-178B(I think) standards. Myearliest lesson was if the tools used to build software were poor, then the software built using those tools could never be better. Likewise, VISTA would have created history for being the most expensive software project that failed to take off. And finally, fire Cutler & Allchin ;-)
  • We had someone out to interview last month who is currently at Microsoft working on Windows. He said that the major reason that Vista is so late is that they had to rollback all of the development to remove all of the managed code because performance had gone to hell. Every thing that had been done in managed code had to be reimplemented from scratch. Ouch.
    • 1 reply beneath your current threshold.
  • The real story (Score:5, Interesting)

    by Anonymous Coward on Thursday March 16 2006, @01:28AM (#14930812)
    This has been leaked several times. It'll probably be leaked again and ignored again. Here it goes.

    Vista had been built around .NET almost entirely. Avalon, Indigo, WinFS, tons of other application and API layers were built on .NET tech. Yes, you heard me - the new graphics layer was going to be a .NET system, primarily. Older systems were being ported to .NET. Any new features were to be written in .NET. It was a huge initiative.

    One of the things this initiative depended on was the way that .NET handled versioning. This wouldn't be complete until the next iteration of .NET - past VS 2005 (Whidbey). This was considered a pretty risky thing - to depend on this way to deal with versioning that hadn't even come out yet. In the middle of 2004 it was discovered or hashed out that the versioning story was just not going to work.

    An aside: what do I mean by versioning? For instance, let's say you've got a .NET assembly that depends on the 1.1 framework. You've got another that needs the 2.0 framework. Both of these need to be accessible via the same process, potentially - otherwise you're in a worse version of DLL hell. Note that this is impossible to do currently via Java; having multiple packages that need different versions of Java to run can not run in the same package without recompilation. Microsoft's original answer was to have a sort of virtual-VM that would allow this to run, but for whatever reason it was scrapped.

    When this versioning problem came up, it was decided by the higher ups that ALL .NET parts of Longhorn/Vista would be cut except under really extreme situations. This is why Avalon, Indigo, Monad and a host of other features that were going to be part of Vista natively will now be addons - because they were deemed too dangerous to ship with.

    Long story short - MS had every intent of having performance-critical APIs, applications and big parts of the OS be in .NET - and it looked like they were going to be able to do it too. These were all cut because of the versioning issue, not the performance issue.
  • Forget Sun... is Apple using Cocoa? (Score:5, Interesting)

    by DECS (891519) on Thursday March 16 2006, @01:39AM (#14930851)
    (http://www.roughlydrafted.com/ | Last Journal: Friday August 11 2006, @11:13PM)
    Microsoft's inability or disinterest in leveraging their .Net API to rapidly build new applications and system utilities stands in stark contrast to Apple use of Cocoa, the API they're selling to their developers.

    Apple uses Cocoa not only to rapidly build new freestanding apps like iPhoto, but has rebuilt bundled apps like Mail with it, as well as pretty much everything that isn't Java or a standing legacy codebase (like iTunes or the Finder, which was ported from OS 9 in Carbon). Apple is very much eating their own dog food, so that the direction they sell to developers is actually being put into practice at home, and actively being developed by its owner (and premier user).

    The difference:

    - Cocoa isn't a flavor of the month. It has functional origins back into the 1989 release of NeXTSTEP, making it over 15 years old.
    - Apple moved decisively to Cocoa after revealing their strategy for Mac OS X around 2000.
    - The work to modernize the NeXT APIs into today's Tiger Cocoa (yum) is comparable to delivering .Net 2.0 - more than 1/2 a decade.
    - Cocoa has incrementally absorbed an increasing role in Mac OS X as it expands to encompass new functions that were only available procedurally before in Mac OS X.

    So Apple has a strategy that they are decisively using, while Microsoft takes wild stabs at various things, few of which ever get to mature before a new stab is announced.

    Microsoft 2006 sounds a lot like Apple 1996. The difference: there isn't another NeXT for Microsoft to buy.
  • stupid microsoft (Score:1)

    by szhao (945234) on Thursday March 16 2006, @01:52AM (#14930895)
    1. heard about the longhorn restart? lol, this has been long predicted 2. a lot of windows applications are being developed in .net 3. mono = linux implementation of .net that came AFTER .net was developed (though pretty well done) 4. people will eventually have c# notepad, it is only a matter of time 5. singularity, singularity, singularity, its actually quite interesting in concept; However, in practice it is something extremely different. 6. in practice certain components of managed, can be compiled down to native with special experimental compilers (was talking to some guy that was working on singularity about this earlier) 7. yes, no one in their right mind write the quickest and slickest code in managed, but it is (in my preference the easiest to naturally understand) 8. i probably would never go back to native for any of my research projects, for the sole reason that it is easier to think about the problem rather at the efficiency for example it is easier to think about webservices, objects, delegate than cgi, structures with functions, and function pointers (even though they are virtually the same thing respectively) 9. actually if you guys haven't realized a good amount of new softwares (as quoted above) have been done in dot net, the most common example that anyone can view is their website. 10. I am completely disappointed in they way they are running most of their projects (especially some of their live projects) SIGH.... live messenger beta was much better before the stupid update lol.
  • Reasons I can think of (Score:3, Insightful)

    by rikkus-x (526844) <rik@rikkus.info> on Thursday March 16 2006, @04:03AM (#14931276)
    (http://rikkus.info/)
    1. Large parts of Vista are built on existing code. If something's not broken, you don't rewrite it from scratch just so that you can say that you're using the latest and greatest technology. Not if you're smart, anyway.
    2. Windows Forms applications feel slightly sluggish and start slower than native - even for very simple applications.
  • ATI CC (Score:1)

    by octopus72 (936841) on Thursday March 16 2006, @05:40AM (#14931530)
    If managed code means something like ATI Control Center, then I'm happy that MS didn't develop it's core windows applications in .NET.

    Of course we all in the end use third party software because MS always avoids support for common formats in it's picture viewers, music players (their media player sucks in fact), etc.
    • Re:ATI CC by zlogic (Score:1) Thursday March 16 2006, @11:01AM
  • by Tim C (15259) on Thursday March 16 2006, @06:25AM (#14931663)
    So, what, MS is telling people to write their OSes in .NET? Or could you just not resist yet another cheap, meaningless shot?
  • In other news (Score:2)

    by borgboy (218060) on Thursday March 16 2006, @08:28AM (#14932118)
    Solaris is written in C!

    OMG!

    No Way!
  • The idea of the .NET framework is to make it easy to create robust applications quickly, writing as little code as possible.

    The goal of Operating System code is to be as fast as possible.

    The two goals aren't best solved in the same way, which is why MS didn't solve them that way. The important thing is that you can use .NET to add on functionality to the core OS seamlessly.
  • by appdev (961628) on Thursday March 16 2006, @11:17AM (#14933849)
    (http://www.appdev.info/)
    There are some very legitimate reasons for us to look to Microsoft to use .Net extensively in their own products, including parts of the OS.

    Readers here have seen the "dogfooding" idea, and have seen lots of arguments for why this makes sense in terms of getting requirements and design right. For a framework as sweeping and critical as .Net, that means real use in real apps by Microsoft. Now.

    I don't think there are too many people who would expect low-level code to be written in .Net (kernel, drivers, etc.). But lots of stuff in a modern OS distribution is really bundled applications. As "JSD" pointed out, components like Outlook Express are bundled applications, not core OS components. Survey 1000 people and ask if they'd rather have sucure, bug-free browsing and email or have Outlook Express run 2% faster. Anyone have any doubt at all about the results?

    Besides, the argument that unmanaged code is faster than managed code falls pretty flat on me. I completely agree that a good coder should be able to beat .Net with C++, but one of the reasons for a framework like .Net is that you want to make most apps perform very well, rather than just a few apps perform exceptionally well, and the rest run like crap or never get finished at all. A reasonably competent developer should be able to pick up a framework like .Net and use objects and data structures that are already developed, tested, and optimized. The reult may not be as fast as recoding the exact right algorithm in a native language, but for most developers and most development, they're going to end up with a better app than if they'd written it from scratch. That's why we use high-level languages, folks.

    I think what this really points to is a combination of two factors, both of which are a little unsettling.

    First, Microsoft is subject to the same product planning dynamics as the rest of us. For existing code and existing apps, virtually any incremental change will be more economical and less risky when built on an existing code base. Even the iffy cases will *appear* less risky when built on an existing code base. In order to undertake an architectural change, you have to have a pretty compelling reason to do so, and a good bit of courage to shelve the old stuff and move forward. This hasn't happened in a meaningful way in Vista.

    Why is this disturbing? Simple. This points to the depth of reengineering that's going into making the OS and apps more stable and more secure. Very often, the right thing to do when fixing a bug is to find the specific pinprick in the code and patch it. Sometimes, however, when you start to accumulate enough bugs in one place, you have to consider whether there's a systemic problem in that area. In those cases, the only way to stop the bugs for good is to fix them systemically -- ie, to re-engineer that part of the app. If this is happening anywhere in the Vista code base, why wouldn't it be happening on .Net?

    Which brings me to disturbing point #2. The release date for .Net 1.0 was what - 2002? And it's not like it snuck up on anyone. Let's give MS the benefit of the doubt and say that they all knew about it in 2000 / 2001, so it's been five years, easy. That's plenty of time to work out the bugs in a framework that they expect the rest of the world to build apps with. We've had the .1 releases, and we've had the hotfixes and service packs. It's got to be production-ready now, right? So why isn't it showing up in more of MS's own distributions?

    It's either because any MS OS release is really a bunch of pretty small changes scattered across a staggering number of individual files and components such that MS can't justify rewriting any of the components, or because MS has, as Grimes concludes, lost confidence in .Net.

    I'm a fan of .Net. I'd like to see it
  • Old News (Score:2)

    by ClubStew (113954) on Thursday March 16 2006, @11:52AM (#14934252)

    Have you been living in a hole? Microsoft publicly announced that .NET would not be core to Vista (then, "Longhorn") and listed many reasons why, but that it would consider putting some of the effort back into the V.next release.

    You need to read /. more often if you're going to post crap.

  • Memory Consumption (Score:1)

    by Wolvey (918106) on Thursday March 16 2006, @12:27PM (#14934628)
    Launch notepad.exe and look in Task Manager (yes I know). How much memory does it use? Roughly 2900KB. Now compile a .NET application that does nothing more than:

    static void Main() { Application.Run(new Form()); }

    This uses 6300KB, and we have zero functionality coded. .NET is freaking amazing when you need to write a complex system in a minimal amount of time, but there is a price. If Vista came out and suddenly RAM requirements doubled (they may still) we /.ers would tear 'em a new one.

    Really, we're gonna tear 'em a new one no matter what they do...
  • You know, there's a lot of developers who prefer VS6 to its successors, and there's even community patches to keep the libraries up to spec. It wouldn't surprise me if there's people in Microsoft still using VS6 and checking on VS200x occasionally to take advantage of its tighter syntax checking.
  • Well, duh. (Score:2)

    by moochfish (822730) on Thursday March 16 2006, @01:24PM (#14935303)
    I always thought the power of .NET was its speed for development, not its execution. I think it's kind of silly to think it's some magical tool that makes programming easier AND YET is as fast as native code. I'd be horrified if Microsoft made their OS based on .NET. Everything would be even more bloated than it already is. Seems like a trolling observation to me.
  • Re:What is it anyway? (Score:4, Funny)

    by TrappedByMyself (861094) on Wednesday March 15 2006, @10:30PM (#14930085)
    What is this .NET framework anyway?

    Sorry bub, that ole' free karma trick in the .NET threads don't work much any more.
    Doesn't hurt to try though, I guess.
    [ Parent ]
  • Re:What is it anyway? (Score:3, Insightful)

    by Octorian (14086) on Wednesday March 15 2006, @10:42PM (#14930147)
    (http://hecgeek.blogspot.com/)
    You know, it's funny that you bring it up. Once upon a time, when MS was first talking about .NET, it seemed like people could sit through 2-hour MS presentations and still not know what .NET actually was. Essentially, it was some sort of all-encompassing FUD/vaporware vehicle to get everyone behind a name, without knowing what that name meant.

    Of course today people do know what it is. Essentially, it is like the intermediary java byte-code and VM, with a somewhat language-independent front-end. So you can write .NET apps in multiple languages.
    [ Parent ]
  • Re:z0mg (Score:2)

    by maelstrom (638) on Wednesday March 15 2006, @11:00PM (#14930216)
    (http://hivearchive.com/ | Last Journal: Thursday March 07 2002, @10:39PM)
    z0mg you are a dumbass for not understanding the difference between userland and kernel. Like I said earlier, most Solaris admin tools ARE written in Java. Twit.
    [ Parent ]
  • Re:Of Course! (Score:1)

    by elchuppa (602031) on Wednesday March 15 2006, @11:10PM (#14930260)
    I'm not so sure. I think that C++ is probably the opposite of what you suggest... although I guess that can't be true either. The statement 'to problem solve' is too general. C/C++ when you absolutely must squeeze everything out of the hardware that you possibly can, regardless of whether it means a rewrite each time the general community figures out faster way of doing things. But most of the time, for your average problem, far better I think to use a higher level language like java, ruby, c#. Then you solve the problem more quickly, more robustly, and more concisely, and usually since you're coding to standard API's you get automatic performance gains when your dependencies show up with newer better versions or when your sandbox figures out a faster way to allocate objects or garbage collect. The right tool for the right job my man. I think.
    [ Parent ]
    • Re:Of Course! by Profound (Score:3) Thursday March 16 2006, @05:12AM
      • Re:Of Course! by Naelphin (Score:1) Thursday March 16 2006, @07:32AM
    • 1 reply beneath your current threshold.
  • 16 replies beneath your current threshold.