Facebook’s Preferred Programming Languages: Hack, Python, C++, Rust

Produced by | OSC Open Source Community (ID:oschina2013)
Meta has announced the approval of Hack, Python, C++, and Rust as the preferred programming languages for employees and developers to build software on its platform. The company stated to The Register that supporting a programming language is not a decision that can be made lightly.
“It is important that every language we adopt is the best fit for specific use cases; therefore, every time we evaluate a language, we do our due diligence. Once a language decision is made, it is adhered to, so we want to be thoughtful from the start and provide our engineers with the best tools.”
For Meta, a supported language is expected to provide a good experience for both internal and external developers in code editing, debugging, building, core libraries, and interoperability. The company assures that those who write code in supported languages will not be required to convert their code to a different language.
Facebook's Preferred Programming Languages: Hack, Python, C++, Rust
Hack is a new programming language developed by Meta, a type-safe variant of PHP that relies on the HipHop Virtual Machine (HHVM). Meta recommends using Hack for business logic and relatively stateless applications, Python for data science, ML applications, and Instagram-related code; C++ for performance-sensitive backend services; and Rust for performance-focused backend services and CLI tools. “The footprint of Rust in our products and services is rapidly increasing, and we are committed to long-term use of Rust and welcome early adopters.”
Other programming languages such as Java, Erlang, Haskell, and Go are recognized for specific use cases but are not supported beyond those scenarios.
Thanks to its memory safety features, Rust is currently favored, having been adopted in the development of Apple, Amazon, Microsoft, Google, and the Linux kernel. However, The Register points out that for Meta, memory safety may not be as important as customer safety in the short term. A report by consulting firm Everest Group on “Trust and Safety in the Metaverse” suggests that businesses participating in virtual world interactions will need to enhance their trust and safety measures to avoid abuses against virtual avatars, data privacy issues, digital asset fraud, and mental/physical health concerns for content moderators.
Furthermore, Meta must prove that there is a mass market business in the virtual world to justify the $10 billion loss reported last year by its Reality Labs division. “What the company truly needs is a revenue-safe language.”
Related link: https://www.theregister.com/2022/07/27/meta_approves_four_programming_languages/
Benefits
Prize Q&A

In this issue of OSCHINA’s expert Q&A, we invite Teacher Binghe to discuss “High Concurrency Programming”. Feel free to scan the QR code below to ask your questionsFacebook's Preferred Programming Languages: Hack, Python, C++, RustFacebook's Preferred Programming Languages: Hack, Python, C++, RustFacebook's Preferred Programming Languages: Hack, Python, C++, Rust

Facebook's Preferred Programming Languages: Hack, Python, C++, Rust

Asking questions will also give you a chance to win a copy of In-Depth Understanding of High Concurrency Programming: Core Principles and Case Practice!

Here is the latest open source news, software updates, technical content, and more.
Click here ↓↓↓ Remember to follow ✔ and star ⭐~

Leave a Comment