Slashdot Mirror


Microsoft's CLR - Providing a Break from HW Vendors?

eyefish asks: "Is Microsoft's Common Language Runtime CLR (document in PDF form) really a way for Microsoft to slowly stop depending on hardware vendors like Intel to drive the Windows platform, and in the long run as a way to build a hardware-independent Windows platform to fight Java? I'd like to ask the Slashdot community what their thoughts are on this matter. Is there something preventing the CLR from being truly platform independent, now or in the future? How does it compare to the Java Virtual Machine?"

"It seems to me that once the CLR has matured enough, there won't be a need for Microsoft to wait for others to innovate on the hardware front and start offering its own hardware (and charge whatever it wants for it) to go with future versions of Windows.Net. Worst still, 99.99% of the population will not be able to say no to this strategy since they'll have no choice but continue using the Windows monopoly in order to run their favorite apps."

Jamie comments: I don't think it's about hardware innovation, or beating Java. It's about absolute control.

The big money over the next decade will be in transforming the computer into an entertainment device. AOL Time-Warner sees a computer as a revenue producer, with the unfortunate ability to copy digital works. They and the other five media giants want to put a stop to it; Microsoft and Intel will find it very profitable to help them.

One good step along the way is to give the computer a common interpreted language to run everything. We're there already. And when developers have to code to a virtual machine, not the actual bare iron, then whoever writes the virtual machine holds all the cards. And since the authors of the virtual machine will make a lot of money by enforcing intellectual property rights, the arms races are all over: copy protection is absolute, DeCSS won't compile, unauthorized MP3s won't play.

Of course developers rarely write on the bare metal anyway: we write to APIs, we write scripts, we write code that doesn't (need to) run in the CPU's supervisor mode. We're used to surrendering the ultimate control over the machine to the operating system, or to be more precise, to the BIOS that decides how and which operating system to run.

If we surrender this control, though, we'll find ourselves with a monopoly operating system that makes it impossible freely to write code for. (And it's not hard to cut off Linux and every other rogue free OS at the knees. The day that every motherboard's BIOS uses strong crypto to demand the master boot record be signed with a secret key known only to Microsoft is the day that Linux becomes a thing of the past.)

Naturally, to prevent you from firing up GCC and doing a rogue compilation of DeCSS or Lame or other unauthorized code, the operating system will have to stop you from running anything that isn't written in its language for its virtual machine. Requiring code to be signed by a central authority will make its first appearance as virus-prevention but its real purpose too will be control. Universities will be able to buy special licensed exemptions, at least until corporations decide universities are hotbeds of piracy and theft. At which point your alma mater begins teaching Computer Science 101 (and 201, and 301, and 401) in C#.

My prediction is that, unless antitrust legislation in the U.S. gets some teeth between now and then, the PC will become a Gameboy within fifteen years. Enjoy computers while they last.

