Saturday, 22 March 2014

What is HHVM?

HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides.

HHVM runs much of the world’s existing PHP. The HHVM team, along with many wonderful community members, has made it a stated, high priority goal to run all existing PHP code existing out in the wild.

What are the HHVM Features ...
  • The Hack Language
  • JIT Compilation
  • HNI
  • FastCGI support
  • Increasing PHP5 Parity
  • hphpd debugger
  • and much more
One of the strongest and most significant features in HHVM is its support for a wide range of databases. Writing a database-enabled web page is incredibly simple using one of the database specific extensions (e.g., for mysql), or using an abstraction layer like PDO, or connect to any database supporting the Open Database Connection standard via the ODBC extension. Other databases may utilize cURL or sockets.

Rather than directly interpret or compile PHP code directly to C++, HHVM compiles Hack and PHP into an intermediate bytecode. This bytecode is then translated into x64 machine code dynamically at runtime by a just-in-time (JIT) compiler. This compilation process allows for all sorts of optimizations that cannot be made in a statically compiled binary, thus enabling higher performance of your Hack and PHP programs.

To date, HHVM (and its predecessor HPHPc before it) has realized over a 9x increase in web request throughput and over a 5x reduction in memory consumption for Facebook compared with the PHP 5.2 engine + APC.

There are two main areas where HHVM scripts are used.
  • Server-side scripting : This is the most traditional and main target field for HHVM. You need three things to make this work. The HHVM parser, a web server and a web browser. You need to run the web server, with a connected HHVM installation. You can access the Hack program output with a web browser, viewing the Hack page through the server. All these can run on your home machine if you are just experimenting with Hack programming. See the installation instructions section for more information on how to install HHVM.
  • Command line scripting : You can make an HHVM script to run it without any server or browser. You only need the HHVM parser to use it this way. This type of usage is ideal for regularly executed scripts or testing new libraries and functionality. These scripts can also be used for simple text processing tasks. See the section about Command line usage of HHVM for more information.
Official Site:
OpenSource :
Read More

Sunday, 9 March 2014

Admit it, you played Flappy Bird. And for a brief period of time, you may have even liked the incredibly addictive game.
After millions of people downloaded the viral hit, however, creator Dong Nguyen decided enough was enough was time to pull the plug, making it unavailable in the iOS and Android app markets.
But never say never again: Nguyen revealed in an interview with Rolling Stone that there is still at least a sliver of a chance that the extremely simple game will return in a blaze of avian glory.
"I'm considering it," said Nguyen when asked if it would ever be offered again, so take that with a grain of salt; we'll believe it when we see it.
In the meantime, we bet Android users can still download an APK somewhere, and iPhone fans can always check eBay to see if somebody's selling their phone with the game on it.
As for why Nguyen pulled the app, he mentioned that the game's massive success was crushing and weighing him down, and it threatened his simple life: "I'm a master of my own fate," he said, "[an] independent thinker."
Read More

Wednesday, 5 March 2014

CyanogenMod to everyone

Every one owns an android device these days and some who are a bit further in that root their devices and istall custom roms and what not. In the fact of installing custom roms AOSP and CyanogenMod are the best the customisations that CyanogenMod provides are much when compared to the stock android. So lot of developers use CyanogenMod but as far as the new users who have a little knowledge on all the steps that are included in the process of getting to that its a bit tricky so in order to avaoid that there has been a money raising campaingn to make CyanogenMod available to aevery device and to intall it in a easy manner.


Read More