[webkit-gtk] hi, I am newbie, bring one question here

Tang Daogang daogangtang at gmail.com
Mon May 21 18:37:56 PDT 2012


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.

thx.

On Tue, May 22, 2012 at 2:42 AM, Gustavo Noronha Silva <gns at gnome.org>wrote:

> On Seg, 2012-05-21 at 10:50 +0800, Tang Daogang wrote:
>
> > 1. combine the lua compiler into browser (such as epiphany);
> > 2. install lgi;
> > 3. when meet lua code, call lua compiler to compile, and use lgi to
> > call gobject API exported by gi binding;
> >
> > is it all right?
>
> So, if I understood you right you are not looking for ways of poking the
> DOM from inside your application, but instead allowing web developers to
> use other languages in their pages. This is not something our GObject
> bindings can help you with at this point, I'm afraid.
>
> I think you're probably better off looking for a compiler that is able
> to compile Lua to Javascript, to be honest. That seems to be where
> everyone is going. Javascript is the new ASM.
>
> Cheers,
>
> --
> Gustavo Noronha Silva <gns at gnome.org>
> GNOME Project
>
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
>



-- 
Nothing is impossible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20120522/586605e8/attachment.html>


More information about the webkit-gtk mailing list