![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 | |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
Quote:
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|
|
|
|
|
|
#12 |
|
Newbie
Join Date: Jan 2006
Posts: 13
Rep Power: 0
![]() |
No need for c# anymore.
I felt the same way before .NET 2.0 came out with visual studio 2005.
The new C++/CLI (that's what they call it now instead of managed c++) is way better than its predecesor. Check MSDN for more info. The interface to the language is way more attractive. Also you can take advantage of templates AND generics among other stuff. Something I've always loved about c++ is the standard library specially its containers. Microsoft developers are supposed to be working on a STL.NET that was supposed come out with visual studio 2005 but it didn't make it. I'm not sure of STL.NET's release date if there is one set yet. Check MSDN's blogs. I currently feel no PERSONAL need for c# anymore. |
|
|
|
|
|
#13 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
But... that's not the point. C++ .NET is basically C# with a few extra retarded keywords thrown in. It's not like it runs any faster.
|
|
|
|
|
|
#14 |
|
Newbie
Join Date: Jan 2006
Posts: 13
Rep Power: 0
![]() |
You're 100% correct on that and I never said that c++ was any faster/slower than c#. All I said was that c++/cli is no near as ugly as the old managed c++. No language is faster than the other. A programming language is not a factor when it comes deciding what language is faster than the other.
It depends more on what exactly you're measuring (production speed, execution speed, compiling speed, etc...). In this case though, we're talking about programs running under the .NET runtime framework so a specific language does not really contribute much to speed (IMO that is). Pretty much all I was saying is that if you're a c++ programmer and are used to c++ (as I am) there is no need to use c# now when using .NET. |
|
|
|
|
|
#15 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Makes sense to me. I can think of one disadvantage though: no Linux support.
|
|
|
|
|
|
#16 | |
|
Professional Programmer
|
C++ is faster than C# actually. Unless you're talking about .NET languages of course, that i know nothing about.
__________________
▄▄▄▄ Quote:
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it. Download Code::Blocks now! ▄▄▄▄ |
|
|
|
|
|
|
#17 |
|
Newbie
Join Date: Jan 2006
Posts: 13
Rep Power: 0
![]() |
I did come to that conlusion too. I've seen two attempts to port c++/cli linux.
http://www.math.leidenuniv.nl/~kris/whirl2il/ and http://developer.novell.com/wiki/index.php/Gcc-cil |
|
|
|
|
|
#18 | |
|
Newbie
Join Date: Jan 2006
Posts: 13
Rep Power: 0
![]() |
Quote:
What you are talking about is the implementation. |
|
|
|
|
|
|
#19 |
|
Hobbyist Programmer
|
Actually C# is slower clsk. The reason being is because it is interprited by the .NET Framework or Mono, where as C++ is already in binary format. Also the Runtime Environment causes it to eat up more RAM than it's C++ equivalent. Here is a good way to think of it. Say you are a native English speaker who is learning Spanish and already speaks French. C++ is like having a paragraph in spanish that has already been translated into English right beneath it. Where as C# is translated into an intermediate language (MSIL) and it is like having a paragraph in spanish with a french translation beneath it and you need to translate to english in your head while you read it.
Although C# is a little bit slower and takes up a wee bit more RAM, most developers would agree that it is worth it. For common GUI applications that hobbiest programmers would write, it sure makes life a whole lot easier. Besides, if you are new to programming, the garbage collection might actually make your program more compact than if a beginner wrote it in C++. Of course that is something one would want to overcome anyway, but it still helps advanced developers squash bugs with less effort. |
|
|
|
|
|
#20 | |
|
Professional Programmer
Join Date: Jun 2005
Location: India, The great.
Posts: 435
Rep Power: 4
![]() |
Quote:
__________________
PFO - My daily dose of technology. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|