As is almost always the case with such questions, the answer depends on your problem set and the tools you have available.
It also depends heavily on your definition of "useful." Sometimes the Q&D script (emphasis on the "Quick" part of that phrase) that solves a problem is more "useful" and even more elegant than the C (in all references, consider this inclusive: C and C++) code which required so many more programmer hours to develop that the deadline passed.
Nonetheless, applications that require heavy computation are likely to benefit from use of C (if they're not one-offs; IOW, if one expects them to be used repeatedly and often).
But given the wealth of Perl's underpinnings and the multitude of proven modules, one should not leap to utilize C. Like the hammer or screwdriver, a programming language has limits on its applicability: using a screwdriver to pound in a nail is sometimes possible, but unwise. So too is using a (claw-) hammer to remove a screw.
In reply to Re: Combine Perl with C++ or C
by ww
in thread Combine Perl with C++ or C
by maverick_anew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |