Re: native functions

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Thu Dec 03 1998 - 17:20:07 EST


Godmar Back writes:
> > Alexandre Oliva writes:
> > > > Just curious.. is there any interest in trying to make the Java core
> > > > classes have the same native methods as the JDK?
> > >
> > > It would certainly be useful, but I don't think we can do that without
> > > getting past the clean-room line.
> >
> > There are ways... for example, you could look only at the Toba sources.
>
> How complete is their 1.1 impl anyway?

Not sure, I think pretty complete. You have to add BISS-AWT.

> Also, I think that in the long term, egcs/gcj would be the way to go.

Agreed.

Again, I'll state my Java dream: completely modular components
with precisely defined API's. Modules from different vendors
would be interchangeable.

Example of individual components:

  - Core JVM: thread primitives, locking primitives, JNI, etc.
    Conforms to native method API that I wish Sun would publish.

  - Garbage collector

  - Java interpreter (ie, reads bytecode, makes calls to the Core JVM)

  - Suite of Java classes (all conforming to native method API)

  - Bytecode -> machine executable engine

  - Machine executable <-> shared object file reader/writer

  - Java source -> shared object file compiler

  - Run-time executable optimizer

In other words, the best of kaffe, Toba, gcj, HotSpot, all combined.

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:05 EDT