Slashdot Mirror


What is .NET?

CyberBry writes "There's a great technical overview of Microsoft .NET over at arstechnica: "In a remarkable feat of journalistic sleight-of-hand, thousands of column inches in many "reputable" on-line publications have talked at length about .NET whilst remaining largely ignorant of its nature, purpose, and implementation. Ask what .NET is, and you'll receive a wide range of answers, few of them accurate, all of them conflicting. Confusion amongst the press is rampant. The more common claims made of .NET are that it's a Java rip-off, or that it's subscription software. The truth is somewhat different.""

52 of 505 comments (clear)

  1. They've released the dev stuff. by ratajik · · Score: 5, Informative

    I haven't seen this mentioned here yet, but they actually released the dev stuff for .NET. Article here

  2. I honestly can't figure out by prisoner-of-enigma · · Score: 3, Interesting

    ...where MS is going with this initiative. They seem to be touting portability, but what kind of portability? Certainly not inter-OS portability, that's for sure. No doubt that their Common Language Runtime is so heavily patented, encrypted, folded, spindled and mutilated that it will be quite difficult for someone to make it run on a non-MS platform. I know that quite a few Linux-heads are working on it. Prediction: if they ever get it right, MS will sue them about four microseconds after they post it on Freshmeat.

    That being said, it does seem like MS is trying to wean themselves out of a strictly x86 world, and portable binaries is a good way to do that. What about performance? Java used to be well known for crappy performance because of the abstraction forced on the code. Will .NET have similar limitations, I wonder?

    --
    In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    1. Re:I honestly can't figure out by rabtech · · Score: 4, Informative

      You obviously didn't read the article.

      Microsoft themselves is developing a runtime for FreeBSD. When I say 'runtime' here I mean the CLR and the *BASIC* class libraries. You see, that is the standard that Microsoft has released to the EMCA as a standard, soon to be certified by ISO. It is completely open, non-patented, etc. Anyone can develop a compatible implementation.

      However, a few key components are Windows-only: ADO.NET (universal data access) and WindowsForms (the GUI toolkit.) That is where Mono comes in with the development of compatible class libraries on Linux. Please understand: **the interfaces are the same as the Microsoft interfaces**, even though the implementation details are different.

      Microsoft is fully aware of the Mono project and is taking no efforts to stop them. It doesn't really matter if they wanted to. The CLS (Common Language Specification) is part of the OPEN STANDARD. This is the definition of how classes and datatypes interact among languages and the IL; unless Microsoft managed to get a copyright on all the method names in WindowsForms, they can't stop me from creating a compatible implementation because I am simply using the CLS to write my classes that run on the CLR to provide objects for use by .NET programs.

      (Short Version: go back and actually read the article, then try posting again.)

      --
      Natural != (nontoxic || beneficial)
    2. Re:I honestly can't figure out by Anonymous Coward · · Score: 5, Interesting

      >That being said, it does seem like MS is trying to wean themselves out of a strictly x86 world

      Has anyone thought that perhaps Intel (being somewhat friendly with Microsoft) has been pushing this initiative so they can finally put x86 instructions to rest? If Intel has a new processor that doesn't allow x86 instructions (because backward compability would slow it down), all they'd need is Microsoft to force everyone to compile with .NET and write a CLR for it.

      Of course, this may not necesarilly be a bad thing. Imagine the speed improvements any processor would have if it didn't require backward compability. The downside is that it'd require a fully-compability CLR.

      Sam

    3. Re:I honestly can't figure out by Steveftoth · · Score: 5, Interesting

      So basically it's like the Kaffe version of Java. Kaffe supports the JDK 1.1 without AWT (soon with some 1.2 support). And guess what, not too many people use it. Maybe a couple, but most people are using a fully functional implementation with Swing/AWT and 1.3 libraries.

      I think that the whole C# is a standard argument is BS. Look at JavaScript, it's a standard, has been for a number of years now. Why is it then, that I can write 'standard JavaScript' and IE will interpret it one way, while Mozilla, Netscape and Opera interpret it a slightly different way ( maybe it works, maybe not ). Why are web programmers still writing browser detection code into web pages? I'll tell you why, because it doesn't matter if someone makes a standard if nobody follows it. Not one browser follows the standard perfectly. Mozilla (IMO) comes the closest, but even that is not perfect. You still have to go back ,tweak your pages and balh blah blah. Java may not be perfect, but all the 'SUN certified JVMs' work. If you run your code on the Sun JVM, it will work on the IBM one. If not then you can call up IBM and report a bug. With a 'standard' language/runtime, there is no controlling entity to guarentee compatability.

    4. Re:I honestly can't figure out by PhotoGuy · · Score: 3, Funny
      They seem to be touting portability, but what kind of portability? Certainly not inter-OS portability, that's for sure.
      It cdertainly *is* portable across operating systems; I can count at least *six* operating systems I'm sure it supports:
      • Windows 95
      • Windows 98
      • Windows ME
      • Windows NT
      • Windows 2000
      • Windows XP
      And I'm sure they will support several more operation systems (of their own creation, of course) in the future.

      -me
      --
      Love many, trust a few, do harm to none.
    5. Re:I honestly can't figure out by Dan+Hayes · · Score: 3, Informative

      Well if you'd read the article then you'd realise that Intel's new Itanium architecture is actually completely unsuited for the kind of JIT techniques used by .NET due to the fact that the CPU doesn't reorder code - it needs the compiler to organise things beforehand.

      So I very much doubt that Intel are pushing .NET to wean themselves off of x86...

    6. Re:I honestly can't figure out by Jerf · · Score: 4, Insightful

      For what its worth, Javascript has been effectively standardized for, oh, I'd say the last five years, even before the ECMA standard. (Note the word 'effectively', it's a critical one to my point.)

      What you're complaining about (justifiably) is the DOM, or Document Object Model. The DOM was standardized much more recently, and unfortunately contains a few holes large enough to drive a truck through, necessitating the need for non-standard extensions in practice. (One of the most-commonly-used of these is the "innerHTML" attributes, which is *not defined* in the standard, despite the fact that it is wonderfully useful. Mozilla actually explicitly added it many milestones ago because people were screaming for it. The 'standardized' way of doing that was upwards of 10-20 lines of rather difficult-to-read code, involving walking the tree and regenerating the HTML, then nearly-manually parsing the given HTML back into a tree, then swapping the newly-parsed Node tree into the document! Is anyone surprised nobody, even those who understood it, wanted to do that?)

      The DOMs are inconsistent, partially because they're hard to get write. But Javascript itself is nearly unchanged since Netscape 3.0. That's not a typo. Yes, a few nice things have been added (for instance, I think an exception mechanism has been added since then), but effectively all of the language anyone uses on a web page script was there in Netscape 3.0. (How many people here have created their own objects in Javascript, or fiddled with the prototypes? IIRC, this feature was in 3.0, and it's still too-advanced to be necessary in most web scripts. Short scripts don't need a lot.)

      This works out on topic nicely... because you're very likely looking at the future of Mono. "What use is Mono when the same code doesn't *quite* run on .NET?" What use, indeed? The greatest challenge facing those who would implement the CLR is not in writing the class libraries, it's matching them bug-for-bug. (One of the reasons Mozilla and IE still don't work identically is that Mozilla was forced to abandon its plans for bug-for-bug compatibility with IE, due to the feature's excessively high "pie in the sky" factor.)

  3. .NET is... by pq · · Score: 4, Funny
    .NET is just a way to catch the .FISH!
    Bwahahahahaha...

    --
    "I will take the Ring," he said, "though I do not know the way."
  4. What IS the .NET? by denzo · · Score: 4, Funny

    Unfortunately, no one can be told what the .NET is. You have to see it for yourself.

  5. Books, VS.NET, .NET FreeBSD by XBL · · Score: 5, Informative

    There are some good .NET development books coming out now. Even O'Reilly has had one out for a while (which I have), so the publishing companies seem to be eager to sell .NET.

    Right now I am downloading the seven CD Visual Studio.NET Enterprise final version (yep, already warezed), a $2500 program. It even has a version of Visio bundled for doing application modeling, and that somehow automatically starts producing code, from what I understand. This is going to be interesting to try.

    I have had the VS.NET Beta 2 for a few months, and it's generally easy to use, but very slow. I mean, a general "Hello World" application takes several seconds to compile, and also at least 3 seconds to execute! I have done the same thing using the raw .NET framwork development tools, and it seemed much faster (probably because my hand-written code was much smaller).

    Microsoft is developing a version of the .NET runtime and classes for FreeBSD. I have talked with the lead engineer of this project over e-mail, and he said that it's due to be out in late Spring. I asked him about the Windows Forms stuff, and he said it will be based on Tk (could someone explain the implications of this?). He also said that there are going to be very few UNIX-specific classes, but they hope people will develop those on their own.

    1. Re:Books, VS.NET, .NET FreeBSD by clontzman · · Score: 3, Informative

      I ordered an academic copy of VS Professional for $99. If you're a student, have one in your family or can find a way to finagle a student ID (or take a class at a local university), it's an excellent way to get a legit copy for a very competitive price. The individual languages are cheaper still.

    2. Re:Books, VS.NET, .NET FreeBSD by clontzman · · Score: 3, Insightful

      Yeah, I should have caveated that by saying that it's not legal if you're *NOT* affiliated with a university. If you are student, faculty or staff, though, it's a great deal. I'm not sure what the restrictions are WRT producing commercially released code w/ it, though, so I'd look into that before buying.

      I ordered my copy from Genesis. You have to send them proof that you work at or attend a university, but they seem legit.

    3. Re:Books, VS.NET, .NET FreeBSD by Oink.NET · · Score: 3, Informative
      Right now I am downloading the seven CD Visual Studio.NET Enterprise final version (yep, already warezed)

      I downloaded the seven CD Visual Studio.NET Enterprise Architect final version (yes, the one they officially released this morning) a month ago from Microsoft's very own download site. They made it available as one big download, or as ISOs. You've gotta be an MSDN Universal subscriber to download it, which costs about as much as Visual Studio.NET does, but you get full download access to all of their products (all their OS's, Office versions, server software, beta releases, etc.), not just Visual Studio. Not a bad deal when you add up the street price of all the software.

    4. Re:Books, VS.NET, .NET FreeBSD by clontzman · · Score: 3, Informative

      You are correct, sir (I presume). Once you graduate, they usually have an "upgrade amnesty" type program where you can buy the legit version at the upgrade price. Then again, sometimes not. At any rate, once you're no longer a student, you legally can't use the software (hence the bargain basement prices you get -- $99 for Dreamweaver... $99 for Illustrator... $100 for Office Pro...)

      In my case, I'm faculty/staff so unless I get fired or quit, I'm okay.

  6. Re:Language neutrality by Phil-14 · · Score: 3, Interesting
    Everyone talks about .NET's supposed
    language neutrality, but based on what I've
    read so far, it's only language neutral if
    your language is c# or close to it.


    However, maybe they should repeat
    the claim another million times; it worked
    with getting people to think Windows
    was secure.

    --
    (currently testing something about signatures here)
  7. Was that so complicated? by JohnDenver · · Score: 5, Insightful

    .NET is a "software platform". It's a language-neutral environment for writing programs that can easily and securely interoperate. Rather than targetting a particular hardware/OS combination, programs will instead target ".NET", and will run wherever .NET is implemented.

    When your friends ask, just tell them "It's a language-neutral Java knock-off..."

    Why do people try to make it more complicated? Ok, .NET never interprets bytecode, rather it does JIT compiling. Big deal. Ok, .NET uses SOAP as it's RPC conduit. Yawn. .NET offers Passport for developers who don't want to write thier own user authentication and may want to offer thier users the convienence of not having to enter thier condo's address. *snore* (wipe drool from mouth in a dazed stupor)

    Others like to confuse the application that can be written by .NET (You can write them in most other languages too) like Web Services and equate .NET with Web Services, when Web Services are just one type of program you can make in .NET

    The Platform != It's Applications

    It's Simple: It's a Java rip off!

    --
    "Communism is like having one [local] phone company " - Lenny Bruce
    1. Re:Was that so complicated? by Corrado · · Score: 4, Informative

      When your friends ask, just tell them "It's a language-neutral Java knock-off..."

      The only problem with that statement is that it's not true -- .net is NOT language-neutral. It works well with "managed" languages that are very similar to C# (things like Java), but it fails to support a lot of ingrained things in languages that make them unique and usefull (like multiple inheritence in C/C++). Without this language dependent things, they are just so much foder. You might as well develop in C#.

      However, I've heard that C# is a pretty good knockoff of Java. :)

      --
      KangarooBox - We make IT simple!
    2. Re:Was that so complicated? by rbeattie · · Score: 3, Insightful

      I agree that .NET is a Java ripoff. I think, however, that Sun needs to rip off some good ideas from .NET.

      For instance the WindowsForms which are natively compiled components for building client-side applications. If Microsoft didn't do this, the client apps would probably have the same runtime performance problems that AWT and Swing has.

      I may be wrong, but I think that Java would be A LOT farther along today if it wasn't trying to be the purest cross platform language. I mean, the number of platforms out there are finite. Sun could write some native code for widgets for the most popular platforms, make the APIs open for people to implement on the less popular and Java apps would be much more competitive to anything Microsoft could come up with.

      I think that IBM has something like this with their SWT libraries in the Eclipse IDE... I think Sun needs to embrace that tech and put it on all their supported platforms. Then they could write major apps like StarOffice in Java and still have the usability of a fast GUI. Add in your basic SOAP calls to the J2EE servers and you've got yourself a real .NET competitor.

      Just my opinion,

      -Russ

      --
      Me
    3. Re:Was that so complicated? by Twylite · · Score: 3, Insightful
      For instance the WindowsForms which are natively compiled components for building client-side applications. If Microsoft didn't do this, the client apps would probably have the same runtime performance problems that AWT and Swing has.

      Please understand what you are talking about before repeating someone else's bullshit. AWT is natively compiled components. Like any system which must bind to libraries in another language, there are parts in the relevant language, and peers in native code.

      Swing uses the bare minimum of native components and creates its own widgets. This gives you the power to do things you can't do with Windows (and ComCtl32), Motif, Mac, whatever. Swing is not slow in and of itself: try running the program for a while and accessing all the GUI functionality, then all of the classes will be loaded and the JIT will have compiled most bytecode, and you can use Swing happily.

      FYI: if you want to improve Swing performance and are prepared to lose a little time at startup, force load all the Swing classes you use (using forClass() ), and unJAR the JRE classes.

      Another FYI: why don't Sun do this if it is so obviously superior? Because you can't. There is no cross platform GUI system which uses native widgets and can maintain integruity across platforms. Those which seem to go to extreme lengths to control or modify (by wrapping) the native widgets to bring them in line with their view of the world, and still end up breaking.

      Try writing something in Java or WxWindows Universal, and you will get identical GUIs on all your platforms. Go for WxWindows (normal) or Qt, and you have issues - and these are some of the best there are. Don't even talk about Gtk until you've used it on Win32 and discovered its idiosynchrosies.

      --
      i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
  8. Article is inaccurate. by Carnage4Life · · Score: 4, Informative
    Although the article is a decent technical overview of the .NET Framework I don't agree with the articles description of what constitutes .NET. From looking at .NET first hand I prefer Miguel's description of .NET which is
    Microsoft .NET strategy encompasses many efforts including: The .NET development platform, a new platform for writing software [.NET Framework discussed in article] Web services Microsoft Server Applications New tools that use the new development platform Hailstorm, the Microsoft .NET Passport-centralized single sign-on system that is being integrated into Microsoft Windows XP. [now called .NET My Services]
    Disclaimer: I work at MSFT but this is MY PERSONAL OPINION not some official claim.
    1. Re:Article is inaccurate. by DrPizza · · Score: 5, Informative
      Read the first part of the article more closely. I acknowledge that there's more than just the Framework. But I haven't covered them in this article, as it's long enough already. This is what I meant when I said:
      .NET is also the collective name given to various bits of software built upon the .NET platform. These will be both products (Visual Studio.NET and Windows.NET Server, for instance) and services (like Passport, HailStorm, and so on).
      A follow-up will talk about such things as, VS.NET, Passport, Hailstorm, and so on. I feel that there are broadly two parts -- the framework itself (your first bullet point), and things that use it or manipulate it (your second, third, fourth, and fifth bullet points). I realize I glossed over them, but I will talk about them at a later date.
  9. You want the collective /. answer? by gosand · · Score: 4, Redundant
    The collective /. answer is probably "Microsoft's latest secret method for leveraging their monopoly to take over the world."

    IMHO, that is probably pretty darn accurate. Nobody knows exactly how just yet. Yeah, it sounds like I am paranoid, I have good reason to be.

    Microsoft^H^H^H^Hpoly

    --

    My beliefs do not require that you agree with them.

  10. Review misplaces priorities by RovingSlug · · Score: 5, Insightful
    This is perhaps a little disappointing. ... But these features are somewhat notable omissions from Microsoft's first release; profiling JIT compilers are becoming common in the Java world, and optimizing native code compilers are becoming the norm, with considerable benefits from their use.

    Stability before performance, every time.

    Or he'd rather be writing, "The JIT produces fast code, but sometimes crashes."? Or, ".NET is vaporware, still three to five years on the horizon."?

    The reviewer should recognize and applaud the focus of the developers. Because you know they were sitting around saying, "Wouldn't it be nice if we did this fancy optimization...". Instead, they put first things first.

    "Premature optimization is the root of all evil," D.E. Knuth. Learn it. Live it.

  11. Re:Mod parent up by clontzman · · Score: 5, Interesting
    Microsoft is trying REAL hard not to make it seem like they are re-inventing Java, whereas in fact they are reinventing Java.

    Just coincidental that Windows XP drops default Java support.

    First, Java works fine in XP -- you just have to (automatically) download the VM or get it from Sun.

    Secondly, the real advantage of .NET is that you can write in whatever language you want to and use components from other languages in your .NET programs. Those are hardly minor advances. Java has had a six-year head start, not to mention a vast amount of hype, and if it's the better technology, it'll hang in there. If developers like the .NET stuff better, they'll use that. In all likelihood, there will be a lot of different competing languages which will be good at different things. Nothing wrong with that, IMHO.

  12. Re:MS is developing for FreeBSD?!?!? by sydb · · Score: 4, Insightful

    You can't believe it? It's a natural part of their onslaught on the "viral" GPL. And it makes a Mac version just moments away.

    --
    Yours Sincerely, Michael.
  13. Re:Why I won't be developing with .NET: $$$ by overturf · · Score: 5, Informative

    > Anyone who wants to develop for .NET needs to shell out at least $1,079 for Visual Studio

    Or... you can go out to MSDN and download the .Net Framework Software Development Kit for free (*connection charges apply) at this link

    From the description:
    The Microsoft® .NET Framework Software Development Kit (SDK) includes the .NET Framework, as well as everything you need to write, build, test, and deploy .NET Framework applications--documentation, samples, and command-line tools and compilers.

  14. Actually excited about .NET by Tom7 · · Score: 5, Insightful


    I'm excited about .NET (when I say that, I mean the CLR). I think it's an idea (while not very original) whose time has come. I think that superior technologies exist (for instance, stuff like typed assembly language), but none are really mature enough to be rolled out across the board.

    And really, Microsoft.com is the only one that could manage to make this a reality. As much as I hate the company, I can't help but feel grateful that I'll finally be able to write apps in a nice high-level type safe garbage collected language and have that be the most well-supported method. (And if others start using high-level languages, maybe my computer will not crash so much, or have so many buffer overflow sercurity holes.)

    (As an aside... I fucking hate when people (like the author of this otherwise good article) use the word 'whilst'. Just say 'while'. It's not like we live in Medieval Britain.)

    1. Re:Actually excited about .NET by Snafoo · · Score: 3, Insightful

      Um. 'Whilst' is perfectly acceptable modern English, no matter where you live (except possibly in whatever cave you crawled out of, my dear primitive primate).

      If you want a language without fun synonyms, use Esperanto, which remains the one true 'Common Language Runtime'.

      But you know what? Everyone uses English, Spanish, or what-have-you for international communication, instead. Because we like 'whilst', and words like it --- inefficiency and redundancy and all.

      I have a hunch that many developers will feel the same way about all those little bevelled edges on .NET that they do about Esperanto, and Haskell and Scheme and all previous attempts to prune the messy, crazy tree of human creativity: "Gee, this is Formally Correct, but who cares?" (I say this as a big fan of Scheme, believe it or not; I'm just documenting the typical C programmer's reaction to it.)

      OTOH, whatever degree of language neutrality they 're planning is certainly a leap in the right direction -- less to change, less to learn. However, quite a few of my fellow coders won't be happy until they have a complete Win32 implementation running atop .Net ;)

      And as for that whole spin about .Net being the death knell for the x86? Well, lemme share a prediction: ten years from now we'll all be using Pentium Elevens with full 386 backward compatibility and toaster-sized nitrogen-cooled heat sinks.

      Just my floor(e) cents.

      --
      - undoware.ca
  15. Re:.NET good, not evil by abigor · · Score: 4, Interesting

    Well, you can use any language that happens to look very similar to C#, and which has a CLR compiler. Take a look at some of the languages that have been ported to .NET, and you'll see what I mean. They are modified to look like C# with different syntaxes. Example: Smalltalk# (or whatever it's called). Forget about dynamic typing anymore. Basically, you can use any language so long as it's mauled to look like C# (static typing, etc.) This multiple-language thing is not a big win, really.

  16. Re:dll hell by DrPizza · · Score: 4, Informative

    Well.

    The GAC is reference-counted -- if you no longer have any applications using an assembly in the GAC, it'll get removed (there are some provisos, but that's more or less how it works).

    And the GAC does have shared libraries -- it just provides a mechanism for having different versions of those shared libraries. If a bunch of applications all use the same version of the same assembly, then they'll use the same file. So there's still a benefit over static libraries. It just also fixes the problems that have ocurred with dynamic libraries. When they *can* be shared, they will be, but unlike Windows' previous DLL implementations, it doesn't _require_ them to share the same version, even if they're not compatible.

  17. .NET according to Steve Ballmer & friends by Foundryman · · Score: 3, Interesting
    It's interesting that I just got back from Chicago, where MS put on a release party for Visual Studio .NET to approximately 6,000 attendees, and find this article on Slashdot.

    I don't think they ever gave a straight-forward definition that clearly stated that .NET is this and this. If they did then I missed it.
    The show started out with a welcome message from the Microsoft Technology Evangelist...no, really, that was his title.
    Next came Steve Ballmer who came out to work the crowd into a frenzy and tout all the things .NET could do. He introduced and chatted with several MS employees on some of the things .NET could do. I especially liked their comparison to Sun's J2EE Pet Store sample application. They've got this comparison available on the web at:
    http://msdn.microsoft.com/net/compare/default.asp
    (I hope Sun posts a followup on Microsofts claims in this comparison)
    After this they worked the crowd into another frenzy by randomly giving away three of the XBox games. Then they brought out some folks who gave success stories on implementing .NET. After three of these we broke for lunch and I went home, still not being clear on what .NET is, exactly.
    All in all it seemed like I heard mention of several different items:

    .NET

    Visual Studio .NET

    .NET Framework

    .NET MyServices

    .NET Server ...and probably some others I missed. I'm going to visit Microsoft .NET Defined and see if that helps clear anything up...

  18. What .NET is... by AdamBa · · Score: 3, Interesting
    Throughout its history, Microsoft has defined three platforms for application developers: DOS, Win16, and Win32. You could argue that COM is a separate platform or an extension of Win32, but the basic idea is the same. At every stage of the development of the personal computer, software developers have asked, "How do I write an application?"

    And Microsoft has provided the answer: Here is the runtime model, here are the APIs you call, here are some tools you can use, here is how to get help if you have problems.

    Now substitute a web of connected personal computers -- the Internet -- for a single one, and developers are still asking, "How do I write an application?" And Microsoft's answer is, .NET.

    DOS provided very few services to application writers, but with the Windows APIs, things got more sophisticated: support for graphics, for printing, for various other input and output devices, and eventually for networking. These were filtered through a standard Microsoft-provided operating system to various third-party devices, each with their own device driver, which performed the actual work.

    In the .NET world, the "API" will handle Internet-related issues such as password verification, price calculation, payment, and so on. The "operating system" will be a set of always-available Web sites that may then dispatch the actual work to third-party sites -- the "device drivers" in the .NET model.

    That is an excerpt from a longer article which I wrote back in November 2000.

    - adam

  19. Re:.NET good, not evil by mmacdona86 · · Score: 4, Informative

    They are developing a FreeBSD port of that incomplete and nearly useless portion that they are submitting as a standard. Real .NET apps will in fact be confined to the Windows platform, unless Mono is much more successful than I suspect it can be.

  20. VMs, JITs and C# by SimonK · · Score: 3, Insightful

    The author is confused about JIT compilers and virtual machines. A virtual machine is just a piece of software that executes programs in some machine-code-like language. It does not necessarily interpret the instructions. Indeed, almost all virtual machines compile to the local machine's instruction set at some point.

    A JIT compiler is a technique used in virtual machine design to speed execution. Technically, a JIT compiler ought to compile code as it reaches it on the execution path for the first time, but thanks to some sly work by Symantec, its become acceptable to call something a JIT compiler even if it actually compiles all the code at load time regardless of whether it is executed or not. Hence the complaints about Java's startup time. Microsoft's efforts in this direction seem faintly bizarre to me. All previous evidence is that keeping compiled code around between runs is not worth it. However, I suppose since they only really support one platform, it won't really cause any problems.

    C# is very much not "C++ for rapid application development". It's a completely different language, much more closely related to Java. While C# and Java share C++'s syntax, their underlying semantics are more closely related to Beta or Smalltalk.

    As I would expect from someone who obviously doesn't know much about VM or language design, the author also makes far too much of the CL?'s cross-language abilities. While it has good support for implementing functional languages, as far as the much more important OO features are concerned, it is only going to work well for statically typed, single inheritance, single dispatch languages that don't need to do any code generation. Its is my contention that any OO language that can be implemented on the CLR can be implemented equally well on teh JVM.

  21. Re:.NET good, not evil by mikec · · Score: 4, Interesting

    But it's not "any language". It's a collection of languages that are nearly isomorphic with C#. In fact, there are currently many more languages, and more diverse languages, targetted to the JVM than there are to the .NET VM. See, for example, this list, which contains about 160.

  22. Not so by SimonK · · Score: 3, Insightful

    The progress apparent in Java had mostly already been made by 1980, around the same time C++ was being created. The problems with C++ are a result of either ignorance or a deliberate decision to ignore those advances.

  23. Re:Mod parent up by blakestah · · Score: 3, Informative

    Just coincidental that Windows XP drops default Java support.


    First, Java works fine in XP -- you just have to (automatically) download the VM or get it from Sun.


    That is precisely what I said. XP drops default Java support.

    Secondly, the real advantage of .NET is that you can write in whatever language you want to and use components from other languages in your .NET programs.


    Look, this is a load of bull and you should know it. Any language that maps onto C# cleanly is the reality. Similarly, there is nothing to prevent you from writing a java bytecode compiler for just about any language, so this is no different either. But simply, java is structured a lot like C or C++ without requiring its programmer to micro-manage memory. So, it is just not that hard to program in.

    Also, it won't matter much whether developers like it. Microsoft will practically pay them to write C# apps instead of Java apps, and Microsoft has the bank to do it. Default Java support is gone, which effectively kills it for recreational computer users (client end support, anyway).

    No, .NET is about one and only one thing. Network enabled apps to take the place of Java. The details are different, but the motivation and niche in the marketplace is the same. All the rest is just clever marketing from Redmond, as usual.

  24. Re:Classes and APIs more important than language by BitwizeGHC · · Score: 4, Insightful

    This reminds me of something...

    One of the early premises behind the Guile project was that all languages are essentially Scheme, modulo their different syntaxes. Guile was thus to become a Scheme interpreter with various syntax front ends on it to translate from Perl, Tcl, etc. Essentially achieving language independence in a unified runtime. The Guile team has largely abandoned these efforts, however, and concentrated on making Guile a practical workhorse Scheme for standalone use or embedded in a larger program.

    I'm a big Scheme and Guile fan, and a part of me is disappointed... Scheme, being self-extensible, would make for a much more robust base upon which to construct a language-neutral runtime than the C# and VB-oriented CLR.

    --
    N4st0r, trixx0r h0bb1tz0rz! Th3y st0l3 0ur pr3c10uzz!
  25. Re:Mod parent up by TWR · · Score: 3, Insightful
    Languages like LISP cannot be compiled to bytecode because the JVM doesn't support tail-recursion.

    Funny, I don't remember the x86 opcode for tail recursion. Or the 68K, SPARC, or PPC one. Would you care to remind me what it is? I guess since there isn't one, it's impossible to run Lisp on Windows, Mac, Sun, or IBM boxes.

    Every computer language in existence is Turing-complete; they product code that runs on Turing machines. Some of these Turing machines may be faster or more efficient, but they're all equivalent.

    -jon

    --

    Remember Amalek.

  26. Re: FreeBSD by nettdata · · Score: 3, Interesting

    Microsoft is developing a version of the .NET runtime and classes for FreeBSD. I have talked with the lead engineer of this project over e-mail, and he said that it's due to be out in late Spring. I asked him about the Windows Forms stuff, and he said it will be based on Tk (could someone explain the implications of this?). He also said that there are going to be very few UNIX-specific classes, but they hope people will develop those on their own.

    I wonder why Miscrosft is developing a FreeBSD implementation? Could it be because substantial portions of Hotmail still runs on FreeBSD? If I remember correctly, MS has yet to successfully port all of Hotmail over to Windows. That being the case, I'd hazard a guess that it's a REQUIREMENT for them to do the FreeBSD thing.

    I could be wrong, though. Anyone?

    --



    $0.02 (CDN)
  27. Re:Language neutrality - not by victim · · Score: 3, Insightful

    I was surprised how often the main article preached .NETs language neutrality. .NET is certainly not language neutral. Heck, Microsoft had to neuter their own primary development languages in order to get them into it.

    I can understand why they would restrict their framework to a single inheritance, single dispatch in order to be easily used from more languages, but they forbid both multiple inheritance and multiple dispatch in the virtual machine.

    I suspect we are seeing the "language-neutral" lie pushed so heavily right now in order to convince people to choose .NET. I mean, you can't be making the wrong decision if it supports all languages equally, right?

  28. Re:.NET good, not evil by jonabbey · · Score: 3, Interesting

    Yes, Roger Sessions' article does make that point, and the guy running that JVM languages page is quite honorable to link to the criticism.

    However, saying that the JVM isn't a suitable substrate because a lot of the language tools written on it are experimental is sort of a non sequitor.

  29. What Happens When Marketing Gets Involved by d.valued · · Score: 3, Insightful

    I'm sure a lot of us slashdotters have queried what this dot-net thing was. Anyone with a Hotmail account was aquainted with the chintzy logo in the upper-right corner. eBay is starting to suggest a 'Passport login', which so far has been the most that em-cash has seemed to provide. I've been to trade shows, Microsoft (free hardware swag for false info? that's a steal!)and non-Microsoft pitches and antipitches, and no one has provided an answer.

    At least, a good one.

    This overview is great from a technical angle (the one me and most slashdotters usually have interest in) and decent from a more mundane perspective (the one you pose as in an em-cash or other sales-derived presentation ;)

    It's hazardous to your health as a hacker. It looks like a great way to encapsulate any data in a format which is sufficiently protected under the DMCA. (Yet another reason for that law- and the 99 senators who ayed the vote- to be burned at the stake.)

    It's also bad for anyone on a non-MS platform; two of the languages are extremely MS-centric, Visual Basic and C-hash (something that should only be done right before you smoke it).

    It's bad - all right, worse - for Java fiends. Bad enough Microsoft feels Java is the worst thing to happen to it since the Wicked Witch of the West was introduced to the business end of a water gone, now they're pulling out all the stops with the theoretically embraced and extended J-hash.

    Right now, I just wish there was a way to stop those pricks at Microsoft.. besides a HERF bomb in Redmond, WA :)

    --
    I used to be someone else. Now I'm someone better.
    Real life is underrated.
    1. Re:What Happens When Marketing Gets Involved by ClubStew · · Score: 3

      How can anyone take you seriously when you mispronounce terms and misspell so much, like "gun" (not "gone"). It's C-Sharp and J-Sharp, as in musical notation, where "#" means sharp (they black key half a step to the right of a white key, to put it simply). It was the next logical step going from C to C++ to C# (with each an increment from the previous).

  30. Re:Official Media from MS does not equal Legit by clontzman · · Score: 3, Interesting

    This is Slashdot... who's producing commercial code? ;-)

    Seriously, though, your point about legitimacy is well-taken and something was cavalier about originally. IF you're eligible, it's a great deal. If you're not, then it's illegal software.

  31. Re:Why I won't be developing with .NET: $$$ by tshak · · Score: 3, Informative

    Anyone who wants to develop for .NET needs to shell out at least $1,079

    The Software Development Kit (all necessary dll's, compilers, etc.) is free. There are also a handful of free IDE's.

    --

    There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
  32. Re:Mod parent up by clontzman · · Score: 3, Interesting
    Default Java support is gone, which effectively kills it for recreational computer users (client end support, anyway).

    Look, we're splitting hairs here about what "drops default Java support" means. To say that it drops support implies that the OS no longer supports Java. It does as long as you have a VM installed (which, again, happens automatically the first time you hit an applet).

    Secondly, it's hard to argue that Java was particularly relevent to "recreational computer users" anyway. Very few desktop apps that "recreational" users depend upon are written in Java and applets are less common than ever, so what's the big? Look at it another way -- you get to choose your VM, and isn't choice a Good Thing?

    I'm not sure what's "bull" about the fact that you can use multiple languages in the .NET CLR. You CAN. Yes, they have to be .NET aware, but isn't that kind of obvious? It's still a good idea and, by all accounts, it's implemented well.

  33. A Blinkered Rant by rho · · Score: 3, Insightful

    Sweet jumping savior, how the hell did we get here?

    I managed to get two pages into ArsTechnica's explaination of what .NET is, what it isn't, and why it will be used before my brain rebelled: "Great fuck, if people would simply stop schlepping shit around in proprietary binary formats, data could be imported or exported in any damn application that wanted to write the translation".

    This would be different if .NET was talking about eliminating the concept of an application (document-centric computing). Hell no, it's a bunch of pointy-head nerds and pointy-haired MBAs adding another goddamn layer of nerd-cruft to everything under creation.

    ".NET has three packets of information: the IL, the Metadata, and the fuck-this-where-can-i-find-nudie-pics"... please, for the love of Mike (God wouldn't have anything to do with this, it's purely From the Other Side), let's not stop everything and reinvent the wheel. We had the chance to carefully think things through and do it right, back in 1990. We missed the opportunity, we're now stuck with what we've got. Hasn't anybody learned anything from Be? You can't go home again.

    If .NET makes any fucking difference before it gets replaced with the Next Big Thing, I'll eat my damned crusty underwear. So far, I could grep for .NET and replace it with "Java", and timewarp my pasty white ass to 1997 when it was going to Save Us from platform-specific languages and Microsoft at the same time. I cut my balls off and drank the poison koolaid, but the fucking UFO hasn't poked it's nose out from behind Hale-Bopp yet, the shy fucking bastard.

    Spare me the fucking story. You wanna know what the next great savior is gonna be? Sumbitch, he's already here, and Tim-Berners Lee is his prophet. It's the Church of the Holy Hypertext, and it's vessel is Mozilla. The Web lit up the world because it's simple, it's easy to learn, and it's powerful... and, sin of all sins, it's accessible. Nerds and secretaries are building web pages, because it's easy to do. You think Sally Secretary is gonna benefit from .NET's programming language independance? It's wonky new IDE?

    Pfft. Thicker and thicker layers of cruft will not make programming less hard. Thicker and thicker layers of cruft will not change the way we access information. Thicker and thicker layers of cruft will only slow down the spread of knowledge, because everybody's chasing down the next security bug in .fuckingNET instead of sharing what they know.

    --
    Potato chips are a by-yourself food.
  34. Re:Can't bring yourself to admit it? by rbeattie · · Score: 3, Insightful

    No, I disagree.

    Microsoft ripped off Sun the same way it ripped off Apple (who ripped off Xerox) when designing Windows. Yeah, you can say they helped develop the first apps for Mac, etc. etc. but the main idea was still Apple's who pushed the GUI concept and standardized the idea and then Microsoft came along six years later and launched Windows 3.0 based on those concepts developed at Apple.

    Now Microsoft is doing the same with .Net. Back in 1996 when Sun was promoting net development and JITs and the whole concept of a better programming language, Microsoft was still knee-deep in C++ and COM (or was it OLE then?). Six years later, Microsoft looks at the progress Sun has made, copies the most successful parts and bastardizes the rest (again).

    Yes they added some good ideas - just like they did with Windows vs. Mac - but they still ripped off the general concepts and tech gains that were made from Java.

    Sorry, a ripoff's a ripoff.

    -Russ

    --
    Me
  35. Re:Real advantage? by PurpleBob · · Score: 3, Funny

    Or you can use Brainfuck.NET :)

    (I didn't make this, but I find it highly amusing. Yes, Brainfuck is an actual language, and this is an actual package that makes it compile to .NET.)

    Can I use BrainFuck.Net to write webservices?
    No. Well, probably not.

    Does BrainFuck.Net use the controversial Microsoft Passport system for authentication?
    No. The Brainfuck language has only 8 commands, and none of them are related to authenticating remote network users.

    --
    Win dain a lotica, en vai tu ri silota
  36. Paradigm neutrality by Anonymous+Brave+Guy · · Score: 3, Insightful
    Everyone talks about .NET's supposed language neutrality, but based on what I've read so far, it's only language neutral if your language is c# or close to it.

    Sad, but true. C# and VB.NET are so close to isomorphic that choosing between them is mostly a matter of whether you prefer symbolic or "natural language" syntax. Notice the number of long-standing VB developers who are trying to work out the relationship between the tool they've been using until version 6, and the new .NET version.

    In fact, from the article itself:

    The ability to use any language that can target IL is a fundamental feature of .NET. This is achieved through the Common Type System (CTS). The CTS defines how classes (or "types", in .NETese) are defined.

    I think the key thing is that .NET really only supports one paradigm properly: single-inheritance OO. C# fits that description, VB.NET has been moulded to match it, managed C++ is forced into it. You get the idea. I know it's theoretically possible to use other programming paradigms from this foundation, but surely the question is how well they are supported and how efficiently they can be done, not what could be done with infinite time and resources available. (Insert obligatory reference to the thread about functional languages on .NET the other day here.)

    Consider an obvious example: if .NET is reasonably language-neutral, where is the support for generics? C++ has had templates for years, and they are one of its most powerful features. Java has a proposal that doesn't go as far as C++ templates, but does add parameterised type support to a fair degree. (Anyone know if that made it into 1.4 in the end, BTW?) In ML, functions are implicitly generic unless you specify otherwise. If .NET doesn't support such a fundamental feature, then it's immediately dropped an important aspect for all these languages.

    Of course, how important the omissions are depends on your programming style. If you don't use generics, then this particular example is no loss to you. But it should be noted that the current trends in programming-language research are considerably ahead of single-inheritance "pure" OO designs. If .NET can't cope with multiple paradigms and newly developed idioms, it's not going to be leading edge for very long. The power of generic programming, functional programming and other completely separate idioms is being exploited in research already, and has been for some time. I don't think it will be long before they start hitting the maintsream, and then the limitations of .NET's architecture may be its undoing.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.