Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

C# vs C++

Name: Anonymous 2009-10-01 16:56

I'm not looking to start some sort of fanboy arguement.

Is the ease in development brought by C# worth more than the power/speed of C++?

I'm writing a genetic algorithim so speed is pretty important.
I can't find any legit benchmark test so I'm lookin for oppinions here.

Name: Anonymous 2009-10-01 17:00

OMG PONIES

Name: Anonymous 2009-10-01 17:01

I'm not looking to start some sort of fanboy arguement.
Now you have 2 problems.

Name: Anonymous 2009-10-01 17:05

Who the fuck even uses C# ? Just use sepples.

Name: Anonymous 2009-10-01 17:09

On behalf of C#, I have to say, that LINQ thing looks pretty interesting. But I never used it, so what the fuck do I know?

Name: Anonymous 2009-10-01 17:15

>>1
Is the ease in development brought by C# worth more than the power/speed of C++?
C++ has no power or speed. However, in reality, ease of development trumps both of those most of the time anyway.

But for a genetic algorithm, use C. Preferably C calls from a Foreign Function Interface of a higher level language.

Name: Anonymous 2009-10-01 17:19

C# is only good if you want to make money

Name: Anonymous 2009-10-01 17:35

>>5
I have used LINQ and can tell you it's fucking amazing. Being able to write queries directly in the language is a major advantage, and that LINQ works against many different types of things (objects, XML, SQL, Entities, etc.) is even better.

Name: Anonymous 2009-10-01 18:16

>>8
Does it gain you all that much over list expressions when you're not dealing with SQL? I haven't seen many compelling examples.

Name: Anonymous 2009-10-01 19:04

>>1
Sepples is only worthwhile for things that absolutely need the performance and would benefit from the features of Sepples, e.g. inheritance.

Games are a specific problem domain that work decently with Sepples, but that's about it. Outside of gaming, there really isn't much use in Sepples.

Almost all other languages do other functions better, e.g. C for device drivers, C#, D, Delphi, etc. for userspace, and so on.

Name: Anonymous 2009-10-01 20:08

>>1
I can't find any legit benchmark test
That's because no such thing exists

Name: Anonymous 2009-10-02 12:00

>>6
C++ has no power or speed.
This is what people on /prog/ actually believe!!!

Name: Anonymous 2009-10-02 12:20

>>12
I've seen a case where a C# implementation of a C++ 3D game yielded a good improvement in speed. It just shows that a badly thought out design yielded poor performance, while a well thought out implementation in a higher-level language can yield better performance (be it C#, or more superior languages).

Name: Anonymous 2009-10-02 12:48

>>13
Which game?

Name: Anonymous 2009-10-02 12:53

>>14
An UO clone.

Name: Anonymous 2009-10-02 13:14

If you want speed you can more or less count on, you use C. If you want to code at a higher level than C, embed lua in C. Don't fucking bother with C++. It is worse than garbage.

Name: Anonymous 2009-10-02 13:20

>>15
An UO clone! Hoe does that even make sense!

Name: Anonymous 2009-10-02 13:24

>>17
Ultima Online, google next time.

Name: Anonymous 2009-10-02 13:30

>>18
Are you trolling me! I beat you have nothing else to do in your life and you sit all days hear and troll people!

Name: Anonymous 2009-10-02 14:09

>>19
What are you talking about? Everyone who has been on the internet for more than three years knows about Ultima Online.

Name: Anonymous 2009-10-02 14:11

>>20
Nice try troll! Maybe your tiny brain just cant grasp some things! I beat I could beat your ass's off!

Name: Anonymous 2009-10-02 14:14

>>21
What about my ass is off?

Name: Anonymous 2009-10-02 14:16

>>22
What!

Name: Anonymous 2009-10-02 14:17

Tilted exclamatory phrases sure to invoke ire!

Name: Anonymous 2009-10-02 14:21

Let me try that, too!

Name: Anonymous 2009-10-02 14:21

>>24
But weren't they actually questions!

Name: Anonymous 2009-10-02 14:22

>>21
Haha, actually >>20 and >>15,18 are different people.

Name: Anonymous 2010-11-03 3:26

Name: Anonymous 2010-11-27 0:36

Name: Anonymous 2011-02-03 3:08

Name: Anonymous 2011-02-03 3:22

Don't change these.
Name: Email:
Entire Thread Thread List