1. shakirmoledina

    OP shakirmoledina Legend
    Member

    Joined:
    Oct 23, 2004
    Messages:
    6,613
    Country:
    Tanzania
    I'm no expert in these matters but Facebook's take on speed and their ability to adept to the growth of its network has always fascinated me.

    Among the many strategies that Facebook has 'innovated', Facebook has come up with a new virtual machine that would convert the human readable source code into machine-readable byte code when it is needed.

    That is because their current Virtual Machine iteration has a JIT (Just in Time).
    How useful is JIT? Check out the latest version of DeSmuME or nds4droid and PPSSPP on the Android and PC (latter).

    Technical Bit:
    PHP programs are slowly due to PHP being an interpreted language while compiled languages such as C or C++ are faster as they are compiled beforehand into machine language byte code.

    The previous iteration (HipHop) used to translate PHP into C++ and produced a considerable speed gain. However with Facebook's ever growing nature, HHVM has been developed that works similar to the Java Virtual Machine (JVM). Java has been considered to be a Hybrid language that converts the human readable source code into machine-readable byte code when it is needed.

    PHP driven websites such as Twitter, Wikipedia and Wordpress may potentially benefit from this technology to around 5x its current performance.

    SOURCE
    GitHub
     
    Coto likes this.
  2. Gahars

    Gahars Bakayaro Banzai
    Member

    Joined:
    Aug 5, 2011
    Messages:
    10,254
    Country:
    United States
    I misread that as "PCP" in the title.

    Super underwhelming.
     
    luigiman1928, Satangel and TehSkull like this.
  3. Flame

    Flame Me > You
    Moderator

    Joined:
    Jul 15, 2008
    Messages:
    5,265
    facebook ... wat r u doing, you just being dumbing down the Internet... not making it a better place for people and devs.. facebook stahp
     
    DinohScene likes this.
  4. Coto

    Coto -
    Member

    Joined:
    Jun 4, 2010
    Messages:
    2,700
    Country:
    Chile
    cool. JIT's really useful..
     
  5. FAST6191

    FAST6191 Techromancer
    Reporter

    Joined:
    Nov 21, 2005
    Messages:
    31,172
    Country:
    United Kingdom
  6. Rydian

    Rydian Resident Furvert™
    Member

    Joined:
    Feb 4, 2010
    Messages:
    27,880
    Country:
    United States
    Java uses JIT: "JAVA SUCKS BECAUSE IT'S NOT COMPILED IT'S NOT A REAL PROGRAMMING LANGUAGE"
    7 years later, everybody else uses JIT: "HOLY SHIT THIS IS THE BEST TECHNOLOGY EVERRRRRR!!!"

    Also I find it ironic that PHP/Perl/Python (and other interpreted languages) are compiled to binaries and run on the fly, but the phrase "JIT" (Just In Time (Compilation)) doesn't apply to that idea. :P
     
    EZ-Megaman and Slamicite like this.
  7. DinohScene

    DinohScene Feed Dino to the Sharks
    Moderator

    Joined:
    Oct 11, 2011
    Messages:
    20,475
    Country:
    Antarctica
    Facebook becomes the next google.

    Poor google :c
     
  8. FAST6191

    FAST6191 Techromancer
    Reporter

    Joined:
    Nov 21, 2005
    Messages:
    31,172
    Country:
    United Kingdom
    Wouldn't that y'know require facebook to offer a useful service that is not locked down?
     
  9. shakirmoledina

    OP shakirmoledina Legend
    Member

    Joined:
    Oct 23, 2004
    Messages:
    6,613
    Country:
    Tanzania
    I never see JIT as 'just in time'. Eh, just a way of making it seem a little fancy i guess.

     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - interprete, Facebook, invents