The future of Sun's Java

The future of Sun's Java

Post by joeh » Tue, 26 Oct 1999 04:00:00



(i am a unix sysadmin)
I remember 3 years ago when Java came out of Sun, there were all
these predictions about its future; because of automatic garbage collection,
disappearance of pointers, and the AWT people were writing that Java was
more suitable for programming real-life objects (even robotics like printers
etc)
But in these 3 years i haven't really seen Java take over from the lingua
franca
of C and C++.  What happened?
Joe
--  
Disclaimer: opinions expressed my own and not representative of my employers
 
 
 

The future of Sun's Java

Post by Philip Bro » Tue, 26 Oct 1999 04:00:00



>(i am a unix sysadmin)
>I remember 3 years ago when Java came out of Sun, there were all
>these predictions about its future; because of automatic garbage collection,
>disappearance of pointers, and the AWT people were writing that Java was
>more suitable for programming real-life objects (even robotics like printers
>etc)
>But in these 3 years i haven't really seen Java take over from the lingua
>franca
>of C and C++.  What happened?

The same problems it always had:

1. garbage collection isn't perfect
2. performance isn't great, on most platforms
3. * bugs in the JVM.
   For example, a heavy network-using program I wrote, hasn't been run
   properly since jdk1.1.6.
   [works on sparc, not elsewhere]

and a "new" problem;
4. instead of focusing on bugfree ease of use, and performance, sun is giving
   priority to featurecreep.

For example, bugid 4243738, closed, not fixed.
Apparently, end-user ease of use isn't a priority.

--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]

The word of the day is mispergitude

 
 
 

The future of Sun's Java

Post by ash.. » Tue, 26 Oct 1999 04:00:00


Java was never touted for speed. If people want speed they go to C++ or
even C, heck I have seen people go to Assembly because of that.
THe main selling point of java is code reusability. And, that is quite
useful in GUI clients and it is certainly being used in that.
I think the biggest boost to Java was given when it was used to write
applets. Had Netscape refused to use Java, I don't think Java would be
as popular as it is now. And, are applets performance oriented ... no
they are again some variation of the GUI use.
So, Java is succeeding there, and the language has grown quite
significantly ... let it mature. In my opinion it is a promising
language.
Also, I don't think java is competing with C++. Both of them have a
place in computing and they complement each other.

my humble $0.02,

Ash


> (i am a unix sysadmin)
> I remember 3 years ago when Java came out of Sun, there were all
> these predictions about its future; because of automatic garbage collection,
> disappearance of pointers, and the AWT people were writing that Java was
> more suitable for programming real-life objects (even robotics like printers
> etc)
> But in these 3 years i haven't really seen Java take over from the lingua
> franca
> of C and C++.  What happened?
> Joe
> --
> Disclaimer: opinions expressed my own and not representative of my employers

 
 
 

The future of Sun's Java

Post by Philip Bro » Tue, 26 Oct 1999 04:00:00



>Java was never touted for speed. If people want speed they go to C++ or
>even C, heck I have seen people go to Assembly because of that.
>THe main selling point of java is code reusability.

different people like it for different reasons.

Some people like it for reusability/portability

Some people like it because it is quicker to prototype (by hand) with it.

Quote:> And, that is quite
>useful in GUI clients and it is certainly being used in that.
>I think the biggest boost to Java was given when it was used to write
>applets.

simultaneously, its biggest downfall is because it is used in applets....
badly.

--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]

The word of the day is mispergitude

 
 
 

The future of Sun's Java

Post by ash.. » Tue, 26 Oct 1999 04:00:00



> different people like it for different reasons.
> Some people like it for reusability/portability
> Some people like it because it is quicker to prototype (by hand) with it.

        Yes, that is true. I myself have used it to write servers, because it
is so easy to write a server in that .. especially if you are
transferring objects (via serialization).

Quote:> simultaneously, its biggest downfall is because it is used in applets....
> badly.

        Why is this its biggest downfall ?

Ash

 
 
 

The future of Sun's Java

Post by Philip Bro » Tue, 26 Oct 1999 04:00:00




>> simultaneously, its biggest downfall is because it is used in applets....
>> badly.
>    Why is this its biggest downfall ?

because more people have come across stupidly written applets, than
good java code, I'd bet.

--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]

The word of the day is mispergitude

 
 
 

The future of Sun's Java

Post by ash.. » Wed, 27 Oct 1999 04:00:00





> >> simultaneously, its biggest downfall is because it is used in applets....
> >> badly.
> >       Why is this its biggest downfall ?

> because more people have come across stupidly written applets, than
> good java code, I'd bet.

And, doesn't that happen with every language. I think with every
language it is possible to shoot yourself on the foot. The good thing is
that atleast people are using java in applets. If that were not the case
they might not be using this language at all. So, atleast it is a start.
People like the language and they are using it.

        And, I think it is far more difficult to write bad code with Java than
with C++. I am not trying to make a general statement, but that with the
garbage collector and inheritance of Java it does make things a lot
simpler. It is for people who need to control garbage collection to make
their applets/programs more efficient that they have problems. For a
novice, writing a small program is quite simple and easy in
Java....given the right tutorials/books/tools etc.

Ash

 
 
 

1. java/47447: linux-sun-jdk1.4.1: java command can't find java.lang.Object


This was a relatively fresh system.  I did not have any other versions of Java
on my system.

When running the java command I get the following:

# /usr/local/linux-sun-jdk1.4.1/bin/java
count = 3714, total = 8508
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

Please note that this bug is the same for either root or normal users.  Also
note that setting JAVA_HOME as well as CLASSPATH did not fix the problem.

/usr/local/linux-sun-jdk1.4.1/bin/java

To work around this problem, I'm using the linux-blackdown-jdk1.4.1 port.


with "unsubscribe freebsd-java" in the body of the message

2. Need help in installing Linux...

3. Sun Net Talk: Secure and Affordable, Sun's Java[tm] Desktop System in Action.

4. 0.99.10 won't login (and other problems solved)

5. Java, Java, Java, Java, Java, Java .....

6. .bash_profile and logon problems

7. What is Sun's future?

8. long file name of FAT32

9. Windows(NT) future? Linux's future?

10. Communicator's Java breaks on Tarantella site, Hot Java's worse

11. Sun's choice: Linux or Microsoft (was Re: Linux-Any Java development kits or books?

12. SUN'S JAVA: THE THREAT TO MICROSOFT IS REAL

13. compiling java from sun's source code