Facebook as a company do not believe in ever rewriting large code bases. You can view lots of their open source/technical achievements as out growths of this belief:
- 2004, write PHP as it's fastest for now
- 2008: PHP is too slow, compile it to C++
- 2011: C++ is too slow, write a VM and compile to assesmbly
- 2012: PHP's type system sucks, write a better typer in OCaml (Hack)
- They have done much the same for Javascript and Python (look at all the typing tools provided by Instagram).
This stuff is just an outgrowth of their deep deep belief in writing code to handle the crazy amount of code they already have.