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 <[email protected]>
To: [email protected]
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
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest