[webkit-dev] Qtish API for JavaScriptCore, take two

Kent Hansen kent.hansen at nokia.com
Wed Jan 20 07:08:02 PST 2010


Hello WebKit developers,
A while ago, we, the team of Qt developers at Nokia and INdT, presented 
the idea of adding a Qt C++ API on top of JavaScriptCore [1].
The fundamental issue back then was that our implementation was not 
using the JavaScriptCore C API, which made it problematic to upstream
(we don't want to limit the freedom to change the JSC implementation by 
introducing new dependencies).

Hence, we've started an implementation that only uses the C API. The 
latest version of the initial patch can be found in the Bugzilla task: 
https://bugs.webkit.org/show_bug.cgi?id=32565
It provides only the basic functionality of the two main classes, 
QScriptEngine and QScriptValue.

If the community agrees, we would like to begin the process of 
upstreaming this and other patches, that incrementally build the C++ API 
on top of the C API.
If there are places where we find the C API to be incomplete, we will 
try to propose and implement additional API that will hopefully also be 
of value to other JavaScriptCore embedders.

On behalf of the Qt developers,
Kent

[1] https://lists.webkit.org/pipermail/webkit-dev/2009-August/009610.html


More information about the webkit-dev mailing list