Live data from Hacker News

GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers

webupd8.org

1–10 of 21 posts

Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers

#3
I've recently been looking for ways to do powerful admin interfaces quickly.

I've been looking at Cappuccino since it does support stuff like tables with > 10.000 entries and 'complex' controls.

Now with GTK+ HTML5 support this might also be an avenue to explore.

Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers

#4
Does it compile to native HTML5+Javascript?

From looking at it, it seems that it doesn't - that it is running the app in the server and updating the screen in HTML5 canvas. It would be cool if it compiles the code to Javascript though... so that you get complete client side platform independent apps out of the current entire Gnome repository!

Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers

#5

Does it compile to native HTML5+Javascript? From looking at it, it seems that it doesn't - that it is running the app in the server and updating the screen in HTML5 canvas. It would be cool if it compiles the code to Javascript though... so that you get complete client side platform independent apps out of the current entire Gnome repository!

Would you imagine what happens with speed when all the code is compiled into javascript (megabytes of it) and gets loaded into browsers VM?

Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers

#6

Does it compile to native HTML5+Javascript? From looking at it, it seems that it doesn't - that it is running the app in the server and updating the screen in HTML5 canvas. It would be cool if it compiles the code to Javascript though... so that you get complete client side platform independent apps out of the current entire Gnome repository!

GTK itself will probably never do that, because it doesn't include any sort of language-processing code (as I understand it). Adding code to GTK that could translate programs between languages would be a huge increase in complexity and scope.

However, a project like GCC could certainly do that. If someone really wanted that to happen, they could add a Javascript code generator to GCC and pair that with GTK's HTML5 backend to produce something like what you want.

Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers

#8
The implications of this are incredible with tablet computers becoming more and more popular. QT is approaching this as well with their Lighthouse project but I think it is still a little ways off.

I really want to start playing with this, is there any reason why it wouldn't work with the python GTK bindings?

Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers

#9

Does it compile to native HTML5+Javascript? From looking at it, it seems that it doesn't - that it is running the app in the server and updating the screen in HTML5 canvas. It would be cool if it compiles the code to Javascript though... so that you get complete client side platform independent apps out of the current entire Gnome repository!

Combining this with emscripten (http://www.emscripten.org) would probably be quite doable and very cool.
Post reply on HN