Changes between Version 1 and Version 2 of GlibBindings
- Timestamp:
- 09/16/08 09:52:52 (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GlibBindings
v1 v2 1 1 == Glib / GObject Bindings for WebKit == 2 2 3 The Glib Bindings provide a means for programmers to manipulate a DOM model from any programming language. WebKit is written in c++. It appeals to many programmers, who write in languages other than c++. On MacOSX, there is the Objective C bindings, through which access in other programming languages is automatically possible. That leaves non-MacOSX developers out in the cold.3 The Glib Bindings provide a means for programmers to manipulate a DOM model from any programming language. WebKit is written in C++. It appeals to many programmers, who write in languages other than C++. On Mac OS X, there is the Objective C bindings, through which access in other programming languages is automatically possible. That leaves non-Mac OS X developers out in the cold. 4 4 5 5 === Why are Glib / Gobject bindings so important? === 6 6 7 With rich media applications running as web applications and using Java script more and more, significant focus is being placed on improving the speed of Javascript. However, bypassing the Javascript entirely, and manipulating the DOM model directly through the glib / gobject bindings has in one case improved performance by roughly an order of magnitude - and that was through a second layer of Python bindings to the Glib bindings.7 With rich media applications running as web applications and using JavaScript more and more, significant focus is being placed on improving the speed of JavaScript. However, bypassing the JavaScript entirely, and manipulating the DOM model directly through the glib / gobject bindings has in one case improved performance by roughly an order of magnitude - and that was through a second layer of Python bindings to the Glib bindings. 8 8 9 Many other applications may wish to benefit from the power and small footprint of WebKit, but not if it means converting the application to c++. Interface converters are much easier to create if they're based on glib objects. codegen.py, from pygtk, was used to create Python bindings to Webkit in a matter of minutes, for pywebkitgtk.9 Many other applications may wish to benefit from the power and small footprint of WebKit, but not if it means converting the application to C++. Interface converters are much easier to create if they're based on glib objects. codegen.py, from pygtk, was used to create Python bindings to Webkit in a matter of minutes, for pywebkitgtk. 10 10 11 11 === Where can I get the Glib / Gobject Bindings? === 12 12 13 At present, the y'rea patch (being reviewed) to Webkit:13 At present, there is a patch (being reviewed) to Webkit: 14 14 https://bugs.webkit.org/show_bug.cgi?id=16401 15 15