Should Java be the Linux apps language?

Should Java be the Linux apps language?

Post by Robb Shect » Tue, 04 Mar 1997 04:00:00



Hi all,

I think that Java should be used as much as possible for the development of
Linux applications.  Comments?

I believe that the 'minority' operating systems (Mac, OS/2, Linux), have lots to
gain by their embracing Java.  Insteaed of users being forced into an OS because
that's the only place their favorite app will run, the OS will become inter-
changeable:  One can choose one's OS based on its own qualities.

I'm working on an interface to the fvwm config file.  I'm using Java.  I've
played with the Tcl/Tk program that does this (dot-something?), but found it
too slow (on my P120/32MB RAM), and the interface was not very intuitive.  Of
course, it's generated from a description file, so I can see why it's the
way it is.

Well, I'm using Java mostly as an excuse to learn it better, but I think there
are good reasons for using it, even if it's never intended to be used for
the 'usual' Java applications:

  - There are lots of versions of Linux, the libraries, Tcl, Tk, etc.  It's
    happened to everyone a lot that just downloading some Linux software isn't
    good enough...one has to go on a treasure hunt to find a bunch of missing
    pieces.  And what about Linux/Sparc, MkLinux, etc.?

  - There may be other systems and users that might want to run the programs
    if it was possible: BSD, FreeBSD, Solaris, etc.

  - Java's compile-time checking and exception system are wonderful for
    producing more reliable software.  

And finally, a side-comment:  The traditional Unix system of having plaintext
configuration files with human-readable formats clearly paves the way for
GUI to manage them.  Is anyone else interested in working in this area:  that
is, having a goal of not forcing users to memorize dozens of configuration
file syntaxes?  I think that when that happens, LInux will really take off.

- Robb
--
-
Robb Shecter                                               PGP Fingerprint:
University of Maryland, European Division              5F 70 B1 A7 B9 F9 42 67
Information Systems and Administrative Computing       11 27 47 EE 35 80 04 AA

 
 
 

Should Java be the Linux apps language?

Post by Mark Lehre » Tue, 04 Mar 1997 04:00:00



> I think that Java should be used as much as possible for the development of
> Linux applications.  Comments?

Obviously, it depends on the application.  But the advantages of
Java are numerous... hopefully in the long term the user will be
able to choose any Java-capable OS for their major applications.
Corel will be the "litmus test" here.

Quote:> GUI to manage them.  Is anyone else interested in working in this area:  that
> is, having a goal of not forcing users to memorize dozens of configuration
> file syntaxes?  I think that when that happens, LInux will really take off.

This is a good idea; but operating systems are always driven by what
applications are available for them - if there is something cool that
can only be done by linux, confusing config files won't make a bit of
difference.

 
 
 

Should Java be the Linux apps language?

Post by Chris Co » Tue, 04 Mar 1997 04:00:00




> > I think that Java should be used as much as possible for the development of
> > Linux applications.  Comments?

> Obviously, it depends on the application.  But the advantages of
> Java are numerous... hopefully in the long term the user will be
> able to choose any Java-capable OS for their major applications.
> Corel will be the "litmus test" here.

Together with Java, Sun has put together a formidable application
development environment.  Tcl/Tk apps of course (based on maturity
of Tcl/Tk) are widely available for Linux.  As Java continues to
mature and settle, I'm sure that more applications for Java will
emerge also.  I see the current immaturity of Java (language changes,
platform availability) as its biggest obstacle....but that will
disappear with time....

Regards,
Chris

--
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=

North Texas Linux Users Group  \|      "Yep."
Tcl Dallas                     /|"Must be Encina."
ACM                           //| (what happens with a long rpc)

 
 
 

Should Java be the Linux apps language?

Post by Steven Bro » Wed, 05 Mar 1997 04:00:00


: Hi all,

: I think that Java should be used as much as possible for the development of
: Linux applications.  Comments?

: I believe that the 'minority' operating systems (Mac, OS/2, Linux), have lots to
: gain by their embracing Java.  Insteaed of users being forced into an OS because
: that's the only place their favorite app will run, the OS will become inter-
: changeable:  One can choose one's OS based on its own qualities.

: I'm working on an interface to the fvwm config file.  I'm using Java.  I've
: played with the Tcl/Tk program that does this (dot-something?), but found it
: too slow (on my P120/32MB RAM), and the interface was not very intuitive.  Of
: course, it's generated from a description file, so I can see why it's the
: way it is.

: Well, I'm using Java mostly as an excuse to learn it better, but I think there
: are good reasons for using it, even if it's never intended to be used for
: the 'usual' Java applications:

