Will PHP ever become a compiled language?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
luke101
Forum Newbie
Posts: 1
Joined: Fri Dec 22, 2006 10:34 am

Will PHP ever become a compiled language?

Post by luke101 »

While surfing the internet I came across this article. It made me doubt the future of PHP comapred to other programming languages. Can you guys read this article and tell me what you think. I am also a novice programmer and currently looking for a language to program my next project and I am stuck between PHP, .NET and JSP.

http://petesbloggerama.blogspot.com/200 ... p-etc.html

this is the article. I have also read in some books that 67% of the internet is programmed in PHP. But is this due to the fact that it is free?
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

It's not just about scripting: it's about performance too.
1. There are many PHP 'compilers' available. They precompile a script that then runs as bytecode on the server.
2. If you script properly performance shouldn't be an issue.

The article falls somewhere between a troll and an advert for Phalanger.

The worst bit is "they're running managed which protects you from a great deal of security issues". He's actually advocating handing over security concerns to the server running the software. That's fine so long as the server knows about all of them, which, as it's Microsoft, is unlikely. It'll catch the obvious ones ... but then again, so will a decent coder.
Post Reply