
Adopting Hack across Facebook

Creator of Meta's Hack: Your AI Will Always Cheat — Here's How to Stop It - Julien Verlaguet
Topic 4 of 11
Published Jun 8, 2026 · Clip 9:55–17:20 (7:26)
Julien credits Alok Menghrajani for engineering advocacy and Joel Pobar for management buy-in, while he focused on shipping the tech. Facebook wasn't a PHP ideologue shop — PHP was a legacy necessity from the early 2000s, HHVM was already underway, so there was a will to improve tooling. Main fears were whether the codebase conversion would succeed and whether Hack would become a Frankenstein language, so the team built tools making it easy to strip annotations and back out. Others feared productivity loss from C++-like esoteric generics errors, so heavy work went into error messages. A big challenge was that unannotated code acted like TypeScript's 'any', making Hack seem like a best-effort linter; it took months of messaging to get engineers to add type annotations. Much of the conversion was automated.