Does anyone know how mod_v8 works? I used to do a lot of things with Lua. It is fast and good. No comments. But as I understand, using nodeJS, V8 is compiling JS into binary code. What I wanted to know, if FS somehow compile JS script before start and keeps this code in memory or it does it each time when the dialplan it is called like with LUA? Thanks -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin
The js code is compiled every time. /Peter 2015-06-15 8:25 GMT+02:00 Kamil Nigmatullin <kamil.nigmatullin@gmail.com>:
Does anyone know how mod_v8 works? I used to do a lot of things with Lua. It is fast and good. No comments. But as I understand, using nodeJS, V8 is compiling JS into binary code. What I wanted to know, if FS somehow compile JS script before start and keeps this code in memory or it does it each time when the dialplan it is called like with LUA?
Thanks
-- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
same as with mod_perl and mod_python: the script is interpreted each time before execution. On Mon, Jun 15, 2015 at 9:56 AM, Peter Olsson <peter@olssononline.se> wrote:
The js code is compiled every time.
/Peter
2015-06-15 8:25 GMT+02:00 Kamil Nigmatullin <kamil.nigmatullin@gmail.com>:
Does anyone know how mod_v8 works? I used to do a lot of things with Lua. It is fast and good. No comments. But as I understand, using nodeJS, V8 is compiling JS into binary code. What I wanted to know, if FS somehow compile JS script before start and keeps this code in memory or it does it each time when the dialplan it is called like with LUA?
Thanks
-- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thank you! 2015-06-15 14:32 GMT+06:00 Stanislav Sinyagin <ssinyagin@gmail.com>:
same as with mod_perl and mod_python: the script is interpreted each time before execution.
On Mon, Jun 15, 2015 at 9:56 AM, Peter Olsson <peter@olssononline.se> wrote:
The js code is compiled every time.
/Peter
2015-06-15 8:25 GMT+02:00 Kamil Nigmatullin <kamil.nigmatullin@gmail.com :
Does anyone know how mod_v8 works? I used to do a lot of things with
Lua.
It is fast and good. No comments. But as I understand, using nodeJS, V8 is compiling JS into binary code. What I wanted to know, if FS somehow compile JS script before start and keeps this code in memory or it does it each time when the dialplan it is called like with LUA?
Thanks
-- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin
participants (3)
-
Kamil Nigmatullin
-
Peter Olsson
-
Stanislav Sinyagin