P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
You can't do anything more easily in C as opposed to Perl. That has never been a question.
One uses C when Perl's mammoth use of resources is unacceptable. For example, when dealing with direct contact with the Linux kernel or writing device drivers or writing programs to run on very small machines (like embedded stuff). And, in many cases, I would write in Perl and use Inline::C for items I wanted to speed up. It's all a matter of what your specs are. ------
The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6 ... strings and arrays will suffice. As they are easily available as native data types in any sane language, ... - blokhead, speaking on evolutionary algorithms Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified. In reply to Re: Re: C vs. Perl
by dragonchild
|
|