Hi, 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? 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 . The impression I get from wiki is that Lua perform 2 x the speed of JavaScript - does anyone know exactly why? Jan
I believe it has to do with how the language is constructed. Lua is built to be very lightweight. 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. Will you share your ccxml/vxml integration? I believe that these 2 components are something that lots of ppl could use. JM On Sat, Jun 5, 2010 at 9:07 AM, Jan Berger <jan.berger@video24.no> wrote:
Hi,
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?
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
.
The impression I get from wiki is that Lua perform 2 x the speed of JavaScript – does anyone know exactly why?
Jan
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Yes its for open source, but its a few hours away yet before I can use it for anything real. Jan _____ From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of João Mesquita Sent: 5. juni 2010 16:44 To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] JavaScript - how bad is it? I believe it has to do with how the language is constructed. Lua is built to be very lightweight. 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. Will you share your ccxml/vxml integration? I believe that these 2 components are something that lots of ppl could use. JM On Sat, Jun 5, 2010 at 9:07 AM, Jan Berger <jan.berger@video24.no> wrote: Hi, 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? 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 . The impression I get from wiki is that Lua perform 2 x the speed of JavaScript does anyone know exactly why? Jan _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
That's awesome! Links so we can follow progress? :-) Regards, João Mesquita On Sat, Jun 5, 2010 at 12:22 PM, Jan Berger <jan.berger@video24.no> wrote:
Yes it’s for open source, but it’s a few hours away yet before I can use it for anything real.
Jan
------------------------------
*From:* freeswitch-dev-bounces@lists.freeswitch.org [mailto: freeswitch-dev-bounces@lists.freeswitch.org] *On Behalf Of *João Mesquita *Sent:* 5. juni 2010 16:44 *To:* freeswitch-dev@lists.freeswitch.org *Subject:* Re: [Freeswitch-dev] JavaScript - how bad is it?
I believe it has to do with how the language is constructed. Lua is built to be very lightweight.
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.
Will you share your ccxml/vxml integration? I believe that these 2 components are something that lots of ppl could use.
JM
On Sat, Jun 5, 2010 at 9:07 AM, Jan Berger <jan.berger@video24.no> wrote:
Hi,
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?
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
.
The impression I get from wiki is that Lua perform 2 x the speed of JavaScript – does anyone know exactly why?
Jan
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
Jan Berger
-
João Mesquita