Re: [Spiderape-devel] Spiderape and JS engine
Status: Beta
Brought to you by:
sgbeal
From: Stephan B. <st...@s1...> - 2007-12-04 08:15:08
|
On Dec 4, 2007 2:22 AM, Elton Lum <elt...@ya...> wrote: > Spiderape, and have begun adding it into my C++ app, however, I am being > asked to build a JS engine. I am a bit confused on this part. Isn't the JS > engine provided by the browser? If so, why do I need to build a JS > engine...like the one provided by SpiderMonkey? Hi, Elton! SpiderApe is just a wrapper around a *specific* JS Engine, namely SpiderMonkey. The engine built into MSIE is completely different (i'm not even sure if it has a public AP,I, as i don't use Windows). If you're programming for your browser then SpiderApe is not what you need because it cannot integrate with a specific browser's JS engine. Even for a browser which uses SpiderMonkey internally (e.g. Mozilla), SpiderApe cannot integrate directly with it. :( SpiderApe is intended for those rare other applications which embed JS but are *not* a browser. A more popular choice for such embedding nowadays is Python, but i have strong philosophical differences with Python's fundamentals and refuse to use it. :) -- ----- stephan beal http://wanderinghorse.net/home/stephan/ |