nanog mailing list archives
Re: Books for the NOC guys...
From: Michael Thomas <mike () mtcc com>
Date: Tue, 06 Apr 2010 11:15:48 -0700
On 04/06/2010 11:05 AM, Marty Anstey wrote:
that said, php is awesome otherwise, been using it for last 2 years strictly in 'enterprise' deployment.. id just say perl is faster and more efficient for batch scripts.I can't speak specifically to the performance differences for comparible operations in PHP and PERL as I have never done a side-by-side comparison myself. But FWIW, I have parsed multi-gigabyte files with PHP on the command line and it's never been markedly "slow". Sure, it's not pure C but it's never been so slow that i've thought - "heck, this would be a lot faster with PERL"...
One data point that I can speak to is the difference in parsing XML using the expat library between python and PHP for very large files. Python was quite a bit faster than PHP, but I can't recall the exact magnitude (2x? 10x? it's been too long but it was pretty significant). That said, performance is only one reason to use a language over others. PHP programmers are probably 10x more plentiful than python programmers, as another metric. So it very much depends on the larger picture. Mike, who hasn't found the CLI interface to PHP particularly better or worse than others
Current thread:
- Re: Books for the NOC guys..., (continued)
- Re: Books for the NOC guys... Nick Hilliard (Apr 02)
- Re: Books for the NOC guys... Michael Thomas (Apr 02)
- Re: Books for the NOC guys... Chris Adams (Apr 02)
- Re: Books for the NOC guys... Bryan Irvine (Apr 02)
- Re: Books for the NOC guys... Steven Bellovin (Apr 02)
- Re: Books for the NOC guys... Ray Sanders (Apr 02)
- Re: Books for the NOC guys... Michael Dillon (Apr 02)
- Re: Books for the NOC guys... Lamar Owen (Apr 02)
- Re: Books for the NOC guys... Marty Anstey (Apr 06)
- Message not available
- Re: Books for the NOC guys... Marty Anstey (Apr 06)
- Re: Books for the NOC guys... Michael Thomas (Apr 06)
- Re: Books for the NOC guys... Robert E. Seastrom (Apr 06)
- Re: Books for the NOC guys... Bryan Irvine (Apr 02)
- Re: Books for the NOC guys... Stefan (Apr 02)
- Re: Books for the NOC guys... Owen DeLong (Apr 02)
- Re: Books for the NOC guys... Suresh Ramasubramanian (Apr 02)