Analysis Of Hack Programming Language Developed By Facebook

Analysis Of Hack Programming Language Developed By Facebook

In recent times new programming languages have been developed by companies such as Facebook and Google. While Facebook developed and champions the "Hack" programming language. Google develops and champoins the "Go" programming language. These are languages are said to come with new dimension of problem solving techniques.

For example the "Go" programming language developed by Google, is fronting a fiarly new concept of program execution called "Concurrent Computing". It is a form of computing in which several computations are executing during overlapping time periods. This hopefully will bring a whole new experience to the world of programming, and the way processors compute data. It is quite different from parallel programming which usually needs you having a dual processor that is aware to perform the parallel execution. But Go does it in a single processor allocating resources appropriately and running processes concurrently.

Hack on the other hand, is an off-shoot of the popular PHP programming language. Facebook is taking PHP and making it more strictly typed for variabes and parameters in functions too. Facebook is currently running Hack on its Facebook.com social networking service. But Hack does not run on common Apache or Zend server which we are accustomed to. A whole new processing technology and server; HHVM (HipHop Virtual Machine). Prior to this moment, PHP was interpreted (while mean the server runs every line of code and delivers it raw and processes request from the PHP code). But Hack is moving more to be of a compilation paradigm than the interpretation form which PHP works with. 

Hack code is acutally compiled to an intermediary language which is what is even processed by the server. This in its sense makes Hack faster than PHP is execution. Though PHP codes can also be written in Hack which makes them interoperation, Hack comes with a difference in its own syntax.

<?hh

echo "Hello World";

Also unlike PHP, Hack does not mix with the client sides (HTML, CSS, Javascript). A special template engine will be needed to do that. An engine like XHP

Think PHP programmers should start looking into Hack, it looks very promissing with the new features embedded into it. Even PHP was an off-shoot of Perl, by Rasmus Leedhorf who in 1994 developed a newer and easer of developing his own websites.

most people run from having to learn new syntax. Except these new languages bring lots of new things and advantages to the table. i doubt i'd be interested.

Like
Reply

To view or add a comment, sign in

More articles by Ewere Diagboya

  • Protecting yourself from Cybercrime via your PII

    The Pandemic our new Normal The world is becoming more technology savvy. The penetration of the internet in the last…

  • Eminent Rise in Unemployment, What can we all do?

    I usually spend more time writing about Cloud Computing and AWS on Medium. But this time I am writing here on LinkedIn…

    3 Comments
  • Game of USSDs

    The telecoms industry is made up of generations and one of the generations that has stayed long is the second…

  • Mineware — The Malware of BTC Mining

    The term Bitcoin rings a bell in the ears of everyone; equivalent to huge amount of money. But the process involved in…

  • Engineering by Social Hackers

    Now this is something I am supposed to have written many months ago. But being a Devops Engineer can come with its…

  • Zuck in Nigeria

    It has been trending on twitter, it is all over the place, #zuckinlagos and every single developer in Nigeria would…

  • Setting Up a Secured Elasticsearch

    It is the time of the world were information and data is more valuable than even life. Data now fuels everything about…

  • Hurricane in the Labour Market

    It is 2016 and the year just started. But in Nigeria the year is not looking too good.

    3 Comments
  • Reinvent the Wheel if Necessary

    Ok this has been some thoughts I have always had in my heart, and I feel it is time, to talk about it. Four years ago…

    1 Comment
  • The Escrow and Online Billing Explosion

    With the growth of electronic mode of bill payments and financial transactions in Nigeria, there has been a shift of…

    1 Comment

Others also viewed

Explore content categories