Patric's profilePatric Johansson, C# Coa...BlogLists Tools Help
    February 04

    The creator of Java don’t get the difference between managed and unmanaged code

    Java creator and CTO of Sun’s Developer Products group, James Gosling, called Microsoft’s decision to support C and C++ in .NET one of the “biggest and most offensive mistakes that they could have made”. Further he said Microsoft “has left open a security hole large enough to drive many, many large trucks through".
    Builder AU has an article about the speech. What Gosling is getting confused is that pure C and C++ is not supported by .NET, since pure C and C++ is unmanaged and .NET only supports managed code. What .NET supports however, are Microsoft’s managed extensions to the C++ language. Managed .NET code is as safe as any Java code, no matter if it’s written in C# or managed C++. I’m sure that Gosling actually knows this, its hard being a developer today and not knowing the basics of .NET and managed code so this seams to be another below the belt punch from Sun towards Microsoft.
    I personally think that managed C++ is a good idea and by using it you can write more secure code. Most existing applications are still being developed in C/C++ and it would be to costly or difficult to just throw them away and rewrite them in a fully managed language, like C# or Java. Managed C++ allows us to develop new parts with .NET’s security model and still be able to use and interact with the old unmanaged parts.
    The comments made by Gosling shows clearly he’s scared of .NET’s success but having problems coming up with any real convincing arguments not to use .NET.

    Comments (2)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Picture of Anonymous
    Zach wrote:
    I am one to always knock down an over the top freaked out Microsoft hater, but I am also going to have to agree with Earl here.

    I have no clue what managed code is or even exactly what .NET is supposed to be.

    I also could recreate or mimic 95 to 99 percent of Word using php and script. Heck I even needed to make something that I thought was better suited for some sort of desktop language, (as I have discovered no way to control a new window in a webbrowser through HTML or HTA's), and learned enough C# to survive and make my app since Christmas - and I still have no clue what the heck .NET is or what managed code refers to.

    Though the funny thing about all these kind of things is safe, unsafe. Its a 1s and 0s in an object that has relatively few large moving parts - even if its the most horribly written, mismanaged, badly planned program ever - unless its controlling the car you are driving - it aint gonna hurt ya, its not gonna stalk ya, and you can always reformat.
    Feb. 9
    Picture of Anonymous
    Earl wrote:
    Actually it's easy being a developer today and not knowing the basics of .NET and managed code.
    Feb. 6

    Trackbacks

    The trackback URL for this entry is:
    http://pjsson.spaces.live.com/blog/cns!B7871904E0765429!150.trak
    Weblogs that reference this entry
    • None