Quoth Eric Gregory:
> On Mon, May 21, 2012 at 6:37 PM, Tang Daogang <[email protected]>
wrote:
>> Why we only have and keep one language in browser? Google has released
his Dart 
>> some days, which is to replace javascript in browser. If webkit-gtk can
do 
>> GObject binding to DOM and other API, any/many language can do
programming in 
>> browser, isn't it? I think this road is better than Dart.
>
> We're talking about two different things here.  Dart and Javascript are 
> designed to be cross platform languages that can be run in any browser.  
> WebKit-Gtk and its GObject Introspection bindings are designed to be used 
> in applications with built-in web browsers.

Or, to put it another way, JavaScript is the platform-independent language
*inside* the browser (page content), while GObject bindings are to
platform-dependent languages *outside* the browser (chrome).


_______________________________________________
webkit-gtk mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk

Reply via email to