Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
March 20, 2014
Chris
HipHop, Modern PHP, PHP
Comments Off on Wow! Facebook devs have rewritten and fixed PHP, releasing it as new language called “Hack” today

Wow! Facebook devs have rewritten and fixed PHP, releasing it as new language called “Hack” today

PreviousNext
hack-php

Exciting stuff is happening: Some years ago Facebook has released an early preview of HipHop, a virtual machine that precompiles PHP and seriously changes the game. While HipHop has become a serious and stable tool in the last months, some rumours about “a new programming language, built on top of PHP” have made the round.

Today, Facebook has officially released this awesome project: HACK is there! Not a completely new language, it’s more like a much much better PHP. The Hack -crew has taken PHP, rewritten it (for the HipHop virtual machine), removed lots of the crappy stuff, and added excellent, professional features while still being 100% backwards compatible to “native PHP”. Side-fact: They even removed all the mysql_  and mysqli stuff (yeah!), but then got complaints from the PHP community and re-implemented mysqli.

Why is this so awesome ? Because the biggest PHP-driven website in the world has seriously fixed PHP, and they have open-sourced (!) it today. Plus the dramatic fact that Hack runs only inside the HipHop virtual machine, which also improves PHP dramatically. Plus the fact that this is not a hobby project, it’s made by a billion dollar corporation that pumps a lot of time and money into PHP. Thanks!

Ladies & Gentlemen, we enter the “Postmodern PHP” era now (as called in Keith Adams’s excellent talk about the future of PHP). As this is a very fresh and ongoing event I will update this article after a deep jump into the Hack documentation.

  • Homepage of Hack (including install tutorials, quickstarts and a documentation)
  • A quick interactive tutorial on Hack
  • Official release statement on the Facebook dev blog

Older stuff that might be interesting in this context:

  • Talk of Julien Verlaguet (creator of Hack), Youtube video
  • Slides of that talk
  • Even more interesting slides, showing syntax etc. by Keith Adams of Facebook

 

hackHHVMHipHopPHP
Share this
sass

[german video] Modernizing and minimalizing frontend markup code at AutoScout24

As this blog has a lot of german speaking readers I’ll post german stuff from time to time. Sorry for

Frontend Ops Conf 2014 – Rebooting Flickr On A Node.js Stack, One Page At A Time (from PHP) by Bertrand Fan

https://www.youtube.com/watch?v=vBo0aFtg1_M

Going node.js at Netflix (Slides by Micah R of Netflix)

It’s awesome how node.js takes over the absolute AAA-level corporate world. Note that node.js is still an early alpha product

PHPStorm: 42 Tips and Tricks (47min video talk by Mikhail Vink at Dutch PHP Conference 2015)

To be honest I’ve not seen the clip yet, but it sounds so awesome and everybody is upvoting it. Have

php

How to prevent PHP sessions being shared between different apache vhosts / different applications

When you run multiple applications on one server, you might run into the session-sharing problem: All your applications share the

bitdeli git github stats

php-login goes #2 PHP script worldwide in BitDeli stats

Holy! I just checked the stats of my little php-login hobby project on BitDeli (the tracking service for GitHub) and

increase-your-pagespeed-score

Increase your PageSpeed score (10min video with Matt Gaunt)

Compact and clever information for dramatic speed increases. Definitly worth watching.

offf-2014

Europeans: Get ready for OFFF conference / festival in Barcelona, May 2014

Designers and frontend guys, this is for you: If you live or simply are in western Europe in May 2014,

php

How to install PHP 7.0 on Ubuntu 14.04 LTS

You want to install PHP 7 within 60 seconds ? No problem, but first make sure you have a fresh

digitalocean coupon

Free $10 coupon for DigitalOcean SSD cloud VPS hosting

DigitalOcean puts out another coupon, this time for free $10 with the code SSD2014. The company offers small and big

1/4

Categories

Search

hearthbleed-ssl-bug
The SSL Heartbleed bug explained in 30 seconds
How Snapchat wants to earn money (by establishing vertical videos)
php uk conference
Slides & talks from PHP UK Conference 2014
How to setup a config-free WordPress, PHP and MySQL (for local development) in Windows 7 / 8 in under 3 minutes
Disappointed by Watch Dogs’s graphics ? See how it looks with unlocked, hidden settings. Awesome!
photoshop-cc-deal
Adobe offers Photoshop for $9.99 per month (limited deal)
digitalocean coupon
DigitalOcean VPS coupon codes for december 2013 and early 2014
GitHub finally introduces repo traffic stats
PHPStorm: 42 Tips and Tricks (47min video talk by Mikhail Vink at Dutch PHP Conference 2015)
twig
A 6min video introduction into Twig, the PHP templating engine
PHPMyAdmin not found after installation ? Here’s a fix (Ubuntu 12.04) !
Hacking ATMs – A conference talk about the current security state of Windows XP driven cash machines
php uk conference
PHP Opcache Explained by Julien Pauli (video from PHP UK Conference 2014)
php
How to install latest PHP 5.4.x on Ubuntu 12.04 LTS (Precise Pangolin)
phpstorm-8
Ignore .idea folder from git in PHPStorm

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy