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

Rare Steve Jobs AND Bill Gates video interview from 2007’s D5 conference (90min)

This is something great! Two of the most important people in the last 20 years’s mainstream consumer IT history in

O’Reilly sells EVERY ebook for -50% right now!

A good chance to grab some IT books: O’Reilly sells every single book in their portfolio with a -50% discount

php

Somebody is writing a compiler for PHP, compiles down to machine code, outperforms HHVM

Yes, that’s right. Recki-CT compiles PHP down to machine code. It’s unbelievable what’s going on in the PHP world in

phpstorm-github-code-color-syntax-theme

Get Github’s syntax highlighting colors in PHPStorm

I really really like the colors on GitHub’s code previews but couldn’t find any themes that copy that in a

mod-rewrite-ubuntu-14-04-lts

Which server OS version to choose ? Some EOL lists of Debian, Ubuntu and CentOS

Moving running projects (especially smaller ones that you’ve made for clients years ago) from an outdated and not-supported linux version

nginx php 5.5

[Link] Set up Nginx with PHP 5.5 easily

As there are surprisingly no good tutorials on how to set up NGINX with PHP 5.5 properly, here’s an excellent

html6

Is this the first HTML6 specification?

  I just found this very interesting “project” including an active, but unpopular GitHub repo: http://html6spec.com/ https://github.com/OscarGodson/HTML6 Looks like these

All new features of WordPress 3.9 in this 2 minute video

phpstorm 7.0 php

How to install GitHub’s, NetBeans’s and Sublime2’s syntax highlighting code colours theme in PHPStorm 6/7

PHPStorm’s default code colouring might not be what you want, especially when you just switched from NetBeans. But there are

The New Era of JavaScript (28min conference talk, Jack Franklin, 2013)

1/4

Categories

Search

Interesting stats on SONY’s hacked passwords
php
[Link] How to create, read, update and delete (CRUD) with PDO, MySQLi and MySQL the right way (prepared statements)
js javascript
Push database changes to all clients in real-time (!) with AngularJS and Firebase
Hacking ATMs – A conference talk about the current security state of Windows XP driven cash machines
(Links) How to fix an extremely slow Symfony inside a Vagrant box
steam sale coupon voucher
-30% to -90% on Steam and Origin
laracon-2014-eu-amsterdam
Laracon 2013 – Kapil Verma: Engineering Complex Applications with Laravel 4 (40min video)
java
Interesting: code of the same application in PHP, Python, Ruby, Closure, node.js, Java and Go
Soundcloud’s “VP of Engineering” about using SSDs
css4
Angelina Fabbro talks about “CSS4” in this excellent conference video
What’s new in PHPStorm 9
php uk conference
PHP Caching Best Practices by Eli White (video from PHP UK Conference 2014)
vagrant
A preinstalled Vagrant box with PHP HipHop / HHVM and Ubuntu 13.10 (Saucy Salamander)
node.js
PayPal drops Java, goes node.js / JavaScript
hearthbleed-ssl-bug
A quick guideline on how to fix the Hearthbleed bug (and update OpenSSL) on Ubuntu

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