Re: [Freeswitch-dev] TraceMonkey

2010-07-02 Thread Jan Berger
Its

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of EdPimentl
Sent: 2. juli 2010 14:55
To: [email protected]
Subject: Re: [Freeswitch-dev] TraceMonkey

 

Node.JS is an extremely important and flexible framework ...

http://journal.paul.querna.org/articles/2010/06/12/node-js/

-E
http://vCardCloud.com



___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


Re: [Freeswitch-dev] TraceMonkey

2010-07-02 Thread EdPimentl
Node.JS is an extremely important and flexible framework ...

http://journal.paul.querna.org/articles/2010/06/12/node-js/

-E
http://vCardCloud.com
___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


Re: [Freeswitch-dev] TraceMonkey

2010-07-02 Thread David Elbel
check out automatic locking in the c++ wrapper of spidermonkey, sorry I
forgot the api names but they are fairly simple to find out.
Then, your bottleneck isn't javascript anymore (unless somebody can prove me
wrong! :)

On Thu, Jul 1, 2010 at 7:47 PM, Anthony Minessale <
[email protected]> wrote:

> Can you have 1 context per thread the same way we do it now in the other
> languages?
> lua has a similar limitation but we just start a whole lua interpreter per
> thread/script.
>
>
> On Thu, Jul 1, 2010 at 8:51 PM, Jan Berger  wrote:
>
>>  So in short – if a call executes a long script the other calls will be
>> queued unable to process events – V8 is a joke as a scripting environment if
>> you can’t create multiple environments.
>>
>>
>>
>> I kind of see a poor IVR developer that accidentally made an ever loop and
>> the entire companies phone system is down J
>>
>>
>>
>> Obviously – I can get around it using several processes, but processes are
>> bloody expensive on any OS.
>>
>>
>>
>> ---
>>
>>
>>
>> Will have a chat with the Danes about this one – thanks.
>>
>>
>>
>> Jan
>>
>>
>>  --------------
>>
>> *From:* Joegen E. Baclor [mailto:[email protected]]
>> *Sent:* 2. juli 2010 03:27
>> *To:* Jan Berger
>> *Cc:* [email protected]
>>
>> *Subject:* Re: [Freeswitch-dev] TraceMonkey
>>
>>
>>
>> For some reason, my email address is being blocked by the moderator so the
>> list is not getting this mail.   The problem with v8 threading is really
>> simple.
>>
>> 1.  Google V8 only allows one context to execute at a time.
>> 2.  If you are using multiple context design, they must be executed using
>> exactly the same thread via a single event loop.
>>
>> Failure to do this will result to a corrupt stack.
>>
>>
>>
>> On 7/2/10 9:06 AM, Jan Berger wrote:
>>
>> What exactly is the problem with threading?
>>  --
>>
>> *From:* Joegen E. Baclor 
>> [mailto:[email protected]]
>>
>> *Sent:* 2. juli 2010 02:40
>> *To:* [email protected]
>> *Cc:* Jan Berger
>> *Subject:* Re: [Freeswitch-dev] TraceMonkey
>>
>>
>>
>> I have been using Google V8 for nearly a year now in one of our commercial
>> SIP product offerings and it scales quite well.   The only gotcha so far is
>> that google V8 contexts do not go well with a multi threaded environment.
>> That would force application design to always use async-IO.   One good proof
>> of this all async project is node.js.
>>
>> http://nodejs.org/
>>
>> I think it would also be a good idea to integrate this project into
>> free-switch which would instantly give free-switch access to a vast number
>> of JS API including sockets and HTTP client.
>>
>> my 2 cents.
>>
>> Joegen
>>
>> On 7/2/10 7:24 AM, Jan Berger wrote:
>>
>> I almost fell asleep when I reached the instruction to download Phython...
>>
>>
>>
>> But, once you’ve done phyton + scons its basically just setting the
>> correct parameters on scons from what I can see.
>>
>>
>>
>> Looked a bit into Chrome source as well – considering nicking parts of it.
>> CCXML/VXML is after all browsers.
>>
>>
>>
>> ---
>>
>>
>>
>> Actually I did not realize that Google was building their own Inet-OS.
>> What could be very cool was if we could get a Videophone running on Chrome
>> to connect to FreeSWITCH – it will be plenty of iPad alike devices out
>> running Chromium soon.
>>
>>
>>
>> Jan
>>
>>
>>
>>
>>
>>
>>  --
>>
>> *From:* [email protected] [
>> mailto:[email protected]]
>> *On Behalf Of *Anthony Minessale
>> *Sent:* 1. juli 2010 20:05
>> *To:* [email protected]
>> *Subject:* Re: [Freeswitch-dev] TraceMonkey
>>
>>
>>
>> it took me a while to figure out how to build v8 with 64 bit, and now i
>> forgot again.
>>
>> it uses scons to build and I wish i could remember because it took me an
>> hour to figure it out.
>>
>> lucky for us FS mods can be c++ so it would be plausible to make a mod_v8
>>
>> On Thu, Jul 1, 2010 at 11:55 AM, Jan Berger 
>> wrote:
>>
>> Yes – I am going to give V8 a try ac

Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Joegen E. Baclor
For some reason, my email address is being blocked by the moderator so 
the list is not getting this mail.   The problem with v8 threading is 
really simple.