26 of 514 comments (clear)

  1. Paranoia by easter1916 · · Score: 4, Insightful
    The day that every motherboard's BIOS uses strong crypto to demand the master boot record be signed with a secret key known only to Microsoft is the day that Linux becomes a thing of the past.
    Please, spare me the paranoia. That's like saying, the day author X murders all other authors is the day we all start reading author X. It could happen, but is it likely?
    1. Re:Paranoia by Linux_ho · · Score: 4, Insightful
      For all you paranoids, I would like you to introduce something known as the FREE MARKET.
      The day that every motherboard's BIOS uses strong crypto to demand the master boot record be signed with a secret key known only to Microsoft
      Come ON. Microsoft will not start artificially limiting what hardware it's product will run on. Why would they? That would be like throwing away customers!

      And why would hardware manufacturers start doing this otherwise? Customer pressure? If anything, limiting their BIOS in this way would dramatically LOWER the value of their BIOS! Think about it, if 75% of motherboards had this restriction, would you pay extra for one of the 25% that didn't? Sure! Would my company's CIO pay a little extra for the hundreds of machines she buys? Yes, she wouldn't buy machines that are limited to only running Windows. Would Joe blow care? Probably not, but it would matter to enough people to drive the value of these crypto-limited BIOSes down, and hardware companies wouldn't risk that.

      So what other possible paranoid ranting could one come up with that could make this scenario possible... Hmm... How about if Microsoft bought themselves the US Congress and made it a law? That's it! The government that sued them for antitrust violations is going to turn around and heavy-handedly enforce a complete, 100% monopoly! Yeah!

      Jeez, where do people get the idea that Slashdot is a haven for unthinking anti-microsoft zealots?
      --
      include $sig;
      1;
    2. Re:Paranoia by ftobin · · Score: 4, Insightful

      Please, spare me the paranoia. That's like saying, the day author X murders all other authors is the day we all start reading author X. It could happen, but is it likely?

      Time warp back 10 years

      Please, spare me the paranoia. That's like saying, the day the maker of wordprocessor X murders all other wordprocessor makers is the day we all start using wordprocssor X. It could happen, but is it likely?

      Fill in the blanks: X=, X.maker=

    3. Re:Paranoia by spongman · · Score: 4, Informative

      The funny thing is that Microsoft has already patented exactly this

    4. Re:Paranoia by skotte · · Score: 4, Interesting

      What is happening is the a great bastardization of computing as a hobbie

      this is true. but i believe that is becoming a thing of the anyway. the newer machines just arent as interesting (speed aside). they come prepacked with anything you could want, if you didnt get it, it's either on a suse disc, or a warez site somewhere. (you know, whimsically speaking)

      plus i just dont think theres that many 12 year olds who are coming along and saying "hey! i want to build an OS!" it's ... just a thing of the past.

      (which is a shame, yes, cos inovators are what this world thrives on. more to you if you are doing something really ambitious!)

    5. Re:Paranoia by dublin · · Score: 4, Interesting

      Come ON. Microsoft will not start artificially limiting what hardware it's product will run on. Why would they? That would be like throwing away customers!

      If that's true, they've been doing it for years. God od your homework before you post: Microsoft already has almost total control over the way that PCs work, right down to specifying in their hardware standards what the behavior of the power switch should be.

      They've used the PC9x (I don't know what they're calling them now) stndards to bludgeon all the major computer makers into building hardware the Microsoft way, and guess what? Pretty much all the clones and motherboards then follow suit, so that they're capable of running Windows with some degree of stability, too.

      If you don't think Microsoft has what amounts to 100% control of low-level PC hardware, just take the time to go to their WinHEC conference and notice that nearly every BIOS designer and many of the hardware engineering staff of all the computer and motherboard makers are there, dutifully taking pages of notes on what amounts to their orders for the year.

      Not only is this not far fetched, you don't even realize they've been doing it for years now. And there's a simple reason why it's about 100% effective: Comply or die - if those companies want to avoid paying several times more for the OS on the machines they sell (which obliterates the margin on a modern PC and puts them upside down), they must comply withthe Windows hardware standards as part of their OS purchase contract with MS. If you don't believe this strategy works, take a look around and try to find an AST computer these days - they tried to stand up to MS a few years back, refusing to let MS design their hardware, and MS nearly bankrupted them: I've been told that it was cheaper for them to go into a store and buy the OS than accept the terms MS offered them under "non-compliance".

      If you care at all about the future of the PC, go to WinHEC (they are starting to have to listen somewhat to the backlash) to find out understand what they're trying to do, and learn what you and others can do about it. Knowledge is power here - so far, only trivial numbers of us have refused to buy poisoned hardware. (The last time I checked they were trying to *eliminate* the BIOS, replacing it with a simpler set of lookup tables for resources, which of course would have to be "secured" at some point in the future, but I've been out of this for a couple of years now...)

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
  2. In the big scheme of things... by pokeyburro · · Score: 5, Insightful

    While I absolutely despise the approach Microsoft takes toward software development, I can safely say they won't ever get "absolute control" over it. Yeah, they're big, they're rich, they're formidable, but they're also bumbling and very error-prone, as we all know from leaked e-mails, virus reports, etc.

    The worst thing I see happening is a sort of class society, with Microsoft developing code for its circle of businesses, and everybody else in a sort of underground. Black market code, if you will. I very seriously doubt that things will come to, say, Microsoft getting the USGovt to pass a law forbidding software development by unlicensed, uncertified developers, and then fixing the game so only Microsoft developers can be easily certified.

    --
    Lately democracy seems to be based on the skybox, the Happy Meal box, the X-box, and the idiot box.
  3. Good for the gander.... by jtotheh · · Score: 4, Insightful

    Why is control of the only layer that makes a difference evil when done by M$oft but innovative when done by Sun and Netscape?
    (Java, the browser as a platform (see Judge Jackson's findings of fact) I have to admit that M$ is not being so obvious of their intentions, if that is what they are.

  4. What about interoperability? by TheNecromancer · · Score: 4, Insightful

    Why does everyone have to see the evil in whatever MS does?? True, they have done some evil things in the past, but can't people see that the CLR is part of an effort to accelerate interoperability of software that we developers will be creating in the future, regardless of what language it's written in?

    I'm tired of reading about how everything M$ does is evil...they are a corporation, and they have their best interests in mind, just like other corporations(i.e. Sun). Let's stop focusing on the negatives and start focusing on the positives, like the fact that MS and Sun have done alot to work together to further the standardizion of the SOAP protocol!

    --
    Attention all planets of the Solar Federation! We have assumed control! - Neil Peart
    1. Re:What about interoperability? by alext · · Score: 5, Informative

      Putting aside the interesting philosophical question of whether a corporation can be evil for a moment, the following can be asserted with a degree of confidence:

      1. The interoperability aspect the article is concerned with is that between platforms, not between languages. The latter is interesting, if overstated, but irrelevant here.

      2. CLR may be specified, but other APIs and services are not, therefore it is trivially easy to lock in developers, just as was attempted with the proprietary GUI API MS provided for J++.

      3. For some reason, it is not yet widely appreciated that the public SOAP specification already has a proprietary MS extension called .NET Remote. While SOAP cannot pass object references around, or serialize objects like RMI, .NET Remote removes both of these restrictions, making it much more attractive than straight SOAP, which doesn't even provide object-level access in its standard form.

  5. J++ v2.0? by alexhmit01 · · Score: 5, Insightful

    When I was in high school, we were spec'ing out Alphas for the school file servers. The problem with the Alphas? No software. You could only buy them as File and Print servers.

    J++ looked like it was going to change things. If you wrote Java code, it would in theory, run anywhere. If you wrote J++ code, it would run on any Windows. Given the Windows Everywhere initiatives (the separate NT, Windows, and WinCE lines), J++ would have given Microsoft that platform independance.

    MS wanted to split from Intel years ago. Everyone thought that Intel was dead after the Pentium. RISC processors were blowing them away, and Intel's CISC ISA was holding them back.

    Well, Intel figured out how to build a RISC processor with a hardware decoder, Windows NT took off faster than expected, the 64-bit Alpha version never shipped, and now MS/Intel split a HUGE monopoly.

    This gives their Windows Everywhere initiative some teeth. They are pushing Win32 APIs everywhere, but you need to code differently for the Xbox, Win32, or WinCE. Sure the APIs are the same, but not the compiled version.

    The CLR means that Windows is Windows, and Windows code will run there.

    Look at UNIX, there has been decent source compatibility, but no binary compatibility (until the recent Linux emulation everywhere). Outside of software distributed in source form, nobody supports every Unix, just the 1-3 that are profitable for them.

    Source compatibility helps, but isn't enough. The CLR gives a form of binary compatibility.

    Sun could have had this market with Java, but they fucked up. We'll see what happens.

  6. Definitely by ericsink · · Score: 4, Insightful

    Eventually the CLR will replace Microsoft's platform revenue stream.

    Right now they get a nice chunk of money every time somebody buys a PC. Windows is one of the most expensive components of a desktop computer.

    If you look far enough down the road, Linux on the desktop is a reality. So they know that the OS monopoly is coming to an end. It is time to start getting a new monopoly ready to take its place.

    They will ride this gravy train as long as they can, and then they will concede the OS market and start charging the same per-computer tax for the CLR. They won't care what OS is running underneath it. The OS will become a low-margin commodity, and they may even just starting giving Windows away for free. The profit margins will simply be relocated upward to a higher layer of this new and thicker notion of a platform.

    BTW, don't even think about suggesting that Java will win because it was here first. Java is to the CLR as Lotus-1-2-3 was to Excel. Some people innovate. Other people specialize in refinement and broad market penetration.

    --
    Eric Sink
    Software Craftsman
  7. Frustrating, stupid comments. by JMZero · · Score: 4, Insightful

    People are always assuming MS is going to pull some crazy crap using its monopoly power.

    It does of course, but nothing like what Jamie is thinking. Whenever it does try something bizarre, like making MSN only work with IE, people call them on it. And they stop.

    And if they pulled something like this, they'd have to. The DOJ isn't going to sign off its case without some sort of oversight.

    And I think the oversight committee might have a problem with

    "Proposal 1A: Drop support for any PC that's capable of booting a non-MS OS."

    These stupid ideas only serve to make the real ones look silly.

    Why should Jamie get to post moderation free, Katzian garbage like this? Put it in a comment like everyone else.

    .

    --
    Let's not stir that bag of worms...
    1. Re:Frustrating, stupid comments. by CaseyB · · Score: 4, Insightful
      Why should Jamie get to post moderation free, Katzian garbage like this? Put it in a comment like everyone else.

      I made *exactly* the same observation about a particularly stupid CmdrTaco editorial attached to a story. I was lucky enough to get a direct reply to my comment in which he proudly said, thought not in so many words: "Fuck you, it's my site, I can write what I want".

      Slashdot makes NO pretense at journalistic integrity. It's just a blog.

  8. Re:Is CLR in fact interpreted? Why??? by MenTaLguY · · Score: 4, Informative

    Normally CLI is compiled to native machine code rather than interpreted. CLI bytecode also carries a lot more useful information for optimization than JVM bytecode does (as well as placing some restrictions on code generation that make it easier than JVM to compile efficiently).

    --

    DNA just wants to be free...
  9. well, of course by markj02 · · Score: 4, Insightful
    Microsoft has faced the problem of platform-dependence for years: NT on Alpha, NT on PPC, CE on various handhelds, Word on Mac and Windows, etc. And should they optimize for 386, 486, Pentium, AMD? Another problem is that batch-compiled binaries (in particular for RISC machines) are much bigger and load more slowly.

    Java would have been godsend for Microsoft, addressing all these problems, but they didn't control it and it would have given people not only hardware independence but also Microsoft independence.

    Technically, there are no significant differences between the CLR and the JVM. The CLR isn't any more or less powerful than the JVM, it won't run much faster or slower, and it won't be any easier or harder to implement. You already have Java compilers for the CLR, and you will see C# compilers for the JVM soon. But Microsoft controls the evolution of the CLR, and that is what matters to them. While Microsoft will probably implement the ECMA standard, they will extend the CLR and libraries in numerous proprietary ways, and that will give them exactly the control they want.

  10. Electrons are electrons by jrockway · · Score: 4, Insightful
    Naturally, to prevent you from firing up GCC and doing a rogue compilation of DeCSS or Lame or other unauthorized code, the operating system will have to stop you from running anything that isn't written in its language for its virtual machine.


    This is just wrong. Hardware is hardware and has no idea what seqences of instructions do. They execute an instruction, then another, then another. You put your code in memory and feed the CPU the address of the code. You can always go under the operating system (stick in a boot disk that loads the OS on top of something else). There's no way a machine could block "illegal code".

    Now, maybe a chip that only executes signed bytecode could do something like this. But then development would be essentially impossible and there would be no programs for that achitecture (and if you give developers the private key, it will be public in seconds; hell I'd do it!!).
    --
    My other car is first.
  11. MS plays fewer games than you'd think... by alexhmit01 · · Score: 4, Insightful

    I'm a disgrunted MCSE that didn't like the early retirement of the NT 4.0 certification. We were under the impression that it would last until the NT 6.0 certification process, but that didn't happen. I don't like Microsoft.

    HOWEVER.

    They do play games (Windows isn't done until 1-2-3 won't run, the DR-DOS Win3.1 beta fake error, etc.), but less often then you think. Half the games that they play stem from the fact that their employees don't look outside the Microsoft bubble.

    Though I can't find it now, on MSN's Canadian Xbox page, they claimed that it was the first console to support 4 players. This is a company that is SO huge that adventuring to the rest of the tech world involves looking at other divisions. When they break standards, half the time I doubt they realize it. When they do things based upon their bastardized standard in another program, they may not realize it.

    It's a large company, they can't act as a single mind despite what Slashdot thinks.

    Alex

  12. Reply to AC: Frustrating, stupid comments. by JMZero · · Score: 5, Informative
    Right, like how their word processor has a standard file format that is backwards compatible. Oh, wait...


    What does their lack of backwards compatibility have to do with anything?

    Is it a ploy to make money? Of course it is.

    Does it really matter? No, you can set Word to save to Word 95 format and you won't lose anything important. You can even download a free 2000 viewer if you want, and cut and paste into Word 95.

    Would MS provide these things if they were a crazy, unrestricted monopoly that would do anything to grab cash? No, they'd encrypt .xls files to ensure noone could read without paying. And they'd charge $900 for Windows.

    MS is like some inkblot where everyone can project their own little "gotta stand up to the man", "slippery slope" fantasy world view.

    Want to fight MS? Help make Linux good. Quit whining.

    .
    --
    Let's not stir that bag of worms...
  13. Editorial Slant? by Howie · · Score: 5, Insightful

    The poster's original question seems to be a reasonable, thought-out question about the implications of VMs in software development.

    Too bad it's followed by 4 paras of paranoid rant, which is what people are replying to, by and large. Why doesn't Jamie just post in the forum, like the rest of us proles? Even if I'd blocked him from my view of Slashdot (which I haven't, although looking back over the stories...), this would slip through as a rider on Cliff's story.

    [anyway, what is the benefit to BIOS makers and motherboard manufacturers of limiting their market? The degree of support for overclocking in existing mobos and BIOSes shows that they don't care what their large partners think (Intel, AMD)]

    --
    "don't fall into the fallacy of believing that Perl can solve social problems. Maybe Perl 6 can, but that's a ways off"
  14. Java is a fine C++ replacement, for the most part by Glock27 · · Score: 5, Interesting
    (Java is a replacement for C/C++, and doesn't have an equivalent to iostream.h?! No local file access?! WTF!)

    WTF indeed! Java applications have both! Ever hear of the java.io package?

    Would you really want Java applets, downloaded from an arbitrary Internet site, to have access to your hard drive by default? (Signed applets can do such things, by the way.)

    Java is infinitely preferable to C#+CLR, simply because there is no platform lockin, or vendor lockin (you can get great JVMs from IBM, for instance).

    I'll start seriously considering C#+CLR when the Mono runtime exceeds the performance of Linux JVMs on the same box. I expect that to happen...never. ;-)

    299,792,458 m/s...not just a good idea, its the law!

    --
    Galileo: "The Earth revolves around the Sun!"
    Score: -1 100% Flamebait
  15. Game Boy? BAD example. Too open. by yerricde · · Score: 5, Informative

    My prediction is that, unless antitrust legislation in the U.S. gets some teeth between now and then, the PC will become a Gameboy within fifteen years. Enjoy computers while they last.

    Game Boy is a bad example. The Game Boy Advance is an open system, fully documented to the point that anybody with GCC can write software and run it on the GBA without taking a vow of silence or paying the big N. The only things the GBA checks before running your code are 1. the very simple checksum on the header and 2. a bit pattern that produces the Nintendo logo but is legal to copy under the Sega v. Accolade precedent. So go get GCC for ARM and an MBV2 cable from lik-sang.com and get hacking.

    $article =~ s/become a Gameboy/become an XBox/; and it becomes more accurate.

    --
    Will I retire or break 10K?
  16. CLR and hardware independence by miguel · · Score: 4, Interesting

    The CLR is already being used to write applications that run on multiple platforms. For example the Compact .NET Framework runs on various of the cpus supported by Windows CE.NET. Now you can write an application for .NET and it will run in any system with a CLR.

    This solves a practical problem: now you will be able to "beam" programs from Windows CE machines running on different CPUs. Also, .NET is better than any other Win32 apis.

    The CLR also helps the move to 64 bit systems. There are three integer types on the CLR: int32, int64 and native int (which is 32 or 64 depending on the machine).

    The Mono project is building a free implementation of such a virtual machine (http://www.go-mono.com). We have a functional JIT engine, a C# compiler and many class libraries. So in the future you could even write applications on Windows and run them on Linux.

    Miguell

  17. Re:No, the CLR is demonstrably better by markj02 · · Score: 4, Informative
    This does not hold [for Java] - you may compile different languages to the JVM, but integrating them at the object level is not possible.

    I don't understand what you (or Microsoft) are talking about when making that claim.

    I regularly mix Python and Java objects. Python is a dynamically typed language with multiple inheritance and Java is a statically typed language with single inheritance. I can subclass Java objects in Python and use Java objects in Python and vice versa. If this is possible for languages as different as Java and Python, it would seem to be possible for many other languages as well (and many other languages implemented on top of the JVM claim to provide the same level of integration--I just haven't used them). The Java native code interfaces also allow for similar levels of integration with native code.

    The CLR does clean up some idiosyncracies and minor messes in the JVM and JVM spec. Mostly, those cleanups give a bit more handholding to less experienced language implementors to figure out what to do. But that doesn't seem to give the CLR significantly more functionality or performance overall.

    If you claim CLR is "demonstrably better", maybe you can be a little more concrete in your "demonstration"? Where specifically are these demonstrable advantages, and how specifically can you not achieve the same functionality in the JVM?

  18. Re:CLR solves some common and obvious problems by MillionthMonkey · · Score: 4, Interesting

    The CLR allows Microsoft to promote garbage-collected languages in toto. This includes C++, which now has MS extensions to allow garbage collection. You can reserve your own counsel on the topic of extensions to a language, but it works, I'll say that for it.

    I think you should have stopped after the first seven words of your post. :)

    Note this does not mean you can just compile different languages to the CLR, but reuse code at runtime from code written in other languages.

    Could you explain to me the difference between these two statements? What prevents you from doing either one with a JVM?

    .NET would make a good David Spade joke. "I liked .NET better the first time I saw it... when it was called Java."

  19. .NET framework is key by metoc · · Score: 5, Insightful

    Microsoft has a multi-prong approach. It is similar to Sun's Java write once run everywhere strategy, but with the benefit of history and money on its side.

    MS has the CLR (Common Language Runtime) and MSIL (MS Intermediate Language). This is nothing new, with CLR = JVM, and MSIL being javacode. Additionally MS also has the .NET Framework (JFC/Swing) which will eventually replace the Win32 API. Once Microsoft ports the CLR to a new hardware platform or operating system, it is simple to also port the .NET framework. MS really doesn't need to port Windows unless it wants everything from the hardware up (as in JavaOS).

    So if this is nothing more than MS rehash of Sun's Java approach, what's the difference.
    .
    First MS has the advantage of learning from Sun's mistakes. For example C#, Visual Basic, & VC++ are not the only languages that can use CLR & MSIL. Any language can compile to MSIL, and MS encourages it, claiming over 20 languages from 3rd party vendors, including PERL and Java. Additionally MS supports both compiled and bytecode, with a built-in native code compiler as part of the framework. These were all possible with the JVM, but not advocated/pushed by Sun.

    Second, instant market. MS is including the .NET framework in it's upcoming Windows .NET Server (aka Windows XP Server), and will have it included as free upgrades for Windows 2000 and Windows XP before the end of the year. This means that MS could potentially have tens of millions of .NET ready systems on the street before the end of the year. On advantage MS has is that in its first incarnation the .NET Framework just hooks into the Win32 API, giving them time to rewrite the entire Windows codebase (supposedly due with the Blackcomb release).

    Third. Applications. Microsoft has Office. Lets face it. People don't buy Windows for IE and Solitaire. Java never had a killer app.

    Fourth. Inertia & Clout. Once MS ports Office to .NET Framework and eliminates Win32, their will be nothing stopping MS from porting Office to any hardware and/or OS platform on the market. 3rd party developers like Adobe, Macromedia, etc. can port their applications to .NET now with a tryed and true customer base, and once MS is ready, jump with them to other platforms/OS' with an almost minimal risk and expense. Instant application base. The first candidates are MAC OS X and Windows CE (.NET). Adobe for one will probably welcome having less codebases to maintain. Any port that makes economic sense to MS is a candidate, including Unix and Linux.

    Five. Future proofing. If the DOJ or anyone else causes problems, MS can easily port Office to Linux just by porting the .NET framework. As new hardware or OS' hit the market, port. Where as Sun could port Java to any enviroment easy enough, it doesn't have the same application base as MS.