<story><title>Programming languages endorsed for server-side use at Meta</title><url>https://engineering.fb.com/2022/07/27/developer-tools/programming-languages-endorsed-for-server-side-use-at-meta/</url></story><parent_chain><item><author>Xeoncross</author><text>&amp;gt; Meta’s primary supported server-side languages are Hack, C++, Rust, and Python.&lt;p&gt;&amp;gt; For specific use cases, we support other languages, including Java, Erlang, Haskell, and Go&lt;p&gt;Makes sense. 
Python because ML.&lt;p&gt;Rust because of performance.&lt;p&gt;C++ and Java because all-the-things.&lt;p&gt;Go because 75% of all cncf.io projects are Go.&lt;p&gt;Haskell because elitism.&lt;p&gt;Erlang because stability.&lt;p&gt;&amp;#x2F;s&lt;p&gt;I think the real story is that migrating off PHP was too hard, so Hack was started which required a substantial C++ employee pool which meant that Rust was the ideal replacement to all of this skipping the Java&amp;#x2F;Kotlin and Go ecosystems altogether.&lt;p&gt;So not just scale at play here, a cause-and-effect of past hiring decisions.</text></item></parent_chain><comment><author>pjmlp</author><text>Hack has an interest pivot though.&lt;p&gt;It started with their PHP to C++ compiler, then someone started a JIT compiler, and eventually the JIT proved to be a better outcome in tooling and performance, that they scraped the compiler and kept the JIT instead.&lt;p&gt;It had the side effect that proper PHP now enjoys a JIT as well.</text></comment>
<story><title>Programming languages endorsed for server-side use at Meta</title><url>https://engineering.fb.com/2022/07/27/developer-tools/programming-languages-endorsed-for-server-side-use-at-meta/</url></story><parent_chain><item><author>Xeoncross</author><text>&amp;gt; Meta’s primary supported server-side languages are Hack, C++, Rust, and Python.&lt;p&gt;&amp;gt; For specific use cases, we support other languages, including Java, Erlang, Haskell, and Go&lt;p&gt;Makes sense. 
Python because ML.&lt;p&gt;Rust because of performance.&lt;p&gt;C++ and Java because all-the-things.&lt;p&gt;Go because 75% of all cncf.io projects are Go.&lt;p&gt;Haskell because elitism.&lt;p&gt;Erlang because stability.&lt;p&gt;&amp;#x2F;s&lt;p&gt;I think the real story is that migrating off PHP was too hard, so Hack was started which required a substantial C++ employee pool which meant that Rust was the ideal replacement to all of this skipping the Java&amp;#x2F;Kotlin and Go ecosystems altogether.&lt;p&gt;So not just scale at play here, a cause-and-effect of past hiring decisions.</text></item></parent_chain><comment><author>01acheru</author><text>Probably Erlang because of Whatsapp, IIRC it&amp;#x27;s backend was written in Erlang.</text></comment>