On 9/2/11 11:18 PM, "ext Konstantin Ritt" <[email protected]> wrote:

>2011/9/3 Thiago Macieira <[email protected]>:
>> That's exactly what is being done, minus the Qt-ish API.
>>
>> The libQtV8 module doesn't have a Qt front-end API. The JS API for it
>>would be
>> QtScript or something similar. We need a JS front-end API anyway to add
>> objects to QtDeclarative and manipulate them.
>
>sounds good, then.
>
>
>2011/9/3 Olivier Goffart <[email protected]>:
>> When you do your minimal deamon, you can just link against QtCore, you
>>do not
>> need V8. (you do not even need to compile it, you can pass -no-v8)

That's the current state. Question is whether this is what we want in the
long term.
>
>this is something that doesn't fit into the idea of replacing
>QRegExp's custom engine with V8's one (or did I misunderstood
>something?).

No, this is something I am considering.

I am also considering having a dependency of QtCore onto a JS engine. Now
before you all cry out loud, let me first explain this (I'll write a
separate mail).

>
>and by the way, by a glance v8 code review I found it's RE is quite
>poor on functionality - well, it's probably more than enough for JS
>but it's definitely not - for Qt users (some of them at very least).
>so, I voting for PCRE as a default QRegExp's engine. what else we
>could use from v8 in qtcore?

JS Regexps have pretty much the same functionality that QRegExp currently
has. So your argument that it's not good enough for Qt users doesn't hold
IMO.

There's at least one other piece I'd like to use from V8, the dtoa code.

On many non desktop platforms the total size of Qt matters, so avoiding
duplicated functionality in the stack is a good thing. It also gives
consistent behavior.

Cheers,
Lars


>
>regards,
>Konstantin
>
>
>
>
>2011/9/3 Olivier Goffart <[email protected]>:
>> On Friday 02 September 2011 21:02:15 Richard Moore wrote:
>>> TBH it seems to me that is is too much stuff for QtBase, a javascript
>>> interpreter??!. Base implies a minimal set. For example, I'd expect to
>>> be able to use qtbase to build a daemon for a headless server. I'm
>>> thinking core stuff like QCoreApplication, QString possibly even the
>>> networking modules.
>>>
>>> Right now we don't have a forum to discuss this properly, so this list
>>> appears to be the best we've got.
>>
>> Do not mix qtbase and QtCore.
>> QtBase is a repository that contains few library such as QtCore, QtGui,
>> and
>> now, V8.
>> Considering that we plan to have both QtDeclarative, QtWebKit, and the
>> replacement for QtScript that are going to use V8, it make sens to put
>> this
>> common dependence in qtbase.
>>
>> When you do your minimal deamon, you can just link against QtCore, you
>>do
>> not
>> need V8. (you do not even need to compile it, you can pass -no-v8)
>>
>> I hope this answer your concern.
>>
>> _______________________________________________
>> Qt5-feedback mailing list
>> [email protected]
>> http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
>>
>_______________________________________________
>Qt5-feedback mailing list
>[email protected]
>http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

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

Reply via email to