Is c# as powerful as C++?

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
Levio91
Chaos Rift Regular
Chaos Rift Regular
Posts: 119
Joined: Thu Nov 06, 2008 9:50 pm

Is c# as powerful as C++?

Post by Levio91 »

I took intro to computer science this year and the proffessor is going to teach us how to program in c# Is it as powerful as C++? It still looks fun,the only thing I dont ike is vissual studio 2005's interface. I prefer bloodsheds c++ editor-compiler.

this is the book Im using I totally recomend it. http://www.amazon.com/Teach-Yourself-Vi ... 303&sr=8-2
"Criticism is something you can avoid easily by saying nothing, doing nothing, and being nothing. " - Aristotle

http://www.facebook.com/profile.php?id= ... ef=profile
Image
User avatar
Aeolus
Chaos Rift Regular
Chaos Rift Regular
Posts: 179
Joined: Fri Jan 16, 2009 2:28 am

Re: Is c# as powerful as C++?

Post by Aeolus »

From what i heard no its not. I mean its got its advantages, and its mainly used for Multimedia applications such as Windows Media Player, A photo preview application, etc...

C++ is more used for Games, Emulators, Servers, etc...
Hyde from That 70's Show wrote:Woman are like muffins... Once you have a muffin you will do anything to have another muffin... And they know that.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Is c# as powerful as C++?

Post by MarauderIIC »

C# is what the professional area is all about now
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
trufun202
Game Developer
Game Developer
Posts: 1105
Joined: Sun Sep 21, 2008 12:27 am
Location: Dallas, TX
Contact:

Re: Is c# as powerful as C++?

Post by trufun202 »

C# is great for business applications. The .NET Framework offers alot of built-in functionality that lends itself to rapid application development, but ultimately C++ offers better performance and more flexibility.

In terms of gaming, Microsoft's XNA framework uses C# and works on the 360, which is cool - but you can still get way more out of C++.
-Chris

YouTube | Twitter | Rad Raygun

“REAL ARTISTS SHIP” - Steve Jobs
odnarble
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 1
Joined: Tue Jan 06, 2009 9:04 pm

Re: Is c# as powerful as C++?

Post by odnarble »

Which one do you guys think will last the longest in the business world?
User avatar
programmerinprogress
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Wed Oct 29, 2008 7:31 am
Current Project: some crazy stuff, i'll tell soon :-)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++!
Location: The UK
Contact:

Re: Is c# as powerful as C++?

Post by programmerinprogress »

Definitely C++

There are already so many businesses using systems built with C and C++ that maintaining their current systems would be more cost effective than having to redevelop a system in C#, design, implement and re-test the system and retrain the staff to use the new system. It makes much more business sense to work with what you've got.

there's also so many more skilled C/C++ programmers to do the job.

And also, depending on the business, the company may require some low-level control (don't ask me why, like said it depends on the business) which C# might not provide.

People are slow to change (and to be honest with you, i'm one of them, I like C++ and it's underlying principles, I think it achieves its goals well)
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D

I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Is c# as powerful as C++?

Post by Falco Girgis »

C and C++ are not going anywhere. Even if companies decide to use C# for business applications, C/++ are almighty when it comes to lower level/high performance programming for things like embedded systems (gaming consoles) and anything where performance matters.

C/++ can do everything C# can and more. Some companies might like to use C# for faster development, but C# will never be able to cover more than a small area of what C/++ can.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Is c# as powerful as C++?

Post by LeonBlade »

I have to agree...
C# is simple, you can tell C/C++ is more complex just by using it.
C# reminds me of Java lol
There's no place like ~/
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Is c# as powerful as C++?

Post by Ginto8 »

C# is very similar to Java, from what I've heard. Both seem to be very internet-oriented.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
programmerinprogress
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Wed Oct 29, 2008 7:31 am
Current Project: some crazy stuff, i'll tell soon :-)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++!
Location: The UK
Contact:

Re: Is c# as powerful as C++?

Post by programmerinprogress »

For java, that's due to it using it's own virtual machine, thus all java code will work on any operating system, just as long as a correct virtual machine is present ,this makes it really easy to intergrate into web pages.

As for C#, I believe it uses a similar process, but it uses the .NET framework,which Is only intended for windows machines(AFAIK), but you can easily publish C# projects to the web.

Personally, i'm a dinosaur, and I believe that the offline, standalone application will be here to stay for a long time so I use C++ ;)
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D

I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
User avatar
M_D_K
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1087
Joined: Tue Oct 28, 2008 10:33 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C/++
Location: UK

Re: Is c# as powerful as C++?

Post by M_D_K »

I've said it before, I'll say it again Mono. Mono is a cross platform, open source .NET development framework. Not that I'd use it, I too am a C/++ guy.
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Is c# as powerful as C++?

Post by LeonBlade »

I use Mono myself actually (on Ubuntu)
There's no place like ~/
User avatar
programmerinprogress
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Wed Oct 29, 2008 7:31 am
Current Project: some crazy stuff, i'll tell soon :-)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++!
Location: The UK
Contact:

Re: Is c# as powerful as C++?

Post by programmerinprogress »

M_D_K wrote:I've said it before, I'll say it again Mono. Mono is a cross platform, open source .NET development framework. Not that I'd use it, I too am a C/++ guy.
Thats what I thought, the differentiation between java and C# is that sun microsystems wants their platform to be compatible with all available Operating Systems (that's why they write the VMs) but Microsoft don't strictly intend their language to work on other Operating systems, i'm not saying they don't work, but they really want their software to function on their own operating systems (thus Mono comes in, in all its open-source glory :lol: )
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D

I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
Post Reply