website designing language

Hack is the new programming language which was introduced on 20th March, 2014. Facebook is the behind the invention of this programming language.  It can be considered as a new version of PHP which also runs of HHVM (HipHop Virtual Machine) invented by Facebook. HHVM is an open source virtual machine which executes program codes written in Hack and PHP. Most of the PHP source files are Hack files too.

HipHop Virtual Machine

Hack has added some functionality to PHP which helps the PHP developers to build application which runs across HHVM. Facebook tested the functioning of Hack in all Facebook sites which has current viewership of about 1.2 Billion. HHVM is fully available for all of the Linux variants including Ubundu, CentOS, Debian etc and can also be run on Mac OS X in interpreted mode with no JIT(Just-In-Time). So, with HHVM, the programmer has the freedom to choose the operating system and web server. HHVM supports a wide range of database and communication protocols.

 

PHP

PHP is a widely used general purpose scripting language which is mainly used for web development and its syntax is derived from C, Java and Perl. The main convenience of PHP is that it allows web developers to write dynamically generated web pages quickly. Also PHP can be used to build complete server application which can access all system resources and also can be used to generate a simple server-side application with little risk. PHP is comparatively a safe coding language.

Hack uses a compiler called JIT (Just-in-Time) for translating the PHP-Hack code to C++ for execution. HHVM compiles Hack and PHP codes to an intermediate bytecode. This bytecode is then translated to machine code (x64) dynamically at runtime by the Just-In-Time (JIT) compiler. This type of compilation enables the higher performance and allows all sorts of optimization which is not allowed by the statically compiled binary.

 

Although HHVM is specifically intended for Hack, Facebook has announced that all PHP programs will continue to run on HHVM platforms. Facebook is now modifying the HHVM platform to support PHP5 and the priority is to run unmodified PHP-5 source code. HHVM is now a runtime environment that supports both PHP and Hack.

The most important features of Hack language are:
  1. Type Annotation
  2. Generics
  3. Nullable types
  4. Collections
  5. Lambdas
  6. Shapes
  7. Type Aliasing
  8. Async Support, etc..

 

With the introduction of Hack language it is likely that all communities developing Facebook application will now move on to Hack as it supports PHP codes also. The massive user count of Facebook over the internet world will compel the existing PHP developers to use Hack with the invention of HipHop Virtual Machine (HHVM) by Facebook. This also might lead to the acceptance of Hack as a major application development language in the coming time.

Another important aspect of Hack is that it is an open source language. The tools which programmers can use to convert the codebase automatically are also open-source.

Thus, with the introduction of Hack and HHVM, programming is going to take a different level now on wards. You may check the complete manual of Hack by clicking HHVM and Hack The web site link for Hack language is Hack Language.

0

6 comments

  • How I Make Money From Adfly All Methods Posted
    How I Make Money From Adfly All Methods Posted
    Reply

    I’ve been surfing on-line greater than three hours these days, but I
    by no means found any fascinating article like yours. It’s
    lovely price enough for me. In my opinion, if all site owners and bloggers made just right content material as
    you probably did, the internet shall be a lot more helpful
    than ever before.

  • DallasGCoupe
    DallasGCoupe
    Reply

    I enjoy your blog site.. good colors & theme. Would you make this
    website yourself or did you hire someone to do it for yourself?
    Plz reply as I’m looking to create my blog and
    wish to know where u got this from. thanks a whole
    lot

  • SigneQSvay
    SigneQSvay
    Reply

    Many thanks for the auspicious writeup. It actually was a amusement account it.
    Look advanced to more added agreeable on your part! Anyway, how could we communicate?

  • KirbyZTiry
    KirbyZTiry
    Reply

    What’s Happening i am a novice to this, I came across this I’ve found It
    absolutely helpful and features helped me out loads.
    I’m hoping to offer a contribution & help other customers like its helped me.
    Good job.

  • KiethOKochis
    KiethOKochis
    Reply

    My significant other and I stumbled over here by a different page and thought I should check things out.
    I enjoy things i see so i am just just following you. Look ahead to looking at your web page again.

  • DelbertXBesa
    DelbertXBesa
    Reply

    Asking them questions are truly fastidious thing in case you are not understanding anything
    completely, however this post offers fastidious understanding yet.

Leave a Reply

Your email address will not be published. Required fields are marked *
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>