PHP vs VB
Posted: Sat Nov 16, 2002 9:08 am
Hey,
This isn't really a "What's better?" thing. Just some commentary. With the thankfully very very small company I work for, most of what we are based on was originally written in VB. Our transaction processing is a VB app that's doing a great Job AFAIK. However, the developer also wrote all the web based administration in VB.
Now all the backend stuff is mine, from the routers down to every cable in the cluster. I've also written some code to automate certain housekeeping and financial chores, using PHP (of course) and our friend CRON.
Anyways, as of late, there has been a need for a more fine grained type of real time report than we have had available. Now the main developer had too much going on with the transaction server to write a new web based report, so I stepped up and brought php along with me.
Anyways, after the code was written adn the report started being used, the main developer came back to me and said in effect that he was stunned by the performance of PHP and is interested in me rewriting another of the reports in PHP to act as a comparison against his VB based stuff. He was trying his best to figure out what differences there are in PHP and VB that could account for the performance difference.
To be honest, I figured that VB, being compiled, would be faster.
Anyways, I've got some ideas, but I don't normally code for a Windows platform (our web servers are W2K based running Xitami).
So, if any of you have any ideas or comments, I'd like to hear them.
Cheers,
BDKR
This isn't really a "What's better?" thing. Just some commentary. With the thankfully very very small company I work for, most of what we are based on was originally written in VB. Our transaction processing is a VB app that's doing a great Job AFAIK. However, the developer also wrote all the web based administration in VB.
Now all the backend stuff is mine, from the routers down to every cable in the cluster. I've also written some code to automate certain housekeeping and financial chores, using PHP (of course) and our friend CRON.
Anyways, as of late, there has been a need for a more fine grained type of real time report than we have had available. Now the main developer had too much going on with the transaction server to write a new web based report, so I stepped up and brought php along with me.
Anyways, after the code was written adn the report started being used, the main developer came back to me and said in effect that he was stunned by the performance of PHP and is interested in me rewriting another of the reports in PHP to act as a comparison against his VB based stuff. He was trying his best to figure out what differences there are in PHP and VB that could account for the performance difference.
To be honest, I figured that VB, being compiled, would be faster.
Anyways, I've got some ideas, but I don't normally code for a Windows platform (our web servers are W2K based running Xitami).
So, if any of you have any ideas or comments, I'd like to hear them.
Cheers,
BDKR