draft paper on Java support in Gnome

Per Bothner per@bothner.com
Tue Jul 11 08:11:00 GMT 2000


Jeff Sturm <jsturm@sigma6.com> writes:
> Generating the entire class is an interesting idea... I'm not sure how
> easy or effective it will be, based on my very little experience with
> gtk.

It appears Gnome interfaces for other languages is generated automatically.
We can use either Gnome introspection, or "descriptor files" (?) which
supposedly have a Scheme-like syntax and or probably easier to deal with.
> In the general case I think some C-language semantics ought not to
> be preserved in a Java API.

But it would be nice to at least automatically translate the "regular"
parts of Gnome: arguments, signals, inheritance, etc.
> > If so, we need a hook so the
> > allocator will also add space for the embedded object. It just seems
> > to me that padding with unused int fields is the easiest way to do this.
>> I'm also a little concerned about bloating the class metadata with the
> unused fields.

Alternative is a hook into the gcj to allow overriding the size of the
class instance.
-- 
	--Per Bothner
per@bothner.com http://www.bothner.com/~per/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /