Facebook have introduced a new programming language, which looks mostly like an extension to PHP. They've called it Hack and it's running on their HHVM engine.
After seeing their website and reading a bit about it, I wondered how fluid a migration from PHP to Hack could potentially be.
Let's base this discussion around a web application already deployed to a LEMP or LAMP stack.
Some of my initial thoughts and list of actions include:
- How do I run both PHP and Hack in the process of migrating the code base?
- Migrate from nginx/Apache to HHVM
- Migrate code base iteratively
So, how would you approach this?