C# 2.0....better than C++?

This is a discussion on C# 2.0....better than C++? within the C++ Programming forums, part of the General Programming Boards category; C# 2.0 Is it better than C++? Is it just a glorified version of C#? I hear it's supposedly supposed ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    100

    C# 2.0....better than C++?

    C# 2.0

    Is it better than C++? Is it just a glorified version of C#? I hear it's supposedly supposed to replace C++ all together. It comes out in April.

  2. #2
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    I hear it's supposedly supposed to replace C++ all together.
    That's not happening.
    Is it just a glorified version of C#?
    According to wikipedia, some of the changes are
    * Partial types (separation of class implementation into more than one file)
    * Generics or parametrized types. They differ from Java in that parametrized types are first-class citizens in the Virtual Machine, which allows for optimizations and preservation of the type information. See a simple example of C# 2.0 generics.
    * A new form of iterator that employs coroutines via a functional-style yield keyword similar to yield in Ruby and Python
    * Anonymous methods providing closure functionality
    Is it better than C++?
    I wouldn't say so. It seems to me that it tries to protect you too much, and is therefore slower.

  3. #3
    Nonconformist Narf's Avatar
    Join Date
    Aug 2005
    Posts
    174
    Is it better than C++?
    You're confusing "better" with "different". C# is different from C++, and they can't be objectively compared in the general case.
    I hear it's supposedly supposed to replace C++ all together.
    I've heard that claim for years "so and so language is going to replace such and such language". It hasn't happened before, and I don't see it happening this time. C# 2.0 is just another tool in the ol' toolbelt.
    Just because I don't care doesn't mean I don't understand.

  4. #4
    Software engineer
    Join Date
    Aug 2005
    Location
    Oregon
    Posts
    283
    Narf is correct. It's just another tool, and it will help you depending on the project. Microsoft is marketing their .NET platform. They're not taking over the world. They're targeting Window developers to increase productivity with a 10% decrease in speed.

  5. #5
    Registered User
    Join Date
    Sep 2005
    Location
    USA
    Posts
    69
    AHHHHH! I am beginning to think that you want to start these "Little Wars" that you were talking about not wanting to happen. If you want people to tell you that C# 2.0 is better than C++, go to the C# forum. If you want the wars to happen keep posting here because the wars will still happen.
    Adam

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. Compile to 1.1 got 2.0
    By Coder87C in forum Windows Programming
    Replies: 0
    Last Post: 04-19-2006, 03:13 AM
  3. making a dll in .net 2.0 and than using it in .net 1.1
    By Rune Hunter in forum C# Programming
    Replies: 2
    Last Post: 04-19-2005, 01:59 PM
  4. Does the Radeon9200SE support OpenGL 2.0?
    By psychopath in forum Tech Board
    Replies: 2
    Last Post: 03-01-2005, 12:16 PM
  5. Usb 2.0
    By ober in forum Tech Board
    Replies: 6
    Last Post: 09-06-2003, 10:14 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21