Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^3: Extending perl with C dynamic library.

by Monk::Thomas (Pilgrim)
on Aug 19, 2013 at 10:16 UTC ( #1050007=note: print w/replies, xml ) Need Help??

in reply to Re^2: Extending perl with C dynamic library.
in thread Extending perl with C dynamic library.

Counter-Question: WHY do you want to use C?

Or put differently: What is your real goal?

Do you just want to see it work? Do you want to make something more performant? Is there something that's not implementable in perl?

I'm asking this because shortly after trying to implement inline C you're worried about size of the resulting library. To me the first priority would be: Is it worth it? And that means some kind of performance/functionality test. Stripping down the C-beast afterwards is only necessary if there is an actual gain - otherwise stay with pure perl for easier portability, maintainability, conciseness...

  • Comment on Re^3: Extending perl with C dynamic library.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050007]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2016-10-24 11:26 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (305 votes). Check out past polls.