Advertisement

C#

Started by April 25, 2001 09:25 AM
16 comments, last by grbrg 23 years, 9 months ago
even java developed so many year the performance of java != c || c++, so, how you consider the performance of c#?
quote:
Original post by spacemadness

C# is the evolutionary step from C -> C++ -> C#


MS did not intend C# to replace or fulfill the position of C++. It is meant to replace Java (as many people here have pointed out). Whether is succeeds or not is another matter.

Resist Windows XP''s Invasive Production Activation Technology!
http://druidgames.cjb.net/
Advertisement
quote:
Original post by superpeter
even java developed so many year the performance of java != c || c++, so, how you consider the performance of c#?


1. C# is compiled, Java is interpreted (using the term lightly, because when JVM''s use dynamic compilation, it ain''t interpreted anymore).

2. (This is what I heard from a Microsoft rep.) Primitive types are kept on the stack instead of the heap, unless they are actually being used as objects. This one little tweak alone (supposedly)provides better-than-Java performance.
(Of course, the MS rep could have just been blowing steam ... can anybody verify this?)



~~~~~~~~~~
Martee
http://www.csc.uvic.ca/~mdill
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
As far as I know C# is compiled into bytecode just like Java and has a virtual machine too...

I doubt MS will support .net outside from Windows... Why should they bother? Their goal is to make a MS standard for all ASP...

------------------------------

There are only 10 kinds of people: those that understand binary and those that don't.

Everyone is talking about how M$ is stealing things like garbage collection from Java. Have you ever thought about that garbage collection existed LONG before Java was ever created, in languages like Lisp?

Just my 2 cents...

Greets,
Henrik
/pitchblack
Exactly. And C# also looks like Pascal, Visual Basic, etc. It''s not just a Java clone. There are many features that make it quite different. Of course, I completely agree that it was created to compete with Java. But I don''t think it''s so simple as a Java ripoff. There are things in C# that I wish were in C++.
Advertisement
It''s a language. You want to use it, go ahead. But it seems there are more advantages to Java than C#. Still, it is suggested that American English-speaking kids learn Spanish in school, ya know (*wink*, *wink*).

In other words, learn as many languages as YOU want. C#, even with its many disadvantages, CAN be on that list if you want.
it looks like a very good language, clearly superior to java. Unfortunately it won''t replace C++ for game programming so we still have to learn C++. C# really is a great language though

This topic is closed to new replies.

Advertisement