Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Which Programming Language Should I Learn?
#7
(02-21-2010, 04:56 PM)-NitroX Wrote: I thought C++ was just a Modified (added to) C#.
C# is a managed language that runs inside the .NET virtual machine and features automatic garbage collection. It is a high level language with C++ like syntax.

C++ is an unmanaged language that runs natively on your machine. It is a middle level language and being closer to the metal makes you do manual memory management (although you can use smart pointers are RAII to mitigate this).

So no C++ is not a modified C#, not by a long shot. C++ has been around since the 80's, but C# didn't appear until 2001. It is the fact that C# is run in a virtual machine (so protects you from a lot of errors, or at least makes debugging easier) and the fact that it has automatic memory management that make C# easier to get started with; but by comparison its lack of direct access to memory makes it less powerful if you know how to correctly exploit the features of C++ (which someone starting with programming won't, and will likely just make a mess the first time they see a pointer). I learnt C# before moving on C++ and can comfortably code in both (although I am better at C++, but that's just because I use it more); XNA is a pretty beast too.
[Image: sig.php]
The little boat gently drifted across the pond exactly the way a bowling ball wouldn't.
Reply


Messages In This Thread
RE: Which Programming Language Should I Learn? - by MrD. - 02-21-2010, 08:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What to learn? Akai 9 1,127 08-07-2012, 10:45 AM
Last Post: Kray
  LF Programming Buddies Akai 0 484 07-01-2012, 06:48 PM
Last Post: Akai
  If programming languages were religions... ven0m 6 1,134 05-31-2012, 07:22 PM
Last Post: Retribute
  I Need Programming Ideas AceInfinity 19 4,366 05-25-2012, 09:13 PM
Last Post: itsupportlondon2012
  I'm making my own language! King 26 4,153 05-07-2012, 09:57 PM
Last Post: KingQuarter

Forum Jump:


Users browsing this thread: 2 Guest(s)