InfoWorld: Hack compiles to the HHVM?
Verlaguet: [Hack] runs on the exact same [HHVM] virtual machine indeed. That's why it tends to operate very well with PHP because HHVM was designed to run PHP, so the two interoperate seamlessly. What it means is that from Hack code you can call PHP code and PHP code can call Hack code and it's all compatible.
InfoWorld: Where have you used Hack in Facebook?
Verlaguet: We converted nearly all of our [PHP] code base to Hack.
InfoWorld: What's the next step for Hack? Is there a 1.0 version coming out?
Verlaguet: We still have plenty of things to do on the language itself. We have to keep aware of the fact that for now it's a tool for Facebook. Now that we have open-sourced it, we need to take into account the feedback of the new users who are going to try to use Hack for their own needs and we are probably going to spend some time doing that. People are going to try Hack on their own projects. They're going to have problems because they are probably using PHP and Hack in a different way than we do it at Facebook and we will have to go after these problems one after another. So that's what I expect is happening. When we are comfortable with the version that we have, I hope we can [offer] a first stable release.
InfoWorld: When do you think that might happen?
Verlaguet: It depends how much adoption we get. If we have a lot of feedback, a lot of people engaging, it could be a few months. It will depend on how many people engage [and the number of problems found]. That's very hard to predict.
This story, "Facebook Q&A: Hack brings static typing to PHP world," was originally published at InfoWorld.com. Get the first word on what the important tech news really means with the InfoWorld Tech Watch blog. For the latest developments in business technology news, follow InfoWorld.com on Twitter.