To follow up on this a little more, the focus of most current extensions work is on supporting html/css/javascript API's, and in particular polishing the "version 1" set of features. There is ongoing development within the broader chromium project to better support binary code integration, I think being driven mostly by the native client project: http://code.google.com/p/nativeclient. They are working with Mozilla to define some improvements to NPAPI; you can see the proposal here: https://wiki.mozilla.org/Plugins:PlatformIndependentNPAPI. As this work proceeds the extensions system should be able to benefit from it.
On Fri, Sep 25, 2009 at 6:15 AM, Alexander Martinyuk < [email protected]> wrote: > > There is a fairly complex system that integrates into mail clients and > browsers. All the logic of its work is realized in binary modules and > it is impossible to put it in the JavaScript-code of extension. Do you > suggest that NPAPI-plugin exchange messages with scripts that will > perform DOM modification? > > On Sep 25, 1:44 pm, Daniel Wagner-Hall <[email protected]> wrote: > > On Fri, Sep 25, 2009 at 11:39 AM, Alexander Martinyuk > > > > <[email protected]> wrote: > > > > > Hello. I have a question to the browser developers. > > > I write an extension, which requires access to the document with a > > > binary module (DLL). > > > I am using for this NPAPI-plugin and technology NPRuntime. But every > > > call of elementary function through an API takes too much time. In > > > Firefox I used the XPCOM-components. Working with the DOM in Firefox > > > through XPCOM is HUNDRED times faster than in Chrome through > > > NPRuntime. I understand that this is due to multi-process > > > architecture, but with such limitations integration of my extension > > > into Chrome is impossible. Do you plan to add binary components that > > > are available to the content scripts and have access to the DOM? If > > > not, do you plan to optimize the speed of DOM from the middle of the > > > NPAPI-plugin? > > > > You're certainly right that NPAPI is orders of magnitude slower than > > other means of manipulating the DOM... Is it possible for you to do > > more processing in Javascript, perhaps in an extension background > > page/content script? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---
