Thread: .NET - Why?

  1. #1
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435

    .NET - Why?

    We've all argued about .NET, and C#, but we've never really discussed why we should use it, or why we shouldn't.

    (looks around for the microsoft man to answer his questions)

    Well Dean, *why* should I use .NET? WTF do I get out of it? Does it have real advantages, or is it just a ploy to grab more cash after stunning the people - er, consumers with big words?
    .sect signature

  2. #2
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    Give me a few hours and I'll come up with the best description I can. It seems that as I write this stuff it gets confusing very quickly. Come back later today, maybe even tonight because I have classes this afternoon, but I will try to post something that is organized and will make sense. .NET is more than just one idea and the description that I'll provide will be nowhere complete, but I'll give you a few reasons like you asked for.
    I compile code with:
    Visual Studio.NET beta2

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    .NET is called a framework. A library, a huge one. Why
    do we use libraries ? Because it makes life easier.
    What is different between .NET and any other
    library ? .NET is available for a huge number of
    languages, VB, C++, C#, anything... maybe there's
    even ASM.NET, just have a look around
    www.microsoft.com

    I can't tell you what part of .NET would be useful
    for your task at hand, but if you aren't doing low
    level C/Assembly programming, chances are good,
    there will be some parts that fit your job nicely.


    Watch out for Toaster.NET, the next generation
    bread roasting device you can't be without
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    >but if you aren't doing low
    level C/Assembly programming, chances are good,
    there will be some parts that fit your job nicely.

    translation:

    if execution speed is not important...
    THEN .NETS FOR YOU!! the new hot java... .NET

  5. #5
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    Well Dean, *why* should I use .NET? WTF do I get out of it? Does it have real advantages, or is it just a ploy to grab more cash after stunning the people - er, consumers with big words?
    Alright, I did a few hours reading and I gather this:

    .NET is a a service for BOTH ordinary people and businesses. For ordinary people it will allow them to protect their personal information (it offers a very high level of security) through a process called distributed computing. This means that there will be an interface where developers and more specifically businesses can access with their programs through the .NET class framework.

    The framework works in an intermediate language so that many different languages can use these classes. The fact about C# is that it will have seemless integration, whereas other languages might not work seemlessly.

    The reason why C# will be faster than JAVA, is that although they both form an intermediate language, JAVA byte code needs to be interpreted by the browser, yet C# intermediate language will further compile to system dependant code before it is executed. In other words, it will not have to be interpreted.

    I think I'll write a full esay and post it here but I'll need a few weeks.
    I compile code with:
    Visual Studio.NET beta2

  6. #6
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    the .net website

    www.net.net
    Monday - what a way to spend a seventh of your life

  7. #7
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Dean...

    Don't you think that it may well be some time before .NET becomes properly useable......

    It seems to me that microsoft has NEVER produced anything that worked properly first time. How many service packs and updates does the windows OS need?
    What about MS office,word,excel etc. ?

    Microsoft seem to be more into making money than making sure their code works properly before its released.

    Do you really think .NET and MS visual studio 7 will be any different?
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  8. #8
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    "The reason why C# will be faster than JAVA, is that although they both form an intermediate language, JAVA byte code needs to be interpreted by the browser, yet C# intermediate language will further compile to system dependant code before it is executed. In other words, it will not have to be interpreted. "

    Actually, they are called JITs (just in time compilers) and they have existed for some time now with Java. Nothing in Java makes it unable to compile to machine code.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  9. #9
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    I don't believe It has anything to do with the compiler. It's the .NET framework that is built into the operating system.

    When I write the essay I'll pay special attention to this.
    I compile code with:
    Visual Studio.NET beta2

  10. #10
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435

    more

    I lost my post! oh well...

    What I really wanted to know is: why should I, as a consumer, plonk down the cash for a copy of .NET (the operating system)?

    I've heard the arguments for the developer side of things. I know how MS is pitching it to businesses ("Pay per use is great! Save cash, and never upgrade again!"). I know how they're pitching it to developers ("Pay per use is great! The sheep will keep on paying up!"). But I have no idea why a consumer would buy such a thing..

    My Questions as a Consumer:
    Will .NET need the IA-64 architecture? Will it support sledgehammer?
    Will .NET need app servers to be up to work?
    Does .NET need a net connection to run?
    Will .NET support legacy apps?
    Isn't .NET rather risky in the privacy bit o' things?
    Do you think that if .NET succeeds, MS will basically have the OS market... forever? Do you think the courts will cry foul? Do you think the courts are even capable of doing anything about it?
    Do you think that .NET will succeed?

    C# is already turning into just another language, as projects are underway to port it to linux (and thus to just about every architecture on earth)... I have fewer questions as a developer.

    My Questions as a Developer:
    Is this .NET thing sort of like the perl CPAN, where you can download classes at run time to perform operations needed? Will it be that I package off a request with something like SOAP and the server will perform what is needed, and then return the result?

    I am Hungry:
    Will .NET really be able to power my toaster, or will I have to wait until the JAVA toasters come out onto market to burn images into my bread?

    .sect signature

  11. #11
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    You are mixing up different things here:

    WinXP:
    Operating system, beta out.

    .NET:
    Library and new concept, beta out.

    Renting Software Concept:
    Introduced in latest Office version.

    They are completely independent of each other.

    With .NET as with almost any other library,
    you can work without net access on todays
    2K computers. That should answer almost
    all other questions as well

    As a user, you don't need anything. You will
    get a nice package with a CD or two and
    instead of a "Contains latest version of DirectX"-
    sticker, it might have a "Contains .NET Runtime" -
    badge on front.

    >Will .NET really be able to power my toaster

    No. Call your local power company.NET
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  12. #12
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    The .NET service is indeed a huge .NET class library but it is also much more than that. It is the bases of distributed computing, which means a new internet concept and a new way to design apllications around the 'home user' which will have the power to control who is allowed to have their personal information and for how long.

    WinXP is an operating system. It's official release is October 25. It will come out in a home version, a professional 32-bit version, and a professional 64-bit version, for I64's. It will be capable of using 'next generation windows services', because the .NET framework will be built into it (which might cause trouble with the courts). Some will argue that The .NET framework will provide a competitive advantage to languages by allowing them to further compile to machine code from an intermediate language, and therefore run faster than JAVA. I don't think that JAVA is supported. I want to read more about this but don't have the time to do so.

    WinXP will not be a server operating system. The new servers are comming out later, next year.
    I compile code with:
    Visual Studio.NET beta2

  13. #13
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    Dean, compiling to machine code is something Java runtime environments have been doing for a long while now.

    Basically, when you write a java app and compile it, you compile into portable "bytecode." That's the same as the intermediate step with C#. This can either be interpretted directly while running the program (slow), or can be first compilied into machine code, and that machine code run (fast). This is probably the same exact thing Microsoft is doing with C#.

    Given, I have not studied C# at all, and my only experience with Java is reading about 800 pages of a book called "Thinking in Java" and doing some sample problems. But it really seems that the only reason C# is close to C++ is because it's damn near a clone of Java, and Java itself is somewhat similair to C++.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  14. #14
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    I have not read a book on .NET, just did some surfing. Everyone is claiming that c# is faster and it has something directly to do with the .NET framework. It's not a clone of JAVA but is similar to C++.

    When I have some time I want to find out the exact technical reason why it is faster. This website makes this comment. The explanations are conciise. Check it out quickly for yourself. To the right there is a section that says C# VS JAVA.


    http://www.softsteel.co.uk/tutorials/cSharp/cIndex.html
    I compile code with:
    Visual Studio.NET beta2

  15. #15
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    It's not a clone of JAVA but is similar to C++.
    I only had a very brief play with Visual Studio.net today but c# did seem pretty similar to Java. However, there is an project option in Visual C++ 7.0 - 'managed c++' where you can use the C# classes in a C++ way and it looks like it compiles the same way as C#.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. migrate from .Net 2.0 to .Net 3.0
    By George2 in forum C# Programming
    Replies: 3
    Last Post: 07-25-2007, 04:07 AM
  2. Some .NET Distribution Stats
    By nickname_changed in forum C# Programming
    Replies: 2
    Last Post: 05-14-2005, 03:41 AM
  3. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  4. .net
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 02-15-2002, 01:15 AM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM