CrazyEngineers
  • Facebook Hip Hop for PHP - Transfer PHP Code Into C++ Code

    Kaustubh Katdare

    Administrator

    Updated: Oct 26, 2024
    Views: 1.1K
    Facebook operates and maintains petabytes of data on their servers and powers the website through PHP. Facebook's engineers have figured out a way to turn PHP code into highly optimized C++ code to handle the performance issues. I'm wondering whether anyone can offer more insights into why this is done and how it happens. If any of the Facebook engineers is reading this post; we'd love to hear from you 😀

    I think it'd be a great learning for all the Computer Science Engineers here.
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Anoop Kumar

    MemberJun 23, 2012

    I don't know PHP.. but I think PHP is a interpreted language. i.e. compiled at run time while C++ or java are compiled once and at run time only compiled code used.
    One more reason is C/C++ can access hardware directly, that is why these code used in simulation system.
    Are you sure? This action cannot be undone.
    Cancel
  • Manish Goyal

    MemberJun 23, 2012

    Sounds interesting , biggie can you give source
    Are you sure? This action cannot be undone.
    Cancel
  • Kaustubh Katdare

    AdministratorJun 23, 2012

    goyal420
    Sounds interesting , biggie can you give source
    I guess they've mentioned it on their engineering page. I also remember their engineers talking about it in one of their videos (don't have the link though).
    Are you sure? This action cannot be undone.
    Cancel
  • Reya

    MemberJun 23, 2012

    Just read about "HipHop for PHP" and "How it works" in their blog. Quite interesting 😀 #-Link-Snipped-#

    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
  • VickyNGL

    MemberJun 23, 2012

    feels good... if going in this way.. all the softwares cn be ttached to any pp tht will be written any of the coding languages... I think interpreter like PHP have more fetures to be added....
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register