symfony might not play HipHop ...

This is a small note about the new buzz word in the PHP world : 'HipHop'. After reading the original facebook post about 'HipHop' and the 'devil' eval() function, I start thinking about possible issues with the symfony framework.

If the eval function is not compatible with HipHop, I guess other features are not HipHop friendly

  • dynamic variable : $a = '1'; $b = 'a'; echo $$b => print 1
  • create_function : Create an anonymous (lambda-style) function

Now, these features are evil but there are used in some part of symfony's dependencies : symfony core lib, sfForm, Doctrine and Propel.

I will be please to see how symfony and co will deal with this new PHP compiler. If the performance are really good and free as a beer, HipHop can create new and interesting challenge for popular frameworks.

But for now, symfony will not play HipHop when the tool will be release :(

Comments

j0k3r
about 2 hours after
And HipHop won't be compatible with Symfony 2.0 as it use PHP 5.2, not 5.3 like Symfony 2.0.
Shawn Stratton
about 6 hours after
As I understood, magic variables do work through some miracles of Hash Tables and smart translation, however, eval does not and lambda functions may not. It will be interesting to see when more is known.
Fabian
4 days after
lambda functions should be added to hiphop. If they are not and hiphop is beneficial we will rewrite it to real functions
Rich
5 days after
hey, could you make an rss for your blog posts? i think it would be useful for many people.
thanks

Add comment











A la recherche de projets symfony ?

Tags

Last posts