Linked by Thom Holwerda on Tue 16th May 2006 22:13 UTC, submitted by adstro
Java "Sun today announced that Java Platform, Standard Edition 5 is now available for redistribution by GNU/Linux and OpenSolaris operating system distributors under the new Operating System Distributor's License for Java (also known as the 'Distro License for Java' or DLJ). Developed in consultation with, and for use by, the various GNU/Linux communities, the new license allows distributors to ship Sun's Java SE 5.0 Java Development Kit and Java Runtime Environment as installable packages for their operating systems." At the same time, Sun also promised to open-source Java.
Thread beginning with comment 125464
To view parent comment, click here.
To read all comments associated with this story, please click here.
abraxas
Member since:
2005-07-07

How much simpler can you get than Netbeans 5 and Studio Creator 2?

Have you ever compared Java with Python code? Python is much simpler and more compact than Java. Python programmers can write a program off the top of their head. Java programmers have to resort to the documentation much more often because the language is so huge and verbose.

Don't mean to be rude, but this isn't slashdot, you'll need to provide a link to some numbers.
Considering that JDK 5 is competitive with C++ (and thrashes mono), I seriously doubt your claims:


It all depends on what you are testing. Python is faster in some instances although I would say Java is faster overall. For example Java sucks at small apps because the VM initialization time is so much longer than Python.

Reply Parent Score: 1

reddog Member since:
2006-04-20

Have you ever compared Java with Python code? Python is much simpler and more compact than Java. Python programmers can write a program off the top of their head. Java programmers have to resort to the documentation much more often because the language is so huge and verbose.

I wouldn't say the Java *language* is huge. It's quite a simple language (compared to say C++, or C# 3.0). I would agree that the set of Java class *libraries* for Java, and open source libs available is HUGE.

Python code is more compact, shorter, etc. but that is offset by the fact that Java has better tools support. Sure, the python code will be more compact, but there are many other factors to consider (vendor support, tools, number of classes and libraries available - don't mind using docs if there is a richer set of functionality).


It all depends on what you are testing. Python is faster in some instances although I would say Java is faster overall. For example Java sucks at small apps because the VM initialization time is so much longer than Python.


I'll agree Java startup is slower. A small Java app takes aboud 300 milliseconds (JDK 6 b82) to startup on my system if it is a warm start, but about 4 or 5 seconds for a cold start. Not the most suitable for small utility type apps.

On the other hand, if you focus too much on startup time, it's a bit like saying DOS is faster than Windows, or that Access is faster than Oracle simply because it starts faster and uses fewer resources.


Python programmers can write a program off the top of their head. Java programmers have to resort to the documentation much more often.

I know most of the core Java APIs and regularly code in Java for days at a time without needing to refer to the docs.

Overall it's really just a tradeoff between the terse syntax of dynamically typed langauges, and the raw performance of their statically typed counterparts.

Reply Parent Score: 2