1.  Google V8 only allows one context to execute at a time.
2.  If you are using multiple context design, they must be executed 
using exactly the same thread via a single event loop.


Failure to do this will result to a corrupt stack.


On 7/2/10 9:06 AM, Jan Berger wrote:


What exactly is the problem with threading?



*From:* Joegen E. Baclor [mailto:[email protected]]
*Sent:* 2. juli 2010 02:40
*To:* [email protected]
*Cc:* Jan Berger
*Subject:* Re: [Freeswitch-dev] TraceMonkey

I have been using Google V8 for nearly a year now in one of our 
commercial SIP product offerings and it scales quite well.   The only 
gotcha so far is that google V8 contexts do not go well with a multi 
threaded environment.  That would force application design to always 
use async-IO.   One good proof of this all async project is node.js.


http://nodejs.org/

I think it would also be a good idea to integrate this project into 
free-switch which would instantly give free-switch access to a vast 
number of JS API including sockets and HTTP client.


my 2 cents.

Joegen

On 7/2/10 7:24 AM, Jan Berger wrote:

I almost fell asleep when I reached the instruction to download Phython...

But, once you've done phyton + scons its basically just setting the 
correct parameters on scons from what I can see.


Looked a bit into Chrome source as well -- considering nicking parts 
of it. CCXML/VXML is after all browsers.


---

Actually I did not realize that Google was building their own Inet-OS. 
What could be very cool was if we could get a Videophone running on 
Chrome to connect to FreeSWITCH -- it will be plenty of iPad alike 
devices out running Chromium soon.


Jan



*From:* [email protected] 
<mailto:[email protected]> 
[mailto:[email protected]] *On Behalf Of 
*Anthony Minessale

*Sent:* 1. juli 2010 20:05
*To:* [email protected] 
<mailto:[email protected]>

*Subject:* Re: [Freeswitch-dev] TraceMonkey

it took me a while to figure out how to build v8 with 64 bit, and now 
i forgot again.


it uses scons to build and I wish i could remember because it took me 
an hour to figure it out.


lucky for us FS mods can be c++ so it would be plausible to make a mod_v8

On Thu, Jul 1, 2010 at 11:55 AM, Jan Berger <mailto:[email protected]>> wrote:


Yes -- I am going to give V8 a try actually -- this looks very 
promising. Got a bit lost in the jungle of all the monkey's J


The compiler side of Tamarin is not ready yet + it's also been 
complains that it's slower than SpiderMonkey on the VM.




*From:* [email protected] 
<mailto:[email protected]> 
[mailto:[email protected] 
<mailto:[email protected]>] *On Behalf Of 
*Anthony Minessale

*Sent:* 1. juli 2010 17:56


*To:* [email protected] 
<mailto:[email protected]>


*Subject:* Re: [Freeswitch-dev] TraceMonkey

We've been waiting for a modern js engine to mature since shortly 
after we started FS.


V8 has promise as well.  It's a matter of making sure there is a good 
choice before doing all the work of integration.


On Thu, Jul 1, 2010 at 3:56 AM, Jan Berger <mailto:[email protected]>> wrote:


https://wiki.mozilla.org/JaegerMonkey

Didn't see this -- might be an easier path to just wait for this to 
mature.


Jan



*From:* [email protected] 
<mailto:[email protected]> 
[mailto:[email protected] 
<mailto:[email protected]>] *On Behalf Of 
*Jan Berger

*Sent:* 1. juli 2010 10:38


*To:* [email protected] 
<mailto:[email protected]>


*Subject:* [Freeswitch-dev] TraceMonkey

Hi,

Was searching for updated JavaScript alternatives and found this 
Tamarin/TraceMonkey. Do anyone have experience with this version? They 
claim a 5-10 x speed increase compared to the older SpiderMonkey


"**Tamarin** is a JavaScript 
<https://developer.mozilla.org/en/JavaScript> engine written in C++. 
It currently implements Adobe ActionScript^(TM) 3 (a superset of 
ECMAScript Edition 3) and is embedded within the Adobe® Flash® Player 
versions 9 and later.  Tamarin's jit-compiler,  NanoJIT, is also used 
in TraceMonkey 

Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Joegen E. Baclor
I have been using Google V8 for nearly a year now in one of our 
commercial SIP product offerings and it scales quite well.   The only 
gotcha so far is that google V8 contexts do not go well with a multi 
threaded environment.  That would force application design to always use 
async-IO.   One good proof of this all async project is node.js.


http://nodejs.org/

I think it would also be a good idea to integrate this project into 
free-switch which would instantly give free-switch access to a vast 
number of JS API including sockets and HTTP client.


my 2 cents.

Joegen

On 7/2/10 7:24 AM, Jan Berger wrote:


I almost fell asleep when I reached the instruction to download Phython...

But, once you've done phyton + scons its basically just setting the 
correct parameters on scons from what I can see.


Looked a bit into Chrome source as well -- considering nicking parts 
of it. CCXML/VXML is after all browsers.


---

Actually I did not realize that Google was building their own Inet-OS. 
What could be very cool was if we could get a Videophone running on 
Chrome to connect to FreeSWITCH -- it will be plenty of iPad alike 
devices out running Chromium soon.


Jan



*From:* [email protected] 
[mailto:[email protected]] *On Behalf Of 
*Anthony Minessale

