Re:Facebook Moving To The JVM
by code-dog on Tuesday August 14, 2012 @04:07AM
(#4379891)
Makes sense - the JVM is fast and stable. It comes with a huge array of tooling and its own built in debugging system. It is well supported and cross platform. Why would you not want to take advantage of all that good stuff?
Re:Facebook Moving To The JVM
by lazyjones on Tuesday August 14, 2012 @05:52AM
(#4380109)
Doesn't make that much sense to me - the JVM is complex and has disadvantages (slow startup times etc.), so if you can compile PHP to native code, why compile to interpreted/JIT-compiled code instead? You're just wasting cycles again.
The advantages of the Java ecosystem can be accessed through Thrift if necessary, but the C/C++ world is far from being dead.
It might be interesting for the security and debugging aspects of the JVM, but that's a bit meagre for such an effort.
Re:Facebook Moving To The JVM
by taligent on Tuesday August 14, 2012 @04:39AM
(#4379972)
And some people might not like to hear it but Oracle has really provided a new injection of excitement in the JVM with their G1 GC and JRockit additions.
And with clarity around the future roadmap and the ever growing list of non-Java languages the platform has never looked better IMHO.
Re:Facebook Moving To The JVM
by code-dog on Tuesday August 14, 2012 @04:55AM
(#4380013)
Oracle moving on from the 1.6 doldrums was a huge plus for Java and the JVM. Now the buzz is around 1.8 with lambdas and enhancements to performance of invoke dynamic.
Re:Facebook Moving To The JVM
by jurre on Tuesday August 14, 2012 @04:42AM
(#4379978)
Wouldn't facebook benefit from just starting to rewrite parts of their infrastructure in a language more suited to their scale, like twitter did with scala? I can't help but feel all this effort into bending php into corners it was never meant for is not helping them in the long run.
Re:Facebook Moving To The JVM
by oliwarner on Tuesday August 14, 2012 @04:49AM
(#4380000)
Sure they could but where's the geeky fun in that?
As a developer, I'm just happy that the Facebook devs can do projects like this. They have a real shot at making life better for the rest of the devs on the planet.
Re:Facebook Moving To The JVM
by jamescun on Tuesday August 14, 2012 @04:49AM
(#4379996)
When you are facebook's scale, there is no off-the-shelf solution. Whatever they choose to do, it's most likely going to be their own effort. There is nothing that bad about the PHP language and the fact that all their developers know it, it makes sense that they keep the language, just change what runs it.
This is very interesting.
> The main seismic event will be nothing less than the complete removal of interpretors from main stream general purpose programming.
This is hyperbolic drivel.
The advantages of the Java ecosystem can be accessed through Thrift if necessary, but the C/C++ world is far from being dead.
It might be interesting for the security and debugging aspects of the JVM, but that's a bit meagre for such an effort.
And with clarity around the future roadmap and the ever growing list of non-Java languages the platform has never looked better IMHO.
Feels like everyone has been stuck on 1.5/1.6 for too long.
And even if the post is correct and they actually are testing out an run-php-on-the-jvm solution, it's not the same as moving all their stuff onto it.
http://www.caucho.com/resin-3.1/doc/quercus.xtp
As a developer, I'm just happy that the Facebook devs can do projects like this. They have a real shot at making life better for the rest of the devs on the planet.
If this article proves true it'll be a good move for them.
As we've seen with the various Memcache and MySQL implementations often tradeoffs are made in favour of performance and scalability.
None.
This is, at best, a tertiary source.
[1]: http://news.ycombinator.com/item?id=4374216