[Interest] QML compiler?

Jason H scorp1us at yahoo.com
Wed Jun 13 22:33:48 CEST 2012


I thought he V8 engine (which is used in Qt5) would have that feature already, since it gets a lot of performance by whole-method compiling the JS. However my understanding is the output of V8 is machine code, and therefore, not portable.And therefore, you'd need an intermediate layer, and how much slower is that intermediate layer than raw text? I'm guessing it's not worth it. 




________________________________
 From: Thiago Macieira <thiago.macieira at intel.com>
To: interest at qt-project.org 
Sent: Wednesday, June 13, 2012 4:21 PM
Subject: Re: [Interest] QML compiler?
 
On quarta-feira, 13 de junho de 2012 22.03.22, Harri Pasanen wrote:
> I started working on a bit more substantial QML application for symbian
> and ran into some issues.  One of these is the startup time with 10+ QML
> non trivial files, and I'm not finished adding them.
> 
> Has there ever been thought for a bytecode compiler, that would store a
> pre-parsed representation of QML?  Similar to whats what python does
> with its .pyc files.

Yes, thought was given to that.

It doesn't exist yet.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120613/bdb48bdd/attachment.html>


More information about the Interest mailing list