*Sent:* 1. juli 2010 20:05
*To:* [email protected]
*Subject:* Re: [Freeswitch-dev] TraceMonkey

it took me a while to figure out how to build v8 with 64 bit, and now 
i forgot again.


it uses scons to build and I wish i could remember because it took me 
an hour to figure it out.


lucky for us FS mods can be c++ so it would be plausible to make a mod_v8

On Thu, Jul 1, 2010 at 11:55 AM, Jan Berger <mailto:[email protected]>> wrote:


Yes -- I am going to give V8 a try actually -- this looks very 
promising. Got a bit lost in the jungle of all the monkey's J


The compiler side of Tamarin is not ready yet + it's also been 
complains that it's slower than SpiderMonkey on the VM.




*From:* [email protected] 
<mailto:[email protected]> 
[mailto:[email protected] 
<mailto:[email protected]>] *On Behalf Of 
*Anthony Minessale

*Sent:* 1. juli 2010 17:56


*To:* [email protected] 
<mailto:[email protected]>


*Subject:* Re: [Freeswitch-dev] TraceMonkey

We've been waiting for a modern js engine to mature since shortly 
after we started FS.


V8 has promise as well.  It's a matter of making sure there is a good 
choice before doing all the work of integration.


On Thu, Jul 1, 2010 at 3:56 AM, Jan Berger <mailto:[email protected]>> wrote:


https://wiki.mozilla.org/JaegerMonkey

Didn't see this -- might be an easier path to just wait for this to 
mature.


Jan



*From:* [email protected] 
<mailto:[email protected]> 
[mailto:[email protected] 
<mailto:[email protected]>] *On Behalf Of 
*Jan Berger

*Sent:* 1. juli 2010 10:38


*To:* [email protected] 
<mailto:[email protected]>


*Subject:* [Freeswitch-dev] TraceMonkey

Hi,

Was searching for updated JavaScript alternatives and found this 
Tamarin/TraceMonkey. Do anyone have experience with this version? They 
claim a 5-10 x speed increase compared to the older SpiderMonkey


"**Tamarin** is a JavaScript 
<https://developer.mozilla.org/en/JavaScript> engine written in C++. 
It currently implements Adobe ActionScript^(TM) 3 (a superset of 
ECMAScript Edition 3) and is embedded within the Adobe® Flash® Player 
versions 9 and later.  Tamarin's jit-compiler,  NanoJIT, is also used 
in TraceMonkey <https://wiki.mozilla.org/JavaScript:TraceMonkey> ergo 
SpiderMonkey, which is Mozilla's JavaScript engine in Firefox."


https://developer.mozilla.org/en/Tamarin#Get_Involved!

Is anyone interested in having a mod_tracemonkey for FreeSWITCH -- or 
is someone already working on this?


Jan


___
FreeSWITCH-dev mailing list
[email protected] 
<mailto:[email protected]>

http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected] 
<mailto:msn%3aanthony_miness...@hotmai

Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Anthony Minessale
The one that usually gets us on embedded scripts is the garbage collector.
They tend to use a global one and it can cause all kinds of blocking when
objects are tied to host objects like calls and waiting for them to
terminate holds up things.



On Thu, Jul 1, 2010 at 9:47 PM, Jan Berger  wrote:

> Will find out tomorrow - I see threading in the code.
>
> It might be a case on how they do the threading. This is after all a VM
> even
> if they use native code - meaning they might do the threading in the VM. In
> which case you actually run it from a single thread, but you don't need to
> thread V8 itself - it's the scripts you run that must be threaded -
> something a VM can do internally.
>
> Take into account that a CISC like x86 have to move a load of register cash
> every time it actually thread - so simulating threading in the VM -
> changing
> context between 2 instructions would be a very performance saving thing to
> do.
>
> But, I will find out more exact tomorrow because I am only guessing now -
> and this is rather critical.
>
> V8 compiles to a 128 mb library :/ on Windows ...
>
> Jan
>
>
> -Original Message-
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Bret
> McDanel
> Sent: 2. juli 2010 03:51
> To: [email protected]
> Subject: Re: [Freeswitch-dev] TraceMonkey
>
> I thought V8 was designed to be multi-threaded from inception.  Maybe I
> am confusing my projects.  I wonder if it was the embedding part of it
> that did not enable proper threading ???   Then again it could be like
> python, where when embedded all threads are virtual to the 1 process
> that is running (ie not threads as far as the kernel is concerned) which
> can confuse the kernel scheduler into sticking it in the penalty box for
> a while.  Normally you are not doing enough in the embedded language to
> notice this scheduler issue so its almost a moot point.  Other points
> may be valid though.
>
>
> On Fri, 2010-07-02 at 03:06 +0200, Jan Berger wrote:
> > What exactly is the problem with threading?
>
>
>
>
> ___
> FreeSWITCH-dev mailing list
> [email protected]
> 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
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected] 
GTALK/JABBER/PAYPAL:[email protected]
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] 
googletalk:[email protected]
pstn:+19193869900
___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Anthony Minessale
Can you have 1 context per thread the same way we do it now in the other
languages?
lua has a similar limitation but we just start a whole lua interpreter per
thread/script.


On Thu, Jul 1, 2010 at 8:51 PM, Jan Berger  wrote:

