tags:

views:

138

answers:

5

Hello, i need to write an web crawler and i need need which is best language for performance like memory and performance ..

Edit: Original title was "which language is optimized for speed and perfomance c++ or C#"

A: 

A Google search would give you an instant answer - C++ is (generally) a better performing language.

dark_charlie
Why C++ is better and C# is not better?
saurabh
C++ is better C# is not better, and C# is not better because C++ is better. All these "better" are meaningless in most cases...
Cedric H.
+3  A: 

I'd say that, if you know what you're doing, C++ is more likely to be efficient than C#.

On the flip side, C# is probably easier to work with and to optimize your app in.

So, since you have to ask, I recommend C# in your case. ;)

Marcus Lindblom
+1  A: 

Of course C++. You can manage every byte of memory there, while C# is Managed Code, where you tell the framework what you want to do and the framework does the things you usually do in C++. But if that's the main motive - don't stop at C++ and get right to machine code, Assembly.

Alexander
+1  A: 

C++ virtually always offers the best performance of any language that supports modern programming techniques like generic programming and OOP. You pay a price for this though - it's substantially harder to use than C#.

DeadMG
+4  A: 

i need to write an web crawler

In that case, the internet traffic is probably your bottleneck, so the language does not matter at all.

FredOverflow