[Qgis-developer] Benchmarking QgsExpression against V8

Nathan Woodrow madmanwoo at gmail.com
Thu Jan 12 02:47:42 EST 2012


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 <cavallini at faunalia.it>wrote:

> -------- Messaggio originale --------
>>> Oggetto: [Qgis-developer] Benchmarking QgsExpression against V8
>>> Data: Tue, 10 Jan 2012 01:00:11 +0100
>>> Mittente: Pirmin Kalberer<pi_ml at sourcepole.com>
>>> A: qgis-developer at lists.osgeo.org
>>>
>>>
>>> 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
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/qgis-**developer<http://lists.osgeo.org/mailman/listinfo/qgis-developer>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120112/cb0470d0/attachment.html


More information about the Qgis-developer mailing list