CUFP 2013: Julien Verlaguet, Facebook: Analyzing PHP statically
What it is
Julien Verlaguet of Facebook describes applying static analysis and type inference to a very large PHP codebase, using OCaml. The work led to the Hack language.
Why Hacker News recommends it
Pointed to as the origin story of Hack and a real-world example of OCaml in production.
- 3 people recommended it
- 3 different months
- 0 strong recommendations
- first 2013, last 2014
What HN commenters said
“Another cool one from CUFP this year is how Facebook is using OCaml to add incremental type inference to their vast PHP code base.”
Facebook using OCaml for incremental type inference on PHP.
avsm, 2013-11 · Recommendation · in “Real World OCaml”
“Check out Hack for HHVM[0][1][2]. It's a lot saner than PHP, but it's not documented or well known outside Facebook.”
Introduces Hack as a saner PHP.
Xdes, 2014-02 · Recommendation · in “List of possible changes, updates, additions for PHP 6”
“It's where I first heard about Facebook's use of OCaml to create Hack ( )”
Facebook's use of OCaml to create Hack.
amirmc, 2014-03 · Recommendation · in “What it's like to use Haskell”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: ocaml, hack, php, type inference, facebook
Also recommended by the same people
explainerRSA ANIMATE: The Secret Powers of TimeRoyal Society of Arts · 2 HN recommenders · 2010–2014
talkRich Harris - Rethinking reactivityYou Gotta Love Frontend · 15 HN recommenders · 2019–2026
talkLexical Scanning in Go - Rob PikeGoogleFOSSSydney · 13 HN recommenders · 2012–2025
talkWilliam Byrd on "The Most Beautiful Program Ever Written" [PWL NYC]PapersWeLove · 11 HN recommenders · 2017–2026
talkCppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”CppCon · 13 HN recommenders · 2016–2024
talkClasp: Common Lisp using LLVM and C++ for Molecular MetaprogrammingGoogle TechTalks · 8 HN recommenders · 2015–2024
talkCompiling C to printable x86, to make an executable research papersuckerpinch · 8 HN recommenders · 2018–2023
talkBreak Me00 The MoVfuscator Turning mov into a soul crushing RE nightmare Christopher DomasAdrian Crenshaw · 6 HN recommenders · 2017–2026