>  So in short – if a call executes a long script the other calls will be
> queued unable to process events – V8 is a joke as a scripting environment if
> you can’t create multiple environments.
>
>
>
> I kind of see a poor IVR developer that accidentally made an ever loop and
> the entire companies phone system is down J
>
>
>
> Obviously – I can get around it using several processes, but processes are
> bloody expensive on any OS.
>
>
>
> ---
>
>
>
> Will have a chat with the Danes about this one – thanks.
>
>
>
> Jan
>
>
>  --
>
> *From:* Joegen E. Baclor [mailto:[email protected]]
> *Sent:* 2. juli 2010 03:27
> *To:* Jan Berger
> *Cc:* [email protected]
>
> *Subject:* Re: [Freeswitch-dev] TraceMonkey
>
>
>
> For some reason, my email address is being blocked by the moderator so the
> list is not getting this mail.   The problem with v8 threading is really
> simple.
>
> 1.  Google V8 only allows one context to execute at a time.
> 2.  If you are using multiple context design, they must be executed using
> exactly the same thread via a single event loop.
>
> Failure to do this will result to a corrupt stack.
>
>
>
> On 7/2/10 9:06 AM, Jan Berger wrote:
>
> What exactly is the problem with threading?
>  --
>
> *From:* Joegen E. Baclor 
> [mailto:[email protected]]
>
> *Sent:* 2. juli 2010 02:40
> *To:* [email protected]
> *Cc:* Jan Berger
> *Subject:* Re: [Freeswitch-dev] TraceMonkey
>
>
>
> I have been using Google V8 for nearly a year now in one of our commercial
> SIP product offerings and it scales quite well.   The only gotcha so far is
> that google V8 contexts do not go well with a multi threaded environment.
> That would force application design to always use async-IO.   One good proof
> of this all async project is node.js.
>
> http://nodejs.org/
>
> I think it would also be a good idea to integrate this project into
> free-switch which would instantly give free-switch access to a vast number
> of JS API including sockets and HTTP client.
>
> my 2 cents.
>
> Joegen
>
> On 7/2/10 7:24 AM, Jan Berger wrote:
>
> I almost fell asleep when I reached the instruction to download Phython...
>
>
>
> But, once you’ve done phyton + scons its basically just setting the correct
> parameters on scons from what I can see.
>
>
>
> Looked a bit into Chrome source as well – considering nicking parts of it.
> CCXML/VXML is after all browsers.
>
>
>
> ---
>
>
>
> Actually I did not realize that Google was building their own Inet-OS. What
> could be very cool was if we could get a Videophone running on Chrome to
> connect to FreeSWITCH – it will be plenty of iPad alike devices out running
> Chromium soon.
>
>
>
> Jan
>
>
>
>
>
>
>  --
>
> *From:* [email protected] [
> mailto:[email protected]]
> *On Behalf Of *Anthony Minessale
> *Sent:* 1. juli 2010 20:05
> *To:* [email protected]
> *Subject:* Re: [Freeswitch-dev] TraceMonkey
>
>
>
> it took me a while to figure out how to build v8 with 64 bit, and now i
> forgot again.
>
> it uses scons to build and I wish i could remember because it took me an
> hour to figure it out.
>
> lucky for us FS mods can be c++ so it would be plausible to make a mod_v8
>
> On Thu, Jul 1, 2010 at 11:55 AM, Jan Berger  wrote:
>
> Yes – I am going to give V8 a try actually – this looks very promising. Got
> a bit lost in the jungle of all the monkey’s J
>
>
>
> The compiler side of Tamarin is not ready yet + it’s also been complains
> that it’s slower than SpiderMonkey on the VM.
>
>
>  --
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Anthony
> Minessale
> *Sent:* 1. juli 2010 17:56
>
>
> *To:* [email protected]
>
> *Subject:* Re: [Freeswitch-dev] TraceMonkey
>
>
>
> We've been waiting for a modern js engine to mature since shortly after we
> started FS.
>
>
>
> V8 has promise as well.  It's a matter of making sure there is a good
> choice before doing all the work of integration.
>
>
>
>
>
> On Thu, Jul 1, 2010 at 3:56 AM, 

Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Jan Berger
Will find out tomorrow - I see threading in the code. 

It might be a case on how they do the threading. This is after all a VM even
if they use native code - meaning they might do the threading in the VM. In
which case you actually run it from a single thread, but you don't need to
thread V8 itself - it's the scripts you run that must be threaded -
something a VM can do internally.

Take into account that a CISC like x86 have to move a load of register cash
every time it actually thread - so simulating threading in the VM - changing
context between 2 instructions would be a very performance saving thing to
do. 

But, I will find out more exact tomorrow because I am only guessing now -
and this is rather critical. 

V8 compiles to a 128 mb library :/ on Windows ...

Jan


-Original Message-
From: [email protected]
[mailto:[email protected]] On Behalf Of Bret
McDanel
Sent: 2. juli 2010 03:51
To: [email protected]
Subject: Re: [Freeswitch-dev] TraceMonkey

I thought V8 was designed to be multi-threaded from inception.  Maybe I
am confusing my projects.  I wonder if it was the embedding part of it
that did not enable proper threading ???   Then again it could be like
python, where when embedded all threads are virtual to the 1 process
that is running (ie not threads as far as the kernel is concerned) which
can confuse the kernel scheduler into sticking it in the penalty box for
a while.  Normally you are not doing enough in the embedded language to
notice this scheduler issue so its almost a moot point.  Other points
may be valid though.


