I believe it has to do with how the language is constructed. Lua is built to be very lightweight.<div><br></div><div>Last time I checked, spidermonkey had some problems with delays on some very specific cases due to its inner workings, but I can't tell for sure.</div>
<div><br></div><div>Will you share your ccxml/vxml integration? I believe that these 2 components are something that lots of ppl could use.</div><div><br></div><div><br clear="all">JM<br>
<br><br><div class="gmail_quote">On Sat, Jun 5, 2010 at 9:07 AM, Jan Berger <span dir="ltr"><<a href="mailto:jan.berger@video24.no">jan.berger@video24.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="NO-BOK" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Hi,</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">I know from a previous postings/discussions that the
Javascript we use is considered to be bad – performance and memory wise.
Can someone explain a little – who did the Javascript integration?</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">The reason I ask is because I am working on ccxml and
vxml – and I need to add ECMAScript due to compatibility with external
tools/libraries</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">. </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">The impression I get from wiki is that Lua perform 2
x the speed of JavaScript – does anyone know exactly why? </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p><font color="#888888">
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">Jan</span></font></p>
</font></div>
</div>
<br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>