Re: C++,C#:which main differences?
Quote:
Originally Posted by RoboTact
Why C# in place of C++, not Java or something else? C# is mostly Microsoft thing and it's not considered all-purpose language.
Well, being a Microsoft thing has nothing much in it as an argument. It all depends on the system that you are targetting. You don't have to do anything exceptional with Java to get a platform independence. That is managed by the JVM. It basically is important to learn any one and be aware about what systems could be targetted. .Net is expanding and so are the efficiency of the web servers provided by MS. I am not saying competitors are not there ... may be more ahead but .Net is something really happening. Java was used for extensive web apps and services a few years ago and even now but I see that ASP.Net code base is also increasing hugely.
Moreover, with the kind of documentation that MS provides is far better than what is there for Java and its api's. It helps learning fast and easy.
Personally I find the buzzwords of Java too overwhelming for an amateaur. Cost of infrastructure is what I think gives Java the edge otherwise performance wise C++ or C# are much better than Java ...
So I won't compare what to learn on the basis of which has not to do with MS but I would suggest picking up anyone for which resources are easily available to one and then keep on building the earned knowledge... I dont think there's any harm in learning both C# and Java.. most of the stuff are quite common...
Cheers... best regard.
Re: C++,C#:which main differences?
Quote:
Originally Posted by exterminator
Cost of infrastructure is what I think gives Java the edge otherwise performance wise C++ or C# are much better than Java ...
I don't exactly understand this sentence... Are you saying that Java has better infrastructure, but both C++ and C# have better performance? C# is managed code, as well as Java, there is no principal performance difference, while C++ has no such limitations.
Re: C++,C#:which main differences?
Quote:
Originally Posted by RoboTact
C# is managed code, as well as Java, there is no principal performance difference, while C++ has no such limitations.
Well...there is some difference...managed .NET code has proven to be faster than Java. And that basically reveals one problem I see with Java. Although being around for some years, Sun (still) didn't get the performance right.
Re: C++,C#:which main differences?
Quote:
Originally Posted by Andreas Masur
Well...there is some difference...managed .NET code has proven to be faster than Java. And that basically reveals one problem I see with Java. Although being around for some years, Sun (still) didn't get the performance right.
That's why I planted that 'principal' word... Platforms themselves seem to require about equal overheads.
Re: C++,C#:which main differences?
Quote:
Originally Posted by RoboTact
I don't exactly understand this sentence... Are you saying that Java has better infrastructure, but both C++ and C# have better performance? C# is managed code, as well as Java, there is no principal performance difference, while C++ has no such limitations.
..because I was probably not clear .. its about 5 in the morning... :( and i cant find sleep. By cost I meant MS products are costlier in terms of $$.
//sorry I should not be posting in this state :ehh:
Re: C++,C#:which main differences?
Quote:
Originally Posted by exterminator
..because I was probably not clear .. its about 5 in the morning... :( and i cant find sleep.
Well...maybe you should rather try the bed instead of trying to fall asleep in front of the monitor... :D :D :D
Re: C++,C#:which main differences?
Quote:
Originally Posted by Andreas Masur
Well...maybe you should rather try the bed instead of trying to fall asleep in front of the monitor... :D :D :D
Yah .. I had finally got it .. had an Informix unsolved issue at work which got solved late night...Now ... Good Morning.
By the way, I don't see much code in .Net except for C# (which I think is central to .net) and VB.Net (due to the huge VB 6.0 community). I am still to find some reasons for this because I had actually thought of C++.Net to be the leading one. Regards.
Re: C++,C#:which main differences?
Quote:
By the way, I don't see much code in .Net except for C#...
That's probably because in my opinion and just about everybody else's who I've ever talked about writing .NET in C++ is somewhat of a pain. It seems to have become better with the new language extensions, but I still think it's a pain.
Personally I'd recommend you learn and use C# to write managed code because that's what it's designed to do.
That's what I do : and use native C++ for any time-critical pieces of code.
Darwen.