On Jan 27, 2008 11:44 PM, Aloysius Thevarajah Lloyd <[EMAIL PROTECTED]> wrote: > Currently I am using PHP for all my Custom AGI development. But Can u share > with the experience *[ Performance]* with the other development > environments. Such as > * > 1. Perl > > 2. Free Pascal > > 3. Python > > 4. C > > 5. Java > > 6. RAGI ( Ruby on Rails)* > > > Which development environment give more performance? Thank you in advance.
Programming C modules is always* going to be faster than any of the other languages listed because C is compiled, and the other languages listed are interpreted -- i.e. a parser needs to be loaded for each instantiation of the script, which can be very heavy on processor and memory load. Using FastAGI() as Duane recommended will probably help a lot in this regard, but if you have C programming skills, then you might as well just write modules directly for Asterisk as that will be the least amount of overhead. * I'm sure there are some circumstances when C isn't always the fastest, but 1) I don't program in C, and 2) I can't think of any situations where that wouldn't be true :) -- Leif Madsen. http://www.leifmadsen.com http://www.oreilly.com/catalog/asterisk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
