v8 for C++ integration

Has anybody looked into using the new, very fast, V8 javascript engine
as a way to integrate Frank’s work into a C++ environment (like OOo or
Word)?

http://code.google.com/p/v8/

Bruce

Of, course similar performance enhancement are being added to
Spidermonkey (which is C):

http://ejohn.org/blog/tracemonkey/

Bruce

Oh, and on embedding the new engine:

http://www.0xdeadbeef.com/weblog/?p=624

Bruce

In Mendeley (and anyone else using Qt) we have the QtScript JavaScript
interpreter available to us, which is ‘only’ a direct-dispatch
bytecode interpreter but unless formatting citations involves some
heavy computation I’m not aware of that would be good enough. The
memory usage might be more of a concern.

We had some discussions around the office about whether it would be
quicker to fill in the gaps in our own CSL implementation and help get
tests into shape that could verify compatibility other implementations
or get a JavaScript interpreter running and cooperate on one of the
existing JS CSL implementations. I don’t think we came to a
conclusion on that.

Regards,
Robert.2009/4/24 Bruce D’Arcus <@Bruce_D_Arcus1>:

HI Robert,

In Mendeley (and anyone else using Qt) we have the QtScript JavaScript
interpreter available to us, which is ‘only’ a direct-dispatch
bytecode interpreter but unless formatting citations involves some
heavy computation I’m not aware of that would be good enough. The
memory usage might be more of a concern.

By C++, I was partly thinking about that idea of putting the
processing closer to the word-processor.

We had some discussions around the office about whether it would be
quicker to fill in the gaps in our own CSL implementation and help get
tests into shape that could verify compatibility other implementations
or get a JavaScript interpreter running and cooperate on one of the
existing JS CSL implementations. I don’t think we came to a
conclusion on that.

No problem; just thought I’d float the idea.

Bruce