Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl Module written in C/asm

by ctilmes (Vicar)
on Nov 19, 2015 at 18:17 UTC ( #1148139=note: print w/replies, xml ) Need Help??


in reply to Perl Module written in C/asm

Be cognizant of "premature optimization" -- Don't drop to C just because you think you ought to, do it when you have to...

Also check out FFI::Platypus. Graham Ollis has a couple of youtube talks about it online: Foreign Function Interface (FFI): Never Need to Write XS Again and FFI Performance

Replies are listed 'Best First'.
Re^2: Perl Module written in C/asm
by BillKSmith (Monsignor) on Nov 19, 2015 at 21:16 UTC
    ctilmes has given you excellent advice. I would add that "when you have to" is usually much more of an economic issue than a technical one. (e.g. Will the improved performance, over the expected life of the program, pay for the added development cost?)
    Bill
Re^2: Perl Module written in C/asm
by QuillMeantTen (Friar) on Nov 20, 2015 at 12:45 UTC

    Thank you very much for that advice, this module is extremely interesting, I will use it henceforth!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-08-14 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?