Hi, Maybe someone has already proposed this, but just in case:
In QtCore, have only QRegExp. Maybe rename it to QSimpleRegExp. Simple regexp support for console-only or GUI-less applications. Should be enough. In QtGui, or QtWebKit, or QtDeclarative (I'm not sure which one would be the best choice), have a new QRegExp using the V8 regexp engine. qt4to5 would rename all instances of QRegExp to QSimpleRegExp. 2011/10/12 João Abecasis <[email protected]> > Andre Somers wrote: > > Would it be conceptually feasible to separate V8's engine from V8 > > itself, and make V8 link against the separated out engine? Would such a > > change in V8 be accepted upstream? If so, then it would open up the > > perspective of just using V8's regexp engine, and don't load the rest of > > it if not needed... > > I would like to avoid doing a lot of work for the benefit of contrived use > cases. For users of Qt as a platform there isn't much value in having the RE > engine cleanly isolated from everything else. On the other hand, there are > probably benefits to having it integrated with the JS engine for those who > also use it. > > Granted, it's a double-edged sword... or small swiss-army knife. > > But then the real question shouldn't be "what if I don't want a JS engine > in my application?", but rather "what's the cost?". > > Also consider that, as with any project, the chances of getting stuff > integrated upstream usually correlates with value and usefulness of said > stuff to upstream project and their users. In the competitive landscape of > JS engines I would expect our bargaining power to be *very*non-existent... > > > Cheers, > > > João > > _______________________________________________ > Qt5-feedback mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback > -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer)
_______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
