in reply to Perl vs C
If you want to utilize pure speed of the processor, If you have enough time and knowledge on C you can very well code/achieve everything using C. In C you have to manage the memory(allocation/deallocation) mistakes there will often lead to SEGMENTATION FAULT.
If you want the speed of C, with lots of flexibility in using/manipulation of data structures, if you want pick-up and use third party modules, with lots and lots of support & help from community(perlmonks) then perl is best. Whatever is possible to be achieved using C is achieved using perl also. Perl manages memory for you, but still you got to be careful on using the created data structures/variables otherwise you will end up in using all the available memory, I have been using perl for 4 years now and I have never got a SEGFAULT :) .
I compared only the points that suddenly struck my mind, I think there are so many of them like this.
Good question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl vs C
by halfcountplus (Hermit) on Mar 15, 2009 at 04:56 UTC | |
by chromatic (Archbishop) on Mar 15, 2009 at 08:36 UTC | |
by assemble (Friar) on Mar 16, 2009 at 13:03 UTC | |
by chromatic (Archbishop) on Mar 16, 2009 at 18:08 UTC | |
by assemble (Friar) on Mar 17, 2009 at 13:21 UTC | |
by plobsing (Friar) on Mar 15, 2009 at 16:26 UTC | |
by ForgotPasswordAgain (Vicar) on Mar 15, 2009 at 17:53 UTC |