[Interest] Bringing Qt, C++ To The Web

Konstantin Tokarev annulen at yandex.ru
Thu Jan 17 15:53:39 CET 2013



17.01.2013, 18:49, "Nikos Chantziaras" <realnc at gmail.com>:
> On 17/01/13 16:43, Konstantin Tokarev wrote:
>
>>  17.01.2013, 18:40, "Nikos Chantziaras" <realnc at gmail.com>:
>>>  On 17/01/13 16:31, Jason H wrote:
>>>>    You all are doing it wrong!!!
>>>  <grin>
>>>>    If you want to make Qt5 web-able, what you need is a way to directly
>>>>    translate the OpenGL calls of Qt5's QML to WebGL.
>>>  I'm not even using OpenGL.  There's nothing to translate.  There's about
>>>  3000 lines of code that are GUI-specific, 5000 lines that are
>>>  Qt-specific, and 150000 lines that are pure ISO C++ code.
>>>
>>>  The real problem is the 150000 lines of C++ code running on the web.
>>>  QML is irrelevant for this.
>>  Run your 150000 lines of C++ code on server, and write thin web client for it.
>
> Too much latency.

But still much faster than downloading/JITting megabytest of JavaScript.

>  Also, people don't have servers.  They want to put
> this on their homepage. 

And this homepage is being run on... server!

> Imagine what would happen if people (= average
> Joe) were required to setup and run servers just to put an audio clip on
> their page, for example.

HTML5 <audio> is enough for this goal. No need to compiler media player with
all codecs to JS.

-- 
Regards,
Konstantin



More information about the Interest mailing list