[Buffalo-pm] Update Perl embedded in C

Kevin Eye eye at buffalo.edu
Fri Nov 21 12:54:46 CST 2003


> Kevin Eye mentioned to me a while back that he had a talk topic

I could put together something on web services, XML-RPC, SOAP, and that 
kind of stuff if there's interest in that.

  - Kevin

On Nov 21, 2003, at 11:54 AM, Kevin Christopher wrote:

> There are a couple of options I can suggest for the next meeting: Kevin
> Eye mentioned to me a while back that he had a talk topic; also, I'd be
> happy to give a talk on my semi-successful attempts at embedding a Perl
> interpreter into a Ruby C extension class and embedding a Ruby 
> interpreter
> into a Perl C extension module (assuming fellow Perl mongers haven't
> already had enough of me talking about Ruby... ;) ).
>
> Kevin C.
>
>> First of all, I'd like to apologize to anyone who may have came late 
>> to
>> the last meeting.  Although you would have had to come 20 minutes
>> late...  We had to move to Higher Grounds because apparently 
>> Alternative
>> Brews does not allow persons under the age of 21 at their 
>> establishment
>> even if they are not purchasing beer.  This is something good to
>> remember for future meetings.
>>
>> To those at the meeting last Thursday, I thought I would send a little
>> update of my status on embedding the perl interpreter, etc.
>>
>> As much fun as I have had fiddling with C and Perl, I have finally
>> managed to get my goal written in all C.  This was after much effort 
>> and
>> much debugging however.  The only reason I needed to rewrite it in C 
>> was
>> because in this case Perl just wasn't fast enough.  I needed to be 
>> able
>> to read about 100 lines and parse it into a datastructure.  This had 
>> to
>> be repeated about 20 times a second.
>>
>> To get a good laugh though, it took me about an hour to get my goal
>> working with the embedded perl interpreter in C and about 8-9 hours to
>> get the optimized C code working without the perl interpreter.
>>
>> Funny, you can really write faster code in C, but you can always write
>> code faster in Perl, even if you EMBED IT !!! I can't remember the 
>> last
>> time I managed to segfault perl, now only if I could say the same for 
>> C.
>>
>> Hope you enjoyed the long winded update.
>> --------
>>
>> I would also like to inquire about December's meeting time, location,
>> and possible presentations.
>>
>> Have a good day everyone,
>> Rob
>
>
>
> _______________________________________________
> Buffalo-pm mailing list
> Buffalo-pm at mail.pm.org
> http://mail.pm.org/mailman/listinfo/buffalo-pm
>


--
Kevin Eye
Web Applications Developer
Creative Services and Marketing
University at Buffalo
330 Crofts Hall
Buffalo, NY 14260
eye at buffalo.edu
phone (716) 645-5000 x1435
fax (716) 645-3765




More information about the Buffalo-pm mailing list