Subject Re: [Firebird-Architect] java script in the engine
Author Jim Starkey
marius popa wrote:
> I know about java script that can run on java machine so it might run
> in firebird too (in the close future)
> http://www.mozilla.org/rhino/
>
> but the new kid on the block is v8 from google but it needs to be integrated
>
> http://code.google.com/apis/v8/intro.html
>
> seems to be quite fast at java script with the v8 engine
> http://blog.chromium.org/2008/09/google-chromes-need-for-speed_02.html
>
>
Doable, yes. But why? The main claim to Javascript is its ability to
interact with the document object model (DOM) of a browser which, of
course, neither exists nor has a counter part in the server. It is
cheap to parse and interpret and runs in a sandbox, all good things for
an embedded language. So my question is "why Javascript?" What
problems does it address/solve?