hi,

On Mon, Sep 5, 2011 at 10:38 PM, Konstantin Tokarev <[email protected]> wrote:
> Qt was known as a C++ framework. What the heck JavaScript is doing here
> in QtCore?

let's stick to the technical points, please


> 06.09.2011, 00:30, [email protected]:
>> The current split between Qt's object model living in one place and the
>> QML/JS engine in another has in Qt 4.x lead to suboptimal implementations
>> of the C++/JS bridge.

i'd like to hear more details on how exactly this was suboptimal. most
of the issues i've heard about QtScript have revolved around two major
points:

1) JSC being patched in upstream-incompatible ways (causing pain, even
to Qt - in that two copies of JSC were built)
2) the Qt-ish API that was wrapped around JSC was not capable to be
completely performant in some ways (I don't know details)

I don't see how either of these would be addressed by having V8 in
QtCore, so perhaps there's something I'm missing. AFAIK, the
advantages of merging would be that the compiler would have a better
chance to optimise (since they're all going into one compilation
unit), but will that actually provide *measurable* gain?

I guess I should be colored mildly sceptical about this, not because
I'm not drinking the QML coolaid, but because I like my pieces in
logically ordered places.

BR,

--
Robin Burchell
http://rburchell.com
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to