I personally would like to see Python exposed for use with expressions first, before looking at adding javascript style support.
I also don't think it makes much sense to try to use V8 when Qt already comes with a javascript interpreter that can handle Qt objects. - Nathan On Thu, Jan 12, 2012 at 4:41 PM, Paolo Cavallini <[email protected]>wrote: > -------- Messaggio originale -------- >>> Oggetto: [Qgis-developer] Benchmarking QgsExpression against V8 >>> Data: Tue, 10 Jan 2012 01:00:11 +0100 >>> Mittente: Pirmin Kalberer<[email protected]> >>> A: [email protected] >>> >>> >>> Hi all, >>> >>> Following the recent enhancements of QGsExpression, I was wondering >>> whether it >>> wouldn't make sense to integrate a language intepreter instead of >>> creating >>> another language. >>> One candidate would be Google's V8 JavaScript engine >>> (http://code.google.com/p/v8/)**. Since embedding this C++ library is >>> easy, I've >>> conducted a few quick benchmarks against QgsExpression. Code is >>> attached. >>> >> > Any other points? >>> >> > Going back to this, to me it generally makes sense to use external, > powerful, well maintained libraries, instead of rewriting on our own. > All the best. > - > > Paolo Cavallini - Faunalia > www.faunalia.eu > Full contact details at www.faunalia.eu/pc > ______________________________**_________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/**mailman/listinfo/qgis-**developer<http://lists.osgeo.org/mailman/listinfo/qgis-developer> >
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