On Fri, 2010-07-02 at 03:06 +0200, Jan Berger wrote:
> What exactly is the problem with threading? 




___
FreeSWITCH-dev mailing list
[email protected]
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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Jan Berger
So in short - if a call executes a long script the other calls will be
queued unable to process events - V8 is a joke as a scripting environment if
you can't create multiple environments. 

 

I kind of see a poor IVR developer that accidentally made an ever loop and
the entire companies phone system is down :-)

 

Obviously - I can get around it using several processes, but processes are
bloody expensive on any OS.

 

---

 

Will have a chat with the Danes about this one - thanks.

 

Jan

 

  _  

From: Joegen E. Baclor [mailto:[email protected]] 
Sent: 2. juli 2010 03:27
To: Jan Berger
Cc: [email protected]
Subject: Re: [Freeswitch-dev] TraceMonkey

 

For some reason, my email address is being blocked by the moderator so the
list is not getting this mail.   The problem with v8 threading is really
simple.  

1.  Google V8 only allows one context to execute at a time.  
2.  If you are using multiple context design, they must be executed using
exactly the same thread via a single event loop.

Failure to do this will result to a corrupt stack.


On 7/2/10 9:06 AM, Jan Berger wrote: 

What exactly is the problem with threading? 

  _  

From: Joegen E. Baclor [mailto:[email protected]] 
Sent: 2. juli 2010 02:40
To: [email protected]
Cc: Jan Berger
Subject: Re: [Freeswitch-dev] TraceMonkey

 

I have been using Google V8 for nearly a year now in one of our commercial
SIP product offerings and it scales quite well.   The only gotcha so far is
that google V8 contexts do not go well with a multi threaded environment.
That would force application design to always use async-IO.   One good proof
of this all async project is node.js.

http://nodejs.org/

I think it would also be a good idea to integrate this project into
free-switch which would instantly give free-switch access to a vast number
of JS API including sockets and HTTP client.

my 2 cents.

Joegen

On 7/2/10 7:24 AM, Jan Berger wrote: 

I almost fell asleep when I reached the instruction to download Phython...

 

But, once you've done phyton + scons its basically just setting the correct
parameters on scons from what I can see.

 

Looked a bit into Chrome source as well - considering nicking parts of it.
CCXML/VXML is after all browsers.

 

---

 

Actually I did not realize that Google was building their own Inet-OS. What
could be very cool was if we could get a Videophone running on Chrome to
connect to FreeSWITCH - it will be plenty of iPad alike devices out running
Chromium soon. 

 

Jan

 

 

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Anthony
Minessale
Sent: 1. juli 2010 20:05
To: [email protected]
Subject: Re: [Freeswitch-dev] TraceMonkey

 

it took me a while to figure out how to build v8 with 64 bit, and now i
forgot again.

it uses scons to build and I wish i could remember because it took me an
hour to figure it out.

lucky for us FS mods can be c++ so it would be plausible to make a mod_v8 

On Thu, Jul 1, 2010 at 11:55 AM, Jan Berger  wrote:

Yes - I am going to give V8 a try actually - this looks very promising. Got
a bit lost in the jungle of all the monkey's :-)

 

The compiler side of Tamarin is not ready yet + it's also been complains
that it's slower than SpiderMonkey on the VM.

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Anthony
Minessale
Sent: 1. juli 2010 17:56


To: [email protected]

Subject: Re: [Freeswitch-dev] TraceMonkey

 

We've been waiting for a modern js engine to mature since shortly after we
started FS.

 

V8 has promise as well.  It's a matter of making sure there is a good choice
before doing all the work of integration.

 

 

On Thu, Jul 1, 2010 at 3:56 AM, Jan Berger  wrote:

https://wiki.mozilla.org/JaegerMonkey

 

Didn't see this - might be an easier path to just wait for this to mature.

 

Jan

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Jan Berger
Sent: 1. juli 2010 10:38


To: [email protected]

Subject: [Freeswitch-dev] TraceMonkey

 

Hi,

 

Was searching for updated JavaScript alternatives and found this
Tamarin/TraceMonkey. Do anyone have experience with this version? They claim
a 5-10 x speed increase compared to the older SpiderMonkey

 

"Tamarin is a JavaScript <https://developer.mozilla.org/en/JavaScript>
engine written in C++. It currently implements Adobe ActionScriptT 3 (a
superset of ECMAScript Edition 3) and is embedded within the AdobeR FlashR
Player versions 9 and later.  Tamarin's jit-compiler,  NanoJIT, is also used
in TraceMonkey <https://wiki.mozilla.org/JavaScript:TraceMonkey>  ergo
SpiderMonkey, which is Mozilla's JavaScript engine in Firefox.

Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Bret McDanel
I thought V8 was designed to be multi-threaded from inception.  Maybe I
am confusing my projects.  I wonder if it was the embedding part of it
that did not enable proper threading ???   Then again it could be like
python, where when embedded all threads are virtual to the 1 process
that is running (ie not threads as far as the kernel is concerned) which
can confuse the kernel scheduler into sticking it in the penalty box for
a while.  Normally you are not doing enough in the embedded language to
notice this scheduler issue so its almost a moot point.  Other points
may be valid though.


