Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 02-03-2010, 12:33 PM HipHop - PhP
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,615
Location: UK
Trades: 1
Hi Guys,

Thought id share with those that may not of seen this by now.

I personally will be moving some of my core systems to this for the 50% or so increase in performance.

http://developers.facebook.com/news....og=1&story=358

Basically ( from by understanding ) it does this:

Takes your PhP , Changes to C++ and compiles the script ( meaning it runs faster as its not interpreted )

Also, HipHop comes with a new Webserver , So not only have Facebook rewritten the PHP runtime, They have written a webserver that can serve faster.

Apparently 90% of their servers use it now and have decreased load by around 50%

So this may be a VERY good option to others out there who have clusters of servers that run hot because of PHP use.

You may be able to even take the load down enough to remove one or 2 servers

I also like this IDEA of compiled PhP so theres no need to try and obfuscate code when selling scripts. You can have compiled core components that cant be reverse engineered easily .




Note to admins , Maybe at some point could we have a HipHop PhP section inside the PHP programming section?


Hopefully we can build a nice sized hiphop community here

Thanks
G
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE



Last edited by lynxus; 02-03-2010 at 12:35 PM..
lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
 
Register now for full access!
Old 02-03-2010, 03:59 PM Re: HipHop - PhP
Knight13's Avatar
Defies a Status

Posts: 10,285
Name: Knight13
Location: Cleveland, Ohio
Trades: 0
Their are enough hip hop communities already.
Knight13 is offline
Reply With Quote
View Public Profile
 
Old 02-06-2010, 02:41 AM Re: HipHop - PhP
Junior Talker

Posts: 1
Name: robert langdon
Trades: 0
Hey



I think you’re absolutely right about the virtues of a quick and agile prototype. And for any startup, even on as successful as Facebook, the pressures to get to the very next stage are so substantial, that long term planning really never happens. And it shouldn’t either – my guess is Facebook would have never been successful if it were developed in Java, as Hans suggests, because it would have taken several times as much money and time.
I know you’re a PHP guy, but I want to point out that Rails really does offer a tremendous advantage here. While it is much more resource intensive than PHP, it can be compiled into Java relatively easily for instant, long term scalability.
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
langdon4487 is offline
Reply With Quote
View Public Profile
 
Old 02-09-2010, 12:07 PM Re: HipHop - PhP
Experienced Talker

Posts: 41
Name: Adam B
Trades: 0
@lynxus

Personally I'd listen to Rasmus Lerdorf's opinion before you go implementing hip hop expecting such improvements to server performance:

http://www.readwriteweb.com/archives...p-facebook.php

Last edited by adam89; 02-09-2010 at 12:08 PM..
adam89 is offline
Reply With Quote
View Public Profile
 
Old 02-11-2010, 06:50 AM Re: HipHop - PhP
Banned

Posts: 1
Name: stuart johnson
Trades: 0
HipHop transforms your PHP source code into highly optimized C++ and
then compiles it with g++ to build binary files. You keep coding in
simpler PHP, then HipHop executes your source code in a semantically
equivalent manner and sacrifices some rarely used features – such as
eval() – in exchange for improved performance.
stuart4487 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to HipHop - PhP
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40790 seconds with 12 queries