Analysis of .NET Use in Longhorn and Vista 479
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.""
Re:Uh... (Score:1, Informative)
Re:When the baby came with instructions (Score:3, Informative)
So? (Score:5, Informative)
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:
Re:Not suprising. (Score:3, Informative)
Re:When the baby came with instructions (Score:3, Informative)
[OT, but this sort of misinformation annoys me.]
Are we talking about windows 3.1, because that wasn't really an OS, just an application that ran on DOS.
Given Windows 3.1 did just about everything from hardware interfacing to memory management, I'd say it was pretty damn close to an "OS" (and a hell of a lot more than "just an application").
Windows 1.0, and maybe 2.0 could be put into the "just an application" baskets, but from 3.x onwards Windows was providing most all OS functionality.
Re:What? (Score:3, Informative)
Re:When the baby came with instructions (Score:3, Informative)
Deploy your applications with clickonce. Problem solved.
Re:What is it anyway? (Score:3, Informative)
Java is doing this now, too, but that was not the Java design from the beginning. Java actually was interpreted in a VM;
Yes, yes, the
Re:No Duh (Score:3, Informative)
I see nothing in that EULA that prohibits benchmarks against Java.
People are missing the point anyway. The purpose of managed code is to make DRM unbreakable. Someday soon you will need explicit permission to generate machine code, enforced through the PKI mechanism they already have in place. To flip that "unsafe" switch you'll need a signed certificate, which Microsoft will only sign when you agree to their terms. If you want to see the future of "Trusted Computing", just look to the mobile space, already well on its way to that state of affairs.
Re:This wouldn't be the first time (Score:2, Informative)
That test won't work, as the developer has the option to compile MFC into their application and ditch the dlls. (This may have changed since VS6.0, but I vaguely remember seeing it as an option in VS.NET 2002)
Your sig is a lie (Score:5, Informative)
I know this is entirely off-topic, but I feel I must comment. Frankly, you're wrong. "Affect" and "effect" are both nouns and both verbs.
You can read the verb and noun definitions of affect here [answers.com]. You can read about those of effect here [answers.com], if you want to learn more.
Anyway, please change your sig. It's bad to spread misinformation.
Seriosuly. (Score:2, Informative)
Guards, please remove those hands, that these fools never type a line of code again.
'Nuff said.
Re:Your sig is a lie (Score:4, Informative)
Of course, in they way they are most often [mis]used, affect is a verb and effect is a noun.
Re:No Duh (Score:5, Informative)
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
Your Link has stipulations:
http://msdn.microsoft.com/library/default.asp?url
*You may conduct internal benchmark testing of the
Go read the compliance of terms.
Enjoy,
Re:Well DUH (Score:5, Informative)
You are absolutely right in that MS should rewrite the "basics" like notepad and mspaint. Not because of
so i've heard (Score:2, Informative)
Re:Well DUH (Score:5, Informative)
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.
Re:Not a good basis for decision (Score:1, Informative)
Not a great example, becuase Solaris is primarily a very highly polished UNIX--meaning C code and shell scripts. The default GUIs are GNOME and CDE. The kernel is in C. Most of the new features are in C. There are several utility programs, such as the Update Manager, which are Java, and they do work well, but they aren't a huge part of the system. Where Java shines in Sun's stack are the IDE tools, the J2EE stack, some of their system admin GUI tools, etc., but those are generally add-ons or are part of the larger install settings.
I still love Solaris, though, Java or not.
they did have managed code, but pulled it out (Score:5, Informative)
Re:This wouldn't be the first time (Score:5, Informative)
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.
Re:Because .NET is effectively open source (Score:5, Informative)
Anyway, source for some user-land tools such as Wordpad & Notepad (two candidates for replacement) are already available and part of MS Developer Studio sample code. So I hardly see the harm from being able to decompile a .NET app equivalent. Besides, if you or they were absolutely paranoid about people decompiling your code, you run it through an obfuscator first. Then all of the property names, symbols, code etc. get scrambled around and given random names making it pretty much impossible to follow what is going on.
Re:Can't blame them (Score:3, Informative)
Yes, I am aware of that - it was a great article. However. the 80-90% performance you see with the
Yes, I'm sure you love VB.NET compared to Perl.
Re:Well DUH (Score:5, Informative)
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....
Re:Well DUH (Score:2, Informative)
Re:Well DUH (Score:2, Informative)
It was written 3 years ago though, but seems to make sense still.
Re:Dogfood (Score:3, Informative)
As well as your own "guarantee" that their OS has been substantially changed to accomodate that "new" app. An app that didn't seem to require upgrading unix to originally deploy. An OS that, by its name alone, shows the depths of the switchover fiasco: they started switching in the late 1990s; the 2003 OS is "more robust" as a result; the migration is "still ongoing" in 2006. Everything you say is a lie, or evidence Windows wasn't adequate to the major task, or both.
And you don't know what "guarantee" means.
Why are the Microsoft apologists indistinguishable from the Bush apologists? It's a monopoly thing, I just don't understand.
Notepad *has* changed (Score:3, Informative)