+ All Categories

Hhvm

Date post: 25-May-2015
Category:
Upload: rafe-kettler
View: 104 times
Download: 2 times
Share this document with a friend
Popular Tags:
7
HHVM (completely rebranded since I got a t-shirt in February) Thursday, March 27, 14
Transcript
Page 1: Hhvm

HHVM(completely rebranded since I got a t-shirt in February)

Thursday, March 27, 14

Page 2: Hhvm

What it’s like to HHVM

C++11. Like C++, but with basic type inference and 10 more ways to initialize an object

Lots of the standard library is written in PHP or the HHVM dialect of PHP (probably will be Hack in the future)

Mentor: Paul Tarjan, not be confused with the famous researcher Bob Tarjan. Also Fred Emmott.

Thursday, March 27, 14

Page 3: Hhvm

What is this thing, anyway?

Thursday, March 27, 14

Page 4: Hhvm

What do I do?Frameworks. There are lots of them that work with Zend PHP but not HHVM. We’ve been asked to pick frameworks and get their test suites to 100% passing on HHVM. Sometimes this involves finding bugs in HHVM, sometimes this involves fixing clowny test cases.

Infrastructure and tools. No one asked me to work on this, but it sucks, so I’ve been trying to make some fixes

Thursday, March 27, 14

Page 5: Hhvm

What have I done?

Made is_dir support relative paths (first fix!)

Brought a logging library “Monolog” to 100% -- one failing test, PHPUnit was generating classes on the fly with reflection, bug in reflection caused it to generate a fatal error. Class wasn’t reporting itself as final

Spent a long time working on fixing an incompatibility in array iteration only to find that the Zend team has decided for future releases it’s “an implementation detail”

Thursday, March 27, 14

Page 6: Hhvm

What’s am I still doing?

Fixing the GDB extension included with the project that has pretty-printers for HHVM internal types (https://github.com/facebook/hhvm/pull/2119)

Changing all file functions to accept relative paths and stream URIs (https://github.com/facebook/hhvm/pull/1983)

Thursday, March 27, 14

Page 7: Hhvm

What am I still doing?

Dogfooding Joel Low’s improvements to the build process (specifically precompiled headers)

I have a PR out on a PHP project (klein.php) fixing some tests that rely on undefined behavior

Thursday, March 27, 14


Recommended