Developing a browser (Firefox) extension with D

Frank Benoit keinfarbton at googlemail.com
Wed Nov 18 01:32:13 PST 2009


Justin Johansson schrieb:
> Hi Frank,
> 
> Thanks for this very valuable information.  I was soon to post about D
> interoperability with JNI (Java Native Interface), but sounds like as
> you say "D extensions" for Java could also be problematic.  Okay if you
> are the only guy in there but big trouble if your "extension" is trying
> to co-exist with other "vendor" extensions in D.

There might be also a problem if firefox or something else in the same
process uses signals.

> 
> I am left wondering though, is this a permanent show-stopper for the
> future (technically) or could something, at least in theory, be worked
> out to overcome the GC issue?

Perhaps start a child process and do inter process communication.
For one of my application I use a Java GUI and then I start a D process
and use stdin+stdout for JSON communication.




More information about the Digitalmars-d mailing list