monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Dear Most Wises,
Let's suppose I have two codes, each does exactly the same thing. Except:
Code 1: Is written in pure C, both its *main* and subroutines.
Code 2: Is written in Perl for its *main* and with subroutines written in C, via Inline::C
My question is: will the performance/speed of Code 2 be (close) equal to Code 1?
Let's suppose I have two codes, each does exactly the same thing. Except:
Code 1: Is written in pure C, both its *main* and subroutines.
Code 2: Is written in Perl for its *main* and with subroutines written in C, via Inline::C
My question is: will the performance/speed of Code 2 be (close) equal to Code 1?
Regards,
Edward
Edward
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Thought Experiment on Inline::C
by beauregard (Monk) on Mar 19, 2005 at 14:12 UTC | |
Re: Thought Experiment on Inline::C
by brian_d_foy (Abbot) on Mar 19, 2005 at 18:58 UTC | |
Re: Thought Experiment on Inline::C
by MrStretch (Sexton) on Mar 20, 2005 at 00:08 UTC | |
Re: Thought Experiment on Inline::C
by blueberryCoffee (Scribe) on Mar 20, 2005 at 02:08 UTC |
Back to
Seekers of Perl Wisdom