On Fri, 2010-07-02 at 03:06 +0200, Jan Berger wrote:
> What exactly is the problem with threading? 




___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Jan Berger
What exactly is the problem with threading? 

  _  

From: Joegen E. Baclor [mailto:[email protected]] 
Sent: 2. juli 2010 02:40
To: [email protected]
Cc: Jan Berger
Subject: Re: [Freeswitch-dev] TraceMonkey

 

I have been using Google V8 for nearly a year now in one of our commercial
SIP product offerings and it scales quite well.   The only gotcha so far is
that google V8 contexts do not go well with a multi threaded environment.
That would force application design to always use async-IO.   One good proof
of this all async project is node.js.

http://nodejs.org/

I think it would also be a good idea to integrate this project into
free-switch which would instantly give free-switch access to a vast number
of JS API including sockets and HTTP client.

my 2 cents.

Joegen

On 7/2/10 7:24 AM, Jan Berger wrote: 

I almost fell asleep when I reached the instruction to download Phython...

 

But, once you've done phyton + scons its basically just setting the correct
parameters on scons from what I can see.

 

Looked a bit into Chrome source as well - considering nicking parts of it.
CCXML/VXML is after all browsers.

 

---

 

Actually I did not realize that Google was building their own Inet-OS. What
could be very cool was if we could get a Videophone running on Chrome to
connect to FreeSWITCH - it will be plenty of iPad alike devices out running
Chromium soon. 

 

Jan

 

 

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Anthony
Minessale
Sent: 1. juli 2010 20:05
To: [email protected]
Subject: Re: [Freeswitch-dev] TraceMonkey

 

it took me a while to figure out how to build v8 with 64 bit, and now i
forgot again.

it uses scons to build and I wish i could remember because it took me an
hour to figure it out.

lucky for us FS mods can be c++ so it would be plausible to make a mod_v8 

On Thu, Jul 1, 2010 at 11:55 AM, Jan Berger  wrote:

Yes - I am going to give V8 a try actually - this looks very promising. Got
a bit lost in the jungle of all the monkey's :-)

 

The compiler side of Tamarin is not ready yet + it's also been complains
that it's slower than SpiderMonkey on the VM.

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Anthony
Minessale
Sent: 1. juli 2010 17:56


To: [email protected]

Subject: Re: [Freeswitch-dev] TraceMonkey

 

We've been waiting for a modern js engine to mature since shortly after we
started FS.

 

V8 has promise as well.  It's a matter of making sure there is a good choice
before doing all the work of integration.

 

 

On Thu, Jul 1, 2010 at 3:56 AM, Jan Berger  wrote:

https://wiki.mozilla.org/JaegerMonkey

 

Didn't see this - might be an easier path to just wait for this to mature.

 

Jan

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Jan Berger
Sent: 1. juli 2010 10:38


To: [email protected]

Subject: [Freeswitch-dev] TraceMonkey

 

Hi,

 

Was searching for updated JavaScript alternatives and found this
Tamarin/TraceMonkey. Do anyone have experience with this version? They claim
a 5-10 x speed increase compared to the older SpiderMonkey

 

"Tamarin is a JavaScript <https://developer.mozilla.org/en/JavaScript>
engine written in C++. It currently implements Adobe ActionScriptT 3 (a
superset of ECMAScript Edition 3) and is embedded within the AdobeR FlashR
Player versions 9 and later.  Tamarin's jit-compiler,  NanoJIT, is also used
in TraceMonkey <https://wiki.mozilla.org/JavaScript:TraceMonkey>  ergo
SpiderMonkey, which is Mozilla's JavaScript engine in Firefox."

 

https://developer.mozilla.org/en/Tamarin#Get_Involved!

 

Is anyone interested in having a mod_tracemonkey for FreeSWITCH - or is
someone already working on this?

 

Jan

 


___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected]
<mailto:msn%[email protected]> 
GTALK/JABBER/PAYPAL:[email protected]
<mailto:paypal%[email protected]> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected]
<mailto:sip%[email protected]> 
googletalk:[email protected]
<mailto:googletalk%3aconf%[email protected]> 
pstn:+19193869900


___

Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Jan Berger
I almost fell asleep when I reached the instruction to download Phython...

 

But, once you've done phyton + scons its basically just setting the correct
parameters on scons from what I can see.

 

Looked a bit into Chrome source as well - considering nicking parts of it.
CCXML/VXML is after all browsers.

 

---

 

Actually I did not realize that Google was building their own Inet-OS. What
could be very cool was if we could get a Videophone running on Chrome to
connect to FreeSWITCH - it will be plenty of iPad alike devices out running
Chromium soon. 

 

Jan

 

 

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Anthony
Minessale
Sent: 1. juli 2010 20:05
To: [email protected]
Subject: Re: [Freeswitch-dev] TraceMonkey

 

it took me a while to figure out how to build v8 with 64 bit, and now i
forgot again.

it uses scons to build and I wish i could remember because it took me an
hour to figure it out.

lucky for us FS mods can be c++ so it would be plausible to make a mod_v8 

On Thu, Jul 1, 2010 at 11:55 AM, Jan Berger  wrote:

Yes - I am going to give V8 a try actually - this looks very promising. Got
a bit lost in the jungle of all the monkey's :-)

 