:   - There are lots of versions of Linux, the libraries, Tcl, Tk, etc.  It's
:     happened to everyone a lot that just downloading some Linux software isn't
:     good enough...one has to go on a treasure hunt to find a bunch of missing
:     pieces.  And what about Linux/Sparc, MkLinux, etc.?
:  
:   - There may be other systems and users that might want to run the programs
:     if it was possible: BSD, FreeBSD, Solaris, etc.

:   - Java's compile-time checking and exception system are wonderful for
:     producing more reliable software.  

: And finally, a side-comment:  The traditional Unix system of having plaintext
: configuration files with human-readable formats clearly paves the way for
: GUI to manage them.  Is anyone else interested in working in this area:  that
: is, having a goal of not forcing users to memorize dozens of configuration
: file syntaxes?  I think that when that happens, LInux will really take off.

Uh, the entire point of C is that it is machine independant.  Let's try
and keep focused on -one- higher level, hardware independant language.
Java wastes cycles like nothing else.  I don't want to go back to
programming in BASIC.  I have a hard enough time dealing with the cycles
lost from using C instead of assembly. :> If your operating system can't
support POSIX, then your operating system sucks and you need another. :)
DPMI and Segmentation should have died with the 286.

 
 
 

Should Java be the Linux apps language?

Post by Dale Ponti » Wed, 05 Mar 1997 04:00:00




Quote:> Hi all,

> I think that Java should be used as much as possible for the development of
> Linux applications.  Comments?

> I believe that the 'minority' operating systems (Mac, OS/2, Linux), have lots to
> gain by their embracing Java.  Insteaed of users being forced into an OS because
> that's the only place their favorite app will run, the OS will become inter-
> changeable:  One can choose one's OS based on its own qualities.

As one who runs two minority OS's on my system, (OS/2 and Linux) I like
this idea. There have been a few nifty things in TkTcl that I've seen
on Linux that I've thought of bringing over to OS/2, but the OS/2 TkTcl
is usually a few revs behind. Java appears more stable, at least from
that point of view. (I have Linux, but I usually boot OS/2 because I
prefer the WPS.)

Even if the applications were fully portable, I'd probably keep both
around, if only for play value.

Dale Pontius
(NOT speaking for IBM)

 
 
 

Should Java be the Linux apps language?

Post by Reality is a point of vi » Wed, 05 Mar 1997 04:00:00



 | Uh, the entire point of C is that it is machine independant.  Let's try
 | and keep focused on -one- higher level, hardware independant language.
 +----

Java(TM) == GUI ISO C

GUI is the part worth the trouble.

Java is my current choice for GUI development, especially now
that ncurses releases might be splintering.  Unfortunately
Sun/Javasoft doesn't seem overly cooperative with porters
(possibly due to a lack of licensing money?) so while Java is a
good development target the guava/kaffe/biss tools seem easier
to hit, and more fun too.  Is anyone else playing with Squeak,
the Smalltalk for the rest of us?

Oh, and if nothing else, C++ is a better C.

--

The Internet is not The Channel.

 
 
 

Should Java be the Linux apps language?

Post by Bruce Bigb » Wed, 05 Mar 1997 04:00:00



> Hi all,

> I think that Java should be used as much as possible for the development of
> Linux applications.  Comments?

> I believe that the 'minority' operating systems (Mac, OS/2, Linux), have lots to
> gain by their embracing Java.  Insteaed of users being forced into an OS because
> that's the only place their favorite app will run, the OS will become inter-
> changeable:  One can choose one's OS based on its own qualities.

> I'm working on an interface to the fvwm config file.  I'm using Java.  I've
> played with the Tcl/Tk program that does this (dot-something?), but found it
> too slow (on my P120/32MB RAM), and the interface was not very intuitive.  Of
> course, it's generated from a description file, so I can see why it's the
> way it is.

> Well, I'm using Java mostly as an excuse to learn it better, but I think there
> are good reasons for using it, even if it's never intended to be used for
> the 'usual' Java applications:

>   - There are lots of versions of Linux, the libraries, Tcl, Tk, etc.  It's
>     happened to everyone a lot that just downloading some Linux software isn't
>     good enough...one has to go on a treasure hunt to find a bunch of missing
>     pieces.  And what about Linux/Sparc, MkLinux, etc.?

>   - There may be other systems and users that might want to run the programs
>     if it was possible: BSD, FreeBSD, Solaris, etc.

>   - Java's compile-time checking and exception system are wonderful for
>     producing more reliable software.

