Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Scripting language Lua vs. JavaScript (Sp


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jbr at consiglia.dk
Guest





PostPosted: Mon Sep 15, 2008 10:33 am    Post subject: [Freeswitch-users] Scripting language Lua vs. JavaScript (Sp Reply with quote

I’m looking at the two scripting languages: Lua and JavaScript, and I would like some advice about their efficiency. I’m going to translate a relative complex Asterisk code to FreeSWITCH, and most of the code consists of decisions (GotoIf), channel variable manipulation and now and then with some simple database queries. Even if Lua might be slightly more efficient than JavaScript for the mentioned type of code, the general knowledge about JavaScript is better, thus reducing the learning curve of a development team.
In the end, though, CPU-efficiency is very important, and I would like to know if any of you have comparisons when used in conjunction with FreeSWITCH?
Further, using Lua, I would like to know if there is a way (library) to measure time down to milliseconds or microseconds?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services