Facebook Writes PHP Compiler

nav_first.pngFirst: blog:more-than-just-a-wiki
More than just a Wiki
Edited: 07 Jul 2009 07:57 by: pieterh
Comments: 2
Tags: who-watches-the-watchers

nav_prev.pngPrevious: blog:searching-broken-fixed
Searching Broken, Fixed
Edited: 29 Jan 2010 09:48 by: pieterh
Comments: 10
Tags: where-did-i-put-that-index-queue

Last: blog:new-wikidot-office
Wikidot moves its office to Business Link Toruń
Edited: 24 Mar 2014 15:37 by: michal frackowiak
Comments: 3
Tags:
nav_last.png

Next: blog:tuesday-rant-25
Tuesday Rant XXV
Edited: 02 Feb 2010 09:07 by: pieterh
Comments: 19
Tags: good-newsday
nav_next.png

by pieterh
on 31 Jan 2010 16:20

Seems some guy at Facebook has spent two years writing a PHP compiler. Wikidot.com runs on PHP, as you may or may not know. So we'll be looking at this new tool when Facebook releases it, to see whether it does in fact offer us a useful speed-up.

PHP is an interpreted language and this makes it slower than pseudo-compiled languages like Java and .Net. (Which generate a pseudo-code that is still slower than the native code produced by true compiler like like C++.)

We're talking orders of magnitude here (10x or more) but in reality most of the work Wikidot does is cached, or database related, so real improvements would be less than that. In any case, something to look into…

Comments: 3

Add a New Comment

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License