Developing a browser (Firefox) extension with D

Frank Benoit keinfarbton at googlemail.com
Tue Nov 17 23:18:07 PST 2009


Justin Johansson schrieb:
> I'm just wondering for a moment if D might be a good vehicle for
> developing a browser extension for Firefox, or any other browser for
> that matter.
> 
> Has anyone either considered doing, or has actually done, any browser
> extension development with D and have some thoughts or experience to share?
> 
> Thanks for all feedback,
> Justin Johansson

As an extension, there might be more than one extension running in one
Firefox process. Each extension written in D must bring in its own GC,
here comes the problem. The GC is implemented in D using signals, which
are global to the process. So if there are two D extensions, they will
get confused by each other. This is also the reason, i give up about
running D and Java in the same process. Also Java uses those signals for
its own GC.

But nevertheless, if you want to give it a try, the DWT firefox bindings
might be of interest for you.




More information about the Digitalmars-d mailing list