<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Λοιπά θέματα</title><link>https://www.dotnetzone.gr:443/cs/forums/29/ShowForum.aspx</link><description>Οτιδήποτε άλλα θέματα developing που δεν κολλάνε σε κάποιο από τα υπόλοιπα forums!</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: .NET Platform vs Sun Java VM version 2</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/10828.aspx</link><pubDate>Sun, 19 Mar 2006 23:08:39 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:10828</guid><dc:creator>Παναγιώτης Καναβός</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/10828.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=29&amp;PostID=10828</wfw:commentRss><description>Βρε παιδιά δεν βαριέστε αυτή την κουβέντα? Δε λέω, έχει και παραέχει νόημα, αλλά με μαθηματική ακρίβεια προσελκύει "Ταλεμπάν". Πριν από αρκετό καιρό είχαμε εδώ ένα mini-flame όταν κάποιος ο οποίος δεν είχε ξανακούσει για templates και generics προσπάθησε να αποδείξει ότι τα Java Generics είναι καλύτερα από του .Net. Και όχι, δεν ήξερε τί είναι τα templates, πού χρησιμοποιούνται τα generics και τί κάνουν.&lt;br /&gt;&lt;br /&gt;Πέρα από αυτό, το συγκεκριμένο άρθρο είναι από τα λίγα που διαχωρίζει τις γλώσσες από το VM και τις βιβλιοθήκες (JDK και .Net Framework). Αν δεν γίνει αυτός ο διαχωρισμός, κάθε σύγκριση είναι αποτυχημένη, σαν να συγκρίνει κανείς όχι μήλα με πορτοκάλια, αλλά καταΐφια με φορολογικές δηλώσεις. Ευτυχώς που δεν έχει μπλέξει κανείς και τα IDE στην κουβέντα.</description></item><item><title>Απ: .NET Platform vs Sun Java VM version 2</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/10827.aspx</link><pubDate>Sun, 19 Mar 2006 22:16:25 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:10827</guid><dc:creator>thrylos</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/10827.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=29&amp;PostID=10827</wfw:commentRss><description>Το source που δίνεις είναι πολύ παλιό και πολλά στοιχεία που αναφέρει δεν είναι αληθή πια.&lt;br /&gt;&lt;br /&gt;Όπως τ' ότι πρέπει να βασίζεσαι στη Sun για compiler. Η IBM έχει βγάλει δικό της compiler και JVM η οποία είναι καλύτερη και γρηγορότερη. Χρησιμοποιεί καλύτερο garbage collector και επειδή είναι γραμμένη σε C++ έχει καλύτερη επίδοση.</description></item><item><title>.NET Platform vs Sun Java VM version 2</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/10825.aspx</link><pubDate>Sun, 19 Mar 2006 20:43:52 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:10825</guid><dc:creator>zazikis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/10825.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=29&amp;PostID=10825</wfw:commentRss><description>&lt;b&gt;&lt;span class="wboxheado"&gt;NET Platform vs Sun Java VM&lt;/span&gt;&lt;/b&gt;&lt;br&gt;
The main debate should be between the .NET Platform and the
Sun Java VM (virtual machine). All languages on the .NET gain
their powers from the .NET Platform.&lt;br&gt;
If you stay in touch with the news then you would know that
it was Microsoft who had made the &lt;b&gt; fastest&lt;/b&gt; Java VM. They could
achieve it by tweaking the VM to give a better performance over
Intel platforms. Although due to the legal problems this project
along with the VJ++ project has been discontinued. Just to tell you
how serious Microsoft is about the .NET Platform, they have spent 4 billion dollars
and more in the research and development of .NET and have
pledged to devote 80% of their R&amp;amp;D in the year 2001-02 on the
.NET Platform. We have already see how Microsoft has ambitiously taken over
the market in the past when Windows gained popularity over Macintosh
(which people still think is a superior OS).&amp;nbsp;Also the Netscape
and IE war was won by Microsoft despite Microsoft's late entry into the browser
market.&lt;br&gt;
When such a ambitious company is spending so much resources it sure
has to have a strong strategy and product! Some points of
distinction are explained below.
&lt;p dir="ltr"&gt;&lt;b&gt;&lt;span class="wboxhead"&gt;1) &lt;u&gt;Platform Independence&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br&gt;
&amp;nbsp; I have taken this point first because this is the most ravaged point I 
have seen crusaders of Sun Java shouting about. I would like to highlight some 
facts here. Even though Microsoft has not made any open announcements nor are 
they publicizing Platform Independence, but the fact is .NET Platform 
Independent. Microsoft is not making any announcements because they don't want 
to jump around before they have a solid product in their hand. But Microsoft has 
already announced that they are going to release .NET Platform for Linux! And 
Microsoft's commitment can also be seen in their acquiring a significant stake 
in Corel Linux. Slowly there will be a .NET Platform for every OS.&lt;br&gt;
(Update 10/May/2002: MONO Project
&lt;a class="wbox" target="_blank" href="http://www.go-mono.com/"&gt;www.go-mono.com&lt;/a&gt; 
is already developing the CLR and C# compiler for Linux. Microsoft has released 
ROTOR the shared source containing the .NET Platform which works on Free BSD.)&lt;br&gt;
One more added advantage of .NET Platform is Language
Independence. Since all the code on the .NET ultimately gets
converted to IL, you can use components written in one language in
another language without writing any extra code!&lt;br&gt;
Also people who have tried to migrate big Java projects from one operating 
system to another, will realize that its simply does not work!! There is some 
amount of re-coding required to port the application from one platform to 
another. &lt;br&gt;
A example of this is that the Framework classes (System Namespaces)
that come with the .NET SDK have been written in C#, but you can use
these classes from any language like VB.NET, Managed C++ without
ever writing any extra code!&lt;br&gt;
&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;&lt;b&gt;&lt;span class="wboxhead"&gt;2) &lt;u&gt;Performance and Speed&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br&gt;
As I mention before that it was Microsoft that had developed the
fastest Java VM which reports say is 5x faster than the Sun VM. They
have learned
a lot from their previous ventures. The Sun Java VM does not
perform any CPU specific optimizations. Although I have heard about
the new HotSpot VM from Sun, but its just a code caching mechanism.
Microsoft on the other hand is perusing much ahead in the CPU specific
optimizations. Be sure these optimizations are made to the JITer and
has not effect on the code you compile and this does not make your
code Platform Dependent. What these optimizations do? Say Microsoft
finds that a particular instruction performed on a Intel P-III gives
a higher performance and the same instruction should be performed in
a different way on a AMD Durathon, it tweaks the JIT'er for the
specific CPU so that it optimizes the performance of your
applications according to your CPU. Such optimizations helps you to
utilize the true power of the CPU.&amp;nbsp;&lt;br&gt;
If you go the Java way, a Java program would more or less
perform the same on a Intel 1hz or a AMD 1hz without taking into
consideration the special features of the CPU. The .NET Platform
will provide different JIT'ers for the Intel as well as AMD CPU's so
that it can utilize all the special instruction sets which the 2
CPU's have allowing you to realize the value of the money you have
invested in buying a specific processor.&amp;nbsp;&lt;br&gt;
Since .NET is in its Beta version there have not been any specific
performance charts, but be assured the .NET will out perform its
counterpart in its future releases.&lt;br&gt;
(Update 10/May/2002 : See
&lt;a class="wbox" target="_blank" href="http://www.gotdotnet.com/petshop"&gt;
www.gotdotnet.com/petshop&lt;/a&gt; for performance benchmarks.)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span class="wboxhead"&gt;3) &lt;u&gt;Open competition for language and tool developers&lt;/u&gt;.&lt;/span&gt;&lt;/b&gt;&lt;br&gt;
The .NET platform is sort of a open platform, any vendor can create
a compiler for it! All languages can be ported to .NET, may be&amp;nbsp;
some day someone might even write a Java compiler for the .NET.
As of the Java scene, you have to rely on the arrogance of Sun
to provide you with compilers. This limits the chance of open
competition between third-party developers.&amp;nbsp;&lt;br&gt;
Just like on the native platform, we have compilers for C/ C++ from
many vendors like Microsoft, Borland etc. The choice of choosing the
compiler rests in the hands of the developer. The .NET Platform too
invites vendors to develop their own compilers. I just can't resist
mentioning that C# and the CLI (Common Language Interface) has been submitted to the
&lt;b&gt; ECMA&lt;/b&gt; committee and even you can write a C# compiler!&lt;br&gt;
Since third party vendors can create compilers, it goes without
saying that they are also free to develop third-party tools, so now
the developer will get a better choice of tools to suit his needs.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span class="wboxhead"&gt;4) &lt;u&gt;Other points&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br&gt;
.NET's features like versioning, type-safety and enhanced security
also are worth mentioning. You can run 2 versions of the same
component at the same time, this is called Side-by-Side execution.
Example: You can run ver1 of your Calculator component together with ver2
of it. The application that you wrote with the ver1 does not
break-up even when you upgrade your components to ver2.&amp;nbsp;&lt;br&gt;
I could go
on but I think I have made enough valid points.&lt;/p&gt;
&lt;p&gt;&lt;span class="wboxheado"&gt;Conclusion&lt;/span&gt;&lt;br&gt;
I my view .NET has beaten Sun's Java VM hands down, as I have
illustrated. I have heard about Sun's new &lt;b&gt; ONE Platform&lt;/b&gt;, but haven't
gone through it nor will I go through it, since after my encounter
with the power of .NET. I don't think I will be trying anything new
for at least sometime now!&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
I hope this will put a end to all the differences your minds about
the .NET platform.&lt;/p&gt;&lt;br&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Source: &lt;a href="http://www.mastersarp.com"&gt;www.mastercsharp.com&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;</description></item></channel></rss>