[asterisk-users] Best Scripting Language

Danny Nicholas danny at debsinc.com
Fri Apr 1 14:10:00 CDT 2011


http://www.xav.com/perl/lib/B/C.html

step 1
perl -MO=C perlprog.pl > perlproc.c
step 2
gcc perlprog.c -o cprogfromperl

is one way, although I didn't have good results.  The way I have had success
with is perlcc -o cprogfromperl perlprog.pl


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Goke M Aruna
Sent: Friday, April 01, 2011 1:38 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Best Scripting Language

Can you give me a reference on how to compile perl?

Thanks

On 4/1/11, Danny Nicholas <danny at debsinc.com> wrote:
> I'm going to vote for PERL as well.  C is not a scripting language.  Also
> keep in mind that you can "compile" PERL into C for your "hundreds of
calls
> per second" box.
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Satish Patel
> Sent: Friday, April 01, 2011 8:08 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Cc: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] Best Scripting Language
>
> Do you think C is a scripting language?
>
> --
> Sent from my iPhone
>
> On Apr 1, 2011, at 8:27 AM, Roger Burton West <roger at firedrake.org>
> wrote:
>
>> On Fri, Apr 01, 2011 at 05:27:20PM +0530, Gopalakrishnan A.N wrote:
>>> Can anyone suggest which is the best scripting language for
>>> Asterisk or any
>>> telecom device?
>>
>> Depends on the other parameters. Perl is great for rapid development,
>> but I wouldn't run it per-call on a box taking hundreds of calls per
>> second. (Ditto Ruby and Python.) C will be much faster, but it's more
>> effort to write and debug.
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>

-- 
Sent from my mobile device

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list