Thread: .NET - Why?

  1. #16
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    This is the best explanation of the further compiliation to machine code.

    "In C#, however, more support is given for the further compilation of the intermediate language code into native code."

    That's really deep.

    The differences between C# and Java are very small. C# has enumerators and operator overloading, which are nice, but nothing earth shattering. Consider the hello world in C# vs hello world in Java.

    From that page, in C#

    using System;
    public class HelloWorld
    {
    public static void Main()
    {
    Console.WriteLine("Hello World! From Softsteel Solutions");

    }
    }

    Compare this with helloworld in Java.

    public class HelloWorld
    {
    public static void main(String[] args) {
    System.out.println("Hello World");
    }
    }

    Vs C++

    #include <iostream>
    using namespace std;

    int main() {
    cout << "Hello World" << endl;
    return 0;
    }

    You see that C# and Java are much closer to each other than to C++.

    My biggest problem with Java is the lack of templates, so one cannot use compile time typesafe container classes. Is C# going to fix that? Or would that require straying from Java too far?
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  2. #17
    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 difference between Sun Microsystems and Microsoft is that Sun is trying to make money and Microsoft is trying to keep it.
    I compile code with:
    Visual Studio.NET beta2

  3. #18
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    Or Sun is trying to own something, while Microsoft is trying to own everything. If the langauges were equal, I'd have to take Sun's solution, simply because they have less power to screw over everyone in their way. I can't remember any anti trust suits against Sun.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  4. #19
    Registered User ski6ski's Avatar
    Join Date
    Aug 2001
    Posts
    133
    I haven't had the chance to mess with .net at all, but I was wandering if there will be a version of C++ that you could buy seperate from the VS? Since I program in C++/VC++ buying the whole studio is not in my budget, or in my intrest. And is it worth the upgrade??
    C++ Is Powerful
    I use C++
    There fore I am Powerful

  5. #20
    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 was at the bookstore last night because it was right beside the movie theatre. Picked up these titles:

    .NET Framework Essentials
    and
    Introducing Microsoft .NET

    I'll read them through and try to find out what it's all about. Both books are not too big, maybe 250 pages each.
    I compile code with:
    Visual Studio.NET beta2

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