Page 7 of 11

C# or C++?

Posted: Wed Apr 12, 2006 2:32 pm
by tilted
If you have a matrix or vector class in .NET you can overload operators.. been there since 1.1 (or earlier I believe)



 



(Sorry forgot to quote Finn mac's post regarding not having operator overloading in generics -- generics is nothing to do with it)

C# or C++?

Posted: Wed Apr 12, 2006 7:55 pm
by Finn Mac Cool
Here's a discussion of the problems with operators in C#.



 



http://www.codeproject.com/csharp/GenericOperators.asp

C# or C++?

Posted: Wed Apr 12, 2006 8:11 pm
by athletico
tnx for that link Finn ...  Generics + Reflection = Lightweight Code Generation and some very cool dynamic apps.



(incidentally the guy that wrote that article is working on the DLinq project in C# 3.0)

C# or C++?

Posted: Thu Aug 17, 2006 9:54 pm
by Crassus
I've had a fair chance to play with C# in VS.NET 2005. Very good. I pity ye who labour yet with C++.



The VS2005 IDE in itself is very, very good.



Nice numerical package also (including Matrix class) http://www.cdrnet.net/projects/nmath/

C# or C++?

Posted: Fri Aug 25, 2006 11:30 pm
by insomniac
So just to kick off this thread again - would you guys recommend that a newbie not bother learning C++ and jump straight to C#?



I'm just curious, because I'm quite fried after a few years of C/C++ and extraordinary difficulty of implementing a good Windows app in C++.



Is C# better at this?

C# or C++?

Posted: Fri Aug 25, 2006 11:36 pm
by tristanreid
Yes.



Generally, .NET is better, so the mere act of switching to C++ .NET will help (the visual studio environment is very nice), but switching to C# makes even more sense, there is no advantage of staying with C++ .NET.



I can be more specific if you'd like, but I believe there are dozens of threads about the advantages.



-t.

C# or C++?

Posted: Sat Aug 26, 2006 12:50 am
by mj
there are more jobs in quant for C++ programmers

C# or C++?

Posted: Sat Aug 26, 2006 1:10 am
by insomniac
MJ,



Undoubtedly you're right, though this begs the question why. I get the impression - and please do correct me if I'm wrong - that it is more to due to the requirement of legacy code maintenance rather than new project development.

C# or C++?

Posted: Sat Aug 26, 2006 1:33 am
by IAmEric
It is absolutely a legacy issue. Otherwise, everyone would be using Matlab Wink

C# or C++?

Posted: Sat Aug 26, 2006 4:11 am
by tristanreid
[i][b]mj[/b]: there are more jobs in quant for C++ programmers[/i]