The compiler side of Tamarin is not ready yet + it's also been complains
that it's slower than SpiderMonkey on the VM.

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Anthony
Minessale
Sent: 1. juli 2010 17:56


To: [email protected]

Subject: Re: [Freeswitch-dev] TraceMonkey

 

We've been waiting for a modern js engine to mature since shortly after we
started FS.

 

V8 has promise as well.  It's a matter of making sure there is a good choice
before doing all the work of integration.

 

 

On Thu, Jul 1, 2010 at 3:56 AM, Jan Berger  wrote:

https://wiki.mozilla.org/JaegerMonkey

 

Didn't see this - might be an easier path to just wait for this to mature.

 

Jan

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Jan Berger
Sent: 1. juli 2010 10:38


To: [email protected]

Subject: [Freeswitch-dev] TraceMonkey

 

Hi,

 

Was searching for updated JavaScript alternatives and found this
Tamarin/TraceMonkey. Do anyone have experience with this version? They claim
a 5-10 x speed increase compared to the older SpiderMonkey

 

"Tamarin is a JavaScript <https://developer.mozilla.org/en/JavaScript>
engine written in C++. It currently implements Adobe ActionScriptT 3 (a
superset of ECMAScript Edition 3) and is embedded within the AdobeR FlashR
Player versions 9 and later.  Tamarin's jit-compiler,  NanoJIT, is also used
in TraceMonkey <https://wiki.mozilla.org/JavaScript:TraceMonkey>  ergo
SpiderMonkey, which is Mozilla's JavaScript engine in Firefox."

 

https://developer.mozilla.org/en/Tamarin#Get_Involved!

 

Is anyone interested in having a mod_tracemonkey for FreeSWITCH - or is
someone already working on this?

 

Jan

 


___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected]
<mailto:msn%[email protected]> 
GTALK/JABBER/PAYPAL:[email protected]
<mailto:paypal%[email protected]> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected]
<mailto:sip%[email protected]> 
googletalk:[email protected]
<mailto:googletalk%3aconf%[email protected]> 
pstn:+19193869900


___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected]
<mailto:msn%[email protected]> 
GTALK/JABBER/PAYPAL:[email protected]
<mailto:paypal%[email protected]> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected]
<mailto:sip%[email protected]> 
googletalk:[email protected]
<mailto:googletalk%3aconf%[email protected]> 
pstn:+19193869900

_

Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Anthony Minessale
it took me a while to figure out how to build v8 with 64 bit, and now i
forgot again.
it uses scons to build and I wish i could remember because it took me an
hour to figure it out.
lucky for us FS mods can be c++ so it would be plausible to make a mod_v8

On Thu, Jul 1, 2010 at 11:55 AM, Jan Berger  wrote:

>  Yes – I am going to give V8 a try actually – this looks very promising.
> Got a bit lost in the jungle of all the monkey’s J
>
>
>
> The compiler side of Tamarin is not ready yet + it’s also been complains
> that it’s slower than SpiderMonkey on the VM.
>
>
>  --
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Anthony
> Minessale
> *Sent:* 1. juli 2010 17:56
>
> *To:* [email protected]
> *Subject:* Re: [Freeswitch-dev] TraceMonkey
>
>
>
> We've been waiting for a modern js engine to mature since shortly after we
> started FS.
>
>
>
> V8 has promise as well.  It's a matter of making sure there is a good
> choice before doing all the work of integration.
>
>
>
>
>
> On Thu, Jul 1, 2010 at 3:56 AM, Jan Berger  wrote:
>
> https://wiki.mozilla.org/JaegerMonkey
>
>
>
> Didn’t see this – might be an easier path to just wait for this to mature.
>
>
>
> Jan
>
>
>  --
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Jan Berger
> *Sent:* 1. juli 2010 10:38
>
>
> *To:* [email protected]
>
> *Subject:* [Freeswitch-dev] TraceMonkey
>
>
>
> Hi,
>
>
>
> Was searching for updated JavaScript alternatives and found this
> Tamarin/TraceMonkey. Do anyone have experience with this version? They claim
> a 5-10 x speed increase compared to the older SpiderMonkey
>
>
>
> “*Tamarin* is a JavaScript 
> <https://developer.mozilla.org/en/JavaScript>engine written in C++. It 
> currently implements Adobe ActionScript™ 3 (a
> superset of ECMAScript Edition 3) and is embedded within the Adobe® Flash®
> Player versions 9 and later.  Tamarin's jit-compiler,  NanoJIT, is also used
> in TraceMonkey <https://wiki.mozilla.org/JavaScript:TraceMonkey> ergo
> SpiderMonkey, which is Mozilla’s JavaScript engine in Firefox.”
>
>
>
> https://developer.mozilla.org/en/Tamarin#Get_Involved!
>
>
>
> Is anyone interested in having a mod_tracemonkey for FreeSWITCH – or is
> someone already working on this?
>
>
>
> Jan
>
>
>
>
> ___
> FreeSWITCH-dev mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:[email protected] 
> GTALK/JABBER/PAYPAL:[email protected]
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:[email protected] 
> googletalk:[email protected]
> pstn:+19193869900
>
> ___
> FreeSWITCH-dev mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected] 
GTALK/JABBER/PAYPAL:[email protected]
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] 
googletalk:[email protected]
pstn:+19193869900
___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Jan Berger
Yes - I am going to give V8 a try actually - this looks very promising. Got
a bit lost in the jungle of all the monkey's :-)

 

