|
-
Sep 10th, 2001, 12:18 PM
#1
Thread Starter
Dazed Member
C# or Java? you decide
After reading a thread (i forget which one) that talked about Java
and C# and how Java will lose the battle i just wanted to air my views. Any replies would be cool.
C# is the answer of Microsoft to the Open Source under GNU Licence.
Java is not based on Open Source, so it can't be directly concerned by
C#.
It may be concerned in this point of view : C# is native compilation
whereas Java isn't. And on that line, Sun has to be carefull and not
sleeping too much. Native compilated code don't break the
"write once run everywhere". It will be more powerfull and would
show up all the power of the language. And Microsoft won't be able
to block these programms anymore.
I have done some research, not as much as I could have, but there are some conclusions that I have come to.
C# is not a direct competor to java because they really are attempting to address diffrent ends of the spectrum.
C# is more of a C++ replacement than a Java replacement. It is more a way for cleaner DCOM/MFC programming than a true cross platform language spec.
C# does NOT have the security of Java nor will ever have the level or security that java enjoys. Any attempt to tell me otherwise will have to be backed up with hard facts. I've seen code where you can selectivly turn off GC of specific objects, that's a DOS waiting to happen. The only way for C# to be secure is to use NO unsafe functions, but the way to get the most speed from your app is to use unsafe functions.
The similarities in the language are skin deep, as any OO functional language would have similar language specifications.
People sometimes say it might be better from a size perspecteve. Remeber that to run windows apps requires almost 1gb ( xp ) 600mb ( 2000 ) 300mb ( 98 ) to run windows applications. VB has and still does require a large .dll even to run it's applications and that is just a thin wrapper over the native calls.
Dispite my current issues with sun's JCP, size of the runtime, pure graphics speed, and footprint ( much better with beta2 thanks! ) it is still the best combination of development and acceptance ( some obsure languages are better, but with fewer tools and runtime options ).
Watch out C# developers, as M$ is changing it's licencing to possibly prevent OpenSource development with it's tools!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|