Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Nerds Central:
Facebook Moving To The JVM
Aug 13, 2012 @ 13:04:26

According to this new post on Nerds Central, there's been speculation that Facebook, needing even more of a performance boost than hiphop gave them, is moving into using PHP in a JVM.

The presence of Facebook engineers at the JVM Language Summit in San-Francisco along with their interest in implementing PHP using invoke-dynamic on the JVM is a the shock. The main seismic event will be nothing less than the complete removal of interpretors from main stream general purpose programming.

He talks some about the JVM environment (and the Magik project) as well as wondering about what sort of performance boost it might actually give.

So Are Facebook Doing The Right Thing? Yes! The rise and rise of Javascript over the last 4 years as shown us just how powerful JIT compilation of once interpreted languages can be. The fall and fail of complete re-writes has shown us just how unrealistic it is to completely move a working system from one language to another. Facebook has a stupid amount of PHP and so it is by far the most sensible thing to port that to mlvm. Actually it should be pretty easy.
tagged: facebook jvm java virtualmachine

Link:

Ibuildings Blog:
Integrating PHP And Java
Jun 02, 2010 @ 14:14:25

New on the Ibuildings blog there's a post from Ian Barber looking at the powerful combination of PHP and Java to make your applications even more robust.

There are many reasons to want to integrate these new developments with Java rather than just creating a separate silo - existing libraries or systems that would be difficult or expensive to replicate, well-tested systems providing key functionality, and an existing team of developers are just a few. So, the best way is often to mix and match the two - which is easier than it might first appear.

He looks at the four main ways to integrate the two technologies, some being a bit easier to implement than others:

  • Indirect integration (shared data source)
  • PHP on the JVM
  • PHP to Java (bridge)
  • PHP consuming Java services
tagged: integration javasc bridge jvm webservice

Link:


Trending Topics: