![]() |
|
|||
![]()
First it looked like Facebook rewrote the PHP runtime for speed, but it looks like they wrote a PHP compiler.
See http://www.sdtimes.com/blog/post/201...P-runtime.aspx
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
![]()
More news about this Facebook PHP runtime or compiler at the theregister.co.uk
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
![]()
The announcement of "HipHop for PHP" from the Facebook website, (my first Facebook visit BTW
![]() http://developers.facebook.com/news....og=1&story=358 Quote:
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump Last edited by J65nko; 2nd February 2010 at 10:01 PM. Reason: Added quote |
|
||||
![]()
I'm not sure a PHP to C++ compiler is an improvement over just writing it in C++ to start with, but I'll take their word for it :-o
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
![]() Quote:
![]() |
|
|||
![]() Quote:
|
|
|||
![]()
They actually use PHP as a CASE and/or prototyping tool with a fast turn around.
After everything works as desired, they use the HipHop tool to crunch out C++ to satisfy their "need for speed". Makes sense and also saves electricity and carbon emissions ![]()
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
![]()
In my personal experiences PHP is faster to write but can make assembly look more fun to debug.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
![]()
PHP doesn't handle errors very gracefully, personally I prefer the way Python does things by just throwing an exception and exiting whenever something unexpected happens. Which is different from PHP which tried to fix things and run anyway unless it's a really gross error ...
Another thing I dislike about PHP is that it seems to be a rather directionless language. Features and "enhancements" are added almost at random, a prime example is the GOTO feature someone added for PHP6, and then someone else filed a bugreport titled PHP now includes GOTO ... The response by the PHP devs? Quote:
Again, Python does this much better with PEP (Python Enhancement Proposal). Not only does this force people to actually think before they add a feature or module, it also filters out many features that are not particular great ideas to start with, as well as create an atmosphere of positive criticism. In many ways PHP is like Linux, and Python is like BSD ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
![]() |
Tags |
php compiler |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
building cross compiler, having issues | moonlightcheese | FreeBSD General | 2 | 13th September 2008 02:22 PM |
java compiler | bsdnewbie999 | OpenBSD Packages and Ports | 8 | 9th August 2008 12:18 PM |
pkg_chk c++ compiler not available | fenrisW0lf | NetBSD Package System (pkgsrc) | 15 | 30th June 2008 10:48 AM |
pcc compiler question | ChineseBroccoli | FreeBSD General | 1 | 11th June 2008 11:29 PM |