Apple is porting C code to Rust

Microsoft announced last year that they would use Rust instead of C, C ++, and other languages ​​in security-related modules to improve the security of their applications and explain why they believe that Rust is currently the best choice for industry adoption. In addition to its performance and safety features, Rust also has a healthy ecology and community, which combined various factors that ultimately pushed them to adopt Rust.


Now, another tech giant, Apple, has also expressed interest in porting C code to Rust, hoping to join the trend of writing code with Rust. Judging from a recent recruitment announcement, Apple’s initial transition from C to Rust appears to be focused on their Linux-based server-side platform, a position provided by the Apple Cloud Traffic team.

Apple wrote in the recruitment announcement:

“The performance and security of the systems we build are critical. We interface directly to low-level Linux kernel interfaces, using asynchronous I/O and threads to distribute workload. Following a very successful first foray into Rust we are migrating an established codebase from C to Rust, and building new functionality primarily in Rust.”

Considering that many organizations are interested in Rust because of security, and Rust also brings performance improvements, it is not surprising that Apple will have such feelings. Finally, let’s boldly guess whether Apple will migrate all client software to write in Rust?