in reply to Preferred language for scheduler assignment?
If the code just needs to be efficient (as in not wasteful), then Perl is probably better than C, etc. If it needs to run as fast as possible, then C might be your best bet. Considering that most of the time is spent executing other programs, I think it would be hard to tell the difference between comparable C and Perl implementations.
I would suggest looking at Time::HiRes (or Time::AutoRes); system or `` (backquotes) or qx//; reading and writing files (the <> operator, and print/printf); split and/or regular expressions (match operator m// or just //).
But if you're more comfortable in C than in Perl, C will be less hassle for you in the short term. If you have some time to learn, Use Perl!.
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Preferred language for scheduler assignment?
by superfrink (Curate) on Nov 20, 2004 at 08:33 UTC | |
by QM (Parson) on Nov 20, 2004 at 15:08 UTC |