Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
web site making
#31
But isnt it very slow as compared to Perl/Java/C++?
Reply
#32
I think Perl's the got the slowest compiler/interpreter of the bunch. Java's used for a different purpose and C++ isnt generally used for webservers. Let me look up some speed tests for Perl/PHP/ASP/Python though.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#33
I think its the other way round:
Fastest
1. C++
2. Java
3. Perl
4. Python
Slowest
Reply
#34
hmm... it appears you're right.

But there's one more thing to consider, is that it doesn't matter what language you use. For individual run one-at-a-time programs, the point of speed is moot... most programs will execute in less than a second. And for sites like these qb ones, there won't be a huge demand for. So unless you've got 20 people executing a program at the same exact second, you don't have to worry about the speed of python vs. other languages.

Besides, python, perl and php are getting big boosts in their new compiler. The new perl engine runs 5-7 times faster than the old one. and Python is going to run on the same engine. At the same time, Zend's new PHP 5 engine is already out if you're not concerned about stable versions yet. All cgi languages are constantly being updated and improved... They'll all get faster every few years.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#35
PHP is the better version of HTMl,right? the others java Perl/CGI/Python are "internet programs" in that they do stuff. HTML is static.
Reply
#36
Quote:PHP is the better version of HTMl,right? the others java Perl/CGI/Python are "internet programs" in that they do stuff. HTML is static.

No, no, and no.
ammit potato!
Reply
#37
PHP is exactly like Perl. Exactly. It's pretty much Perl specially designed for webpage frontends. It runs entirely server-side, and the user never sees any PHP code.

What whoever said that means is, is you can integrate it with html, which is just putting code in a tag and the rest is html. But those tags are parsed and converted to html by the php program.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)