> And finally, a side-comment:  The traditional Unix system of having plaintext
> configuration files with human-readable formats clearly paves the way for
> GUI to manage them.  Is anyone else interested in working in this area:  that
> is, having a goal of not forcing users to memorize dozens of configuration
> file syntaxes?  I think that when that happens, LInux will really take off.

> - Robb
> --
> -
> Robb Shecter                                               PGP Fingerprint:
> University of Maryland, European Division              5F 70 B1 A7 B9 F9 42 67
> Information Systems and Administrative Computing       11 27 47 EE 35 80 04 AA

I positively have intereset in this.  I run RedHat 4.0 Linux and it is
quite wonderful. However, do you have the SDK for Linux?  Where can I
get it?  Is it mature?   If so, what version of the SDK do you have?  
I'd like to do all of my development in Java, now.  I know C and C++, if
I need to use it, but I want to use a real development system.  Is there
a product for Linux, like Semantec's Visual Cafe?  Do I have to use the
raw SDK?  I want to use my Linux machine for some useful development,
and Java development is as good a reason as any.  Currently, I run
Windows 95, and have played around with the 1.0 SDK from the Core Java
book.  By the way, does the 2.0.29 kernel support the clone system call
for kernel level threads?  I have an SMP system and would like my Java
applications to take advantage of my dual P5-133's.  
--
------------------------------------------------------
Bruce W. Bigby

Technical Specialist/Software Engineer
Xerox Corporation
East Rochester, NY 14445 USA
------------------------------------------------------
 
 
 

Should Java be the Linux apps language?

Post by david parso » Wed, 05 Mar 1997 04:00:00




>Uh, the entire point of C is that it is machine independant.  Let's try
>and keep focused on -one- higher level, hardware independant language.
>Java wastes cycles like nothing else.

  Only the interpreted versions; a compiled Java program should run
  just as fast as a similar C++ program.

Quote:>DPMI and Segmentation should have died with the 286.

  There's nothing wrong with segmentation as long as the processor
  supports arbitrarily sized segments.  The i386 family does pretty
  well in that regard (unless you don't consider 4gb segments to
  be arbitrarily large.)

                ____
  david parsons \bi/ Though I've finally found an advantage of C++ over
                 \/                            Java; it compiles C code.

 
 
 

Should Java be the Linux apps language?

Post by Dimitri Maziu » Thu, 06 Mar 1997 04:00:00



> Hi all,

> I think that Java should be used as much as possible for the development of
> Linux applications.  Comments?

It is also possible to use PL/0 for Linux apps; somehow, that hasn't
been suggested yet.
Apart from the speed issue, Java is an OO language and should be used
as such.  There's a number of apps that are quite happy with
procedural paradigm, and there's no reason to try to fit them into
Oooh-Oooh.  

