[webkit-help] C++ from javascript and vice versa

Christopher White skullknife at gmail.com
Fri Apr 30 11:02:14 PDT 2010


Why don't you use a plugin?




On Apr 30, 2010, at 9:14 AM, Anders Bakken <anders.bakken at myriadgroup.com 
 > wrote:

> I want to add support for exposing C++ classes to the javascript  
> engine
> and I had a question on what APIs to use.
>
> The intention is to be able to implement the Bondi API
> (http://bondi.omtp.org/default.aspx).
>
> I know the Qt port makes this easy through Qt's meta object system but
> we're not using Qt.
>
> I already have a reasonably functional implementation using the same
> APIs that Qt used to implement it. I relied on the classes in
> WebCore/bridge and while the APIs are sometimes a little hard to
> understand it seems to work. A colleague of mine however mentioned  
> that
> he thought the APIs in JavaScriptCore/API are more suited for this  
> so I
> figured I'd ask what the appropriate interface is.
>
> Is this the right mailing list for this kind of question btw?
>
> If anyone's interesting in seeing the approach I've taken it can be
> found here:
>
> http://gitorious.org/~AndersBakken/webkit/andersbakkens-webkit/commits/hybrid
>
> regards
>
> -- 
> Anders Bakken
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


More information about the webkit-help mailing list