Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-03 Thread Platonides
Domas Mituzas wrote:
 However, that article is just rumour. I think it's more likely they made
 some apc-like cache/optimizer than a compiler.
 
 http://www.facebook.com/note.php?note_id=280583813919id=9445547199ref=nf
 
 And the conclusion that
 it will be open source is questionable. In such case, why would they
 made them sign NDAs?
 
 It is under PHP license.

Nice... is it available somewhere?
I miss a download link.


 P.S. we have full hiphop dev support in our quest of running wikipedia on it.


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-03 Thread Chad
On Wed, Feb 3, 2010 at 11:08 AM, Platonides platoni...@gmail.com wrote:
 Domas Mituzas wrote:
 However, that article is just rumour. I think it's more likely they made
 some apc-like cache/optimizer than a compiler.

 http://www.facebook.com/note.php?note_id=280583813919id=9445547199ref=nf

 And the conclusion that
 it will be open source is questionable. In such case, why would they
 made them sign NDAs?

 It is under PHP license.

 Nice... is it available somewhere?
 I miss a download link.


 P.S. we have full hiphop dev support in our quest of running wikipedia on it.


 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l


There was a link in that post originally to
https://github.com/facebook/hiphop-php/,
but it seems to have been removed and the repo's not public on GitHub yet. Soon,
I hope :)

-Chad

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-03 Thread Domas Mituzas
 https://github.com/facebook/hiphop-php/
 but it seems to have been removed and the repo's not public on GitHub yet. 
 Soon,
 I hope :)

source release had to be yesterday, I don't know the details what
happened, but I heard people telling 'soon = this week'.

Domas

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-02 Thread Domas Mituzas
 However, that article is just rumour. I think it's more likely they made
 some apc-like cache/optimizer than a compiler.

http://www.facebook.com/note.php?note_id=280583813919id=9445547199ref=nf

 And the conclusion that
 it will be open source is questionable. In such case, why would they
 made them sign NDAs?

It is under PHP license.

 Domas intervention is also noticeable, since he probably knows what's
 going on.

Hehehe.

Domas

P.S. we have full hiphop dev support in our quest of running wikipedia on it.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-02 Thread Tei
On 2 February 2010 18:53, Domas Mituzas midom.li...@gmail.com wrote:
 However, that article is just rumour. I think it's more likely they made
 some apc-like cache/optimizer than a compiler.

 http://www.facebook.com/note.php?note_id=280583813919id=9445547199ref=nf


He say is a rewriter,read  PHP, outputs C++  (probably he have
some custom classes like 'PHPString' to act like the PHP counterpart )

 Facebook 
One common way to address these inefficiencies is to rewrite the more
complex parts of your PHP application directly in C++ as PHP
Extensions. This largely transforms PHP into a glue language between
your front end HTML and application logic in C++. From a technical
perspective this works well, but drastically reduces the number of
engineers who are able to work on your entire application.


I was thinking about that the other day, I understand why MediaWiki
don't follow that route.
There are any profile of  MediaWiki somewhere to see what parts of
MediaWiki consume most CPU cycles?  I bet is some regex.




-- 
--
ℱin del ℳensaje.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-02 Thread Chad
On Tue, Feb 2, 2010 at 12:53 PM, Domas Mituzas midom.li...@gmail.com wrote:
 However, that article is just rumour. I think it's more likely they made
 some apc-like cache/optimizer than a compiler.

 http://www.facebook.com/note.php?note_id=280583813919id=9445547199ref=nf

 And the conclusion that
 it will be open source is questionable. In such case, why would they
 made them sign NDAs?

 It is under PHP license.

 Domas intervention is also noticeable, since he probably knows what's
 going on.

 Hehehe.

 Domas

 P.S. we have full hiphop dev support in our quest of running wikipedia on it.

 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l


I find the comments to be the best part of that page.

-Chad

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-02-02 Thread Gregory Maxwell
On Tue, Feb 2, 2010 at 1:22 PM, Tei oscar.vi...@gmail.com wrote:
 I was thinking about that the other day, I understand why MediaWiki
 don't follow that route.


Mediawiki often runs in enviroments where users have no shell access,
no ability to install extensions, etc.

There is some C++ stuff for mediawiki, such as wikidiff3 but its optional.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Facebook introducing PHP compiler?

2010-01-31 Thread David Gerard
http://www.sdtimes.com/blog/post/2010/01/30/Facebook-rewrites-PHP-runtime.aspx

Facebook is written in PHP. Unlike Wikimedia, they have money to pay
people to speed it up. Looks like they're introducing a PHP compiler.
Open source. Might be of interest to WMF and third-party MediaWiki
users ...


- d.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-01-31 Thread Domas Mituzas
Hi David,

We don't run on rumors!

Domas

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Facebook introducing PHP compiler?

2010-01-31 Thread Platonides
David Gerard wrote:
 http://www.sdtimes.com/blog/post/2010/01/30/Facebook-rewrites-PHP-runtime.aspx
 
 Facebook is written in PHP. Unlike Wikimedia, they have money to pay
 people to speed it up. Looks like they're introducing a PHP compiler.
 Open source. Might be of interest to WMF and third-party MediaWiki
 users ...
 
 - d.

There are some php compiler projects out there, like
http://phpcompiler.org/ or
http://www.roadsend.com/home/index.php?pageID=compiler

However, that article is just rumour. I think it's more likely they made
some apc-like cache/optimizer than a compiler. And the conclusion that
it will be open source is questionable. In such case, why would they
made them sign NDAs?


Domas intervention is also noticeable, since he probably knows what's
going on.


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l