--
Dimitri
(emaziuk at curtin.edu.au)
--------------------------
Mirrors and * are abominable, as they multiply entities
                (H.L. Borjes, corollary to Occam's Razor)

 
 
 

Should Java be the Linux apps language?

Post by Ross John or Jere » Thu, 06 Mar 1997 04:00:00






>>Uh, the entire point of C is that it is machine independant.  Let's try
>>and keep focused on -one- higher level, hardware independant language.
>>Java wastes cycles like nothing else.

>  Only the interpreted versions; a compiled Java program should run
>  just as fast as a similar C++ program.

Well...  Probably not.  Not for a long time yet, anyway.  Admittedly,
compiled Java will run lots faster than the 20x-30x overhead of
interprested Java, but probably won't be able to get much better than
a 2x-3x slowdown compared to well-written C or C++.

Regards,
Ross Bagley

 
 
 

Should Java be the Linux apps language?

Post by Greg Come » Thu, 06 Mar 1997 04:00:00




> | Uh, the entire point of C is that it is machine independant.  Let's try
> | and keep focused on -one- higher level, hardware independant language.
> +----

>Java(TM) == GUI ISO C

Java is not ISO C, nor is it even K&R C.

Quote:>Oh, and if nothing else, C++ is a better C.

It's obviously more than that.

- Greg
--
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
               Producers of Comeau C++ 4.0 front-end pre-release
****WEB: http://www.comeaucomputing.com / Voice:718-945-0009 / Fax:718-441-2310

 
 
 

Should Java be the Linux apps language?

Post by Mikko Rauha » Fri, 07 Mar 1997 04:00:00



>I positively have intereset in this.  I run RedHat 4.0 Linux and it is
>quite wonderful. However, do you have the SDK for Linux?  Where can I
>get it?  Is it mature?   If so, what version of the SDK do you have?  

JDK 1.0.2 is available for Linux, look at
<URL:http://www.blackdown.org/java-linux.html> for pointers. The 1.1
version of the JDK is coming, hopefully soon (the license was just gotten
from Sun, but the betas had already been ported, so it shouldn't be too
long).

Quote:>I'd like to do all of my development in Java, now.  I know C and C++, if
>I need to use it, but I want to use a real development system.  Is there
>a product for Linux, like Semantec's Visual Cafe?  Do I have to use the
>raw SDK?  I want to use my Linux machine for some useful development,

AFAIK, there is no special java development environment available.
However, there are both commercial and noncommercial projects. Information

(AFAIR on majordomo).

I'd also like to mention the JOLT project, which aims to implement free
java development tools and a virtual machine. A link to their site, as
well as many other interesting links, are at
<URL:http://www.redhat.com/linux-info/>

Quote:>book.  By the way, does the 2.0.29 kernel support the clone system call
>for kernel level threads?  I have an SMP system and would like my Java
>applications to take advantage of my dual P5-133's.  

Yes, it does. However, I am not certain if the Linux port will use this
facility. You might want to ask on java-linux, though I _suppose_ it
will. The 1.0.2 JDK version doesn't, though.

--

 
 
 

Should Java be the Linux apps language?

Post by Mikko Rauha » Fri, 07 Mar 1997 04:00:00



Quote:>able to choose any Java-capable OS for their major applications.
>Corel will be the "litmus test" here.

Let us not forget Applix Anyware.

(No, I'm not in it for the money, just reminding of the other nice company
providing us with software.)

--

 
 
 

Should Java be the Linux apps language?

Post by Reality is a point of vi » Fri, 07 Mar 1997 04:00:00





 | > | Uh, the entire point of C is that it is machine independant.  Let's try
 | > | and keep focused on -one- higher level, hardware independant language.
 | > +----
 | >
 | >Java(TM) == GUI ISO C
 |
 | Java is not ISO C, nor is it even K&R C.

Yes it is, in a conceptual way.  Note the use of GUI.  Writing
in ISO C will, with luck, allow code to be written once.  Some
platforms may require a few tweaks, especially when depending on
libraries that are not the part of ISO C or any other standard,
but in general it is write once compile many.  "Hello world."

This generality falls over when graphics are required.

Currently there are problems with JavaVM implementations, and a
variety of AWT behaviours, that make GUI portability less than
optimal.  But the promise is there, and hopefully most of the
problems will be solved before an ISO standard would be
finalized.  If the C++ standards process is any indication then
any Java standard is a few years away.  Plenty of time.

 | >Oh, and if nothing else, C++ is a better C.
 | It's obviously more than that.
 +----

Yes, but I was talking about C code compiled with a C++
compiler.  I feel that compiling C code with a C++ compiler,
enabling as many warnings as possible, and reworking the code
until the compiler stops complaining will improve the quality of
the C code.  Even if it does not use any features of C++.

--

Privacy on the net is still illegal.

 
 
 

Should Java be the Linux apps language?

Post by david parso » Sat, 08 Mar 1997 04:00:00








>>>Uh, the entire point of C is that it is machine independant.  Let's try
>>>and keep focused on -one- higher level, hardware independant language.
>>>Java wastes cycles like nothing else.

>>  Only the interpreted versions; a compiled Java program should run
>>  just as fast as a similar C++ program.

>Well...  Probably not.

  Why not?

  The only thing I can think of that might be slower is the
  garbage-collector, and garbage collection is _really old_
  technology.

                ____

                 \/

 
 
 

1. Java, Java, Java, Java, Java, Java .....

In the systems being developed here, everything is coded in Java. There
are about 100 Java applications each running its own virtual machine.

I'm supposed to work with test and performance analysis of these systems
and I'm using tools that log system behaviour on process level.

The problem is that all I see is 100 processes named Java with some
small variations in command line parameters.

Is there a safe way to alter the process names either at startup or at
runtime ?
What could be the consequences of doing such a thing ?

//Hans Hagberg

2. HPUX - "-fpic" and "Shared Library must be Position-Independent"

3. Advice...Is Java a good language to develop in for Linux?

4. Equivalent of Mbufs - How To Adjust

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

6. Java 2

7. GPL/LGPL for my Java app (linux compatible)

8. APIC Errors | RH8

9. run java app on Linux at bootup

10. java/35320: linux-jdk-1.4 JVM fails when running Tomcat4 app

11. Linux plus Java apps

12. running standalone Linux Java-apps

13. Java apps on Linux vs Solaris