The compiler side of Tamarin is not ready yet + it's also been complains
that it's slower than SpiderMonkey on the VM.

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Anthony
Minessale
Sent: 1. juli 2010 17:56
To: [email protected]
Subject: Re: [Freeswitch-dev] TraceMonkey

 

We've been waiting for a modern js engine to mature since shortly after we
started FS.

 

V8 has promise as well.  It's a matter of making sure there is a good choice
before doing all the work of integration.

 

 

On Thu, Jul 1, 2010 at 3:56 AM, Jan Berger  wrote:

https://wiki.mozilla.org/JaegerMonkey

 

Didn't see this - might be an easier path to just wait for this to mature.

 

Jan

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Jan Berger
Sent: 1. juli 2010 10:38


To: [email protected]

Subject: [Freeswitch-dev] TraceMonkey

 

Hi,

 

Was searching for updated JavaScript alternatives and found this
Tamarin/TraceMonkey. Do anyone have experience with this version? They claim
a 5-10 x speed increase compared to the older SpiderMonkey

 

"Tamarin is a JavaScript <https://developer.mozilla.org/en/JavaScript>
engine written in C++. It currently implements Adobe ActionScriptT 3 (a
superset of ECMAScript Edition 3) and is embedded within the AdobeR FlashR
Player versions 9 and later.  Tamarin's jit-compiler,  NanoJIT, is also used
in TraceMonkey <https://wiki.mozilla.org/JavaScript:TraceMonkey>  ergo
SpiderMonkey, which is Mozilla's JavaScript engine in Firefox."

 

https://developer.mozilla.org/en/Tamarin#Get_Involved!

 

Is anyone interested in having a mod_tracemonkey for FreeSWITCH - or is
someone already working on this?

 

Jan

 


___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected]
<mailto:msn%[email protected]> 
GTALK/JABBER/PAYPAL:[email protected]
<mailto:paypal%[email protected]> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected]
<mailto:sip%[email protected]> 
googletalk:[email protected]
<mailto:googletalk%3aconf%[email protected]> 
pstn:+19193869900

___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Anthony Minessale
We've been waiting for a modern js engine to mature since shortly after we
started FS.

V8 has promise as well.  It's a matter of making sure there is a good choice
before doing all the work of integration.



On Thu, Jul 1, 2010 at 3:56 AM, Jan Berger  wrote:

>  https://wiki.mozilla.org/JaegerMonkey
>
>
>
> Didn’t see this – might be an easier path to just wait for this to mature.
>
>
>
> Jan
>
>
>  --
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Jan Berger
> *Sent:* 1. juli 2010 10:38
>
> *To:* [email protected]
> *Subject:* [Freeswitch-dev] TraceMonkey
>
>
>
> Hi,
>
>
>
> Was searching for updated JavaScript alternatives and found this
> Tamarin/TraceMonkey. Do anyone have experience with this version? They claim
> a 5-10 x speed increase compared to the older SpiderMonkey
>
>
>
> “*Tamarin* is a JavaScript 
> engine written in C++. It 
> currently implements Adobe ActionScript™ 3 (a
> superset of ECMAScript Edition 3) and is embedded within the Adobe® Flash®
> Player versions 9 and later.  Tamarin's jit-compiler,  NanoJIT, is also used
> in TraceMonkey  ergo
> SpiderMonkey, which is Mozilla’s JavaScript engine in Firefox.”
>
>
>
> https://developer.mozilla.org/en/Tamarin#Get_Involved!
>
>
>
> Is anyone interested in having a mod_tracemonkey for FreeSWITCH – or is
> someone already working on this?
>
>
>
> Jan
>
>
>
> ___
> FreeSWITCH-dev mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected] 
GTALK/JABBER/PAYPAL:[email protected]
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] 
googletalk:[email protected]
pstn:+19193869900
___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


Re: [Freeswitch-dev] TraceMonkey

2010-07-01 Thread Jan Berger
https://wiki.mozilla.org/JaegerMonkey

 

Didn't see this - might be an easier path to just wait for this to mature.

 

Jan

 

  _  

From: [email protected]
[mailto:[email protected]] On Behalf Of Jan Berger
Sent: 1. juli 2010 10:38
To: [email protected]
Subject: [Freeswitch-dev] TraceMonkey

 

Hi,

 

Was searching for updated JavaScript alternatives and found this
Tamarin/TraceMonkey. Do anyone have experience with this version? They claim
a 5-10 x speed increase compared to the older SpiderMonkey

 

"Tamarin is a JavaScript 
engine written in C++. It currently implements Adobe ActionScriptT 3 (a
superset of ECMAScript Edition 3) and is embedded within the AdobeR FlashR
Player versions 9 and later.  Tamarin's jit-compiler,  NanoJIT, is also used
in TraceMonkey   ergo
SpiderMonkey, which is Mozilla's JavaScript engine in Firefox."

 

https://developer.mozilla.org/en/Tamarin#Get_Involved!

 

Is anyone interested in having a mod_tracemonkey for FreeSWITCH - or is
someone already working on this?

 

Jan

 

___
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org