Menu

IoT FEATURE NEWS

AWS Touts Rust Programming Language for Cloud Sustainability and Performance

By

AWS believes the open source Rust programming language will become a cornerstone for efficient cloud computing infrastructure. The company wrote in a blog post that creating sustainable cloud infrastructure is a responsibility that should be shared between the hyperscaler and customers.

The Rust programming language has been specifically designed for performance and memory safety, wrote Shane Miller, AWS Rust lead and chair of the Rust Foundation, and principal engineer Carl Lerche. The language is popular for bare-metal development and now plays a key role in helping AWS maintain essential cloud infrastructure. A number of AWS services use Rust extensively, including Firecracker, a lightweight virtualization stack. The AWS Lambda platform, Elastic Compute Cloud (EC2), CloudFront content delivery network and S3 storage also use Rust.

The cloud computing giant has made a sustainability pledge to power its operations with 100 percent renewable energy by 2025, while achieving net-zero carbon emissions by 2040. AWS claims to have reached 65 percent renewable energy in 2020 and has invested $2 billion to support development of services and technologies that reduce carbon emissions.

“Even renewables have an environmental impact,” wrote Miller and Lerche. “Renewables should not replace energy efficiency as a design principle. In the same way that operational excellence, security, and reliability have been principles of traditional software design, sustainability must be a principle in modern software design."

They added a number of studies indicate the the C and Rust programming languages are more efficient than other scripting languages like Java and Python. But implementing C code poses challenges, and the AWS authors maintain that Rust is a viable alternative.

“What is shocking is the magnitude of the difference," wrote Miller and Lerche. "Broad adoption of C and Rust could reduce energy consumption of compute by 50 percent – even with a conservative estimate. Rust delivers the energy efficiency of C without the risk of undefined behavior. We can cut energy use in half without losing the benefits of memory safety.”

The authors added cloud infrastructure operational savings is only one benefit of Rust, and one of its main draws is speed. Most developers they have spoken with chose Rust initially becomes of its runtime performance, mainly because of speed or more reliable tail latencies.




Edited by Luke Bellos
Get stories like this delivered straight to your inbox. [Free eNews Subscription]

IoTevolutionworld Contributing Editor

SHARE THIS ARTICLE
Related Articles

Direct-to-Device Innovation, Courtesy of Viasat and Skylo Technologies

By: Alex Passett    11/28/2023

Viasat and Skylo Technologies seek to unlock the potential of Direct-to-Device (D2D) services for consumers, businesses and governments around the wor…

Read More

5G IoT Connectivity to Benefit from New Partnership Between OQ Technology and o2 Telefonica

By: Alex Passett    11/27/2023

OQ Technology and o2 Telefonica have signed their MOU on boosting 5G IoT connectivity together, kicking off mainly in Q2 of 2024.

Read More

Schneider Electric Integrates Microsoft Azure OpenAI for Sustainable Solutions

By: Greg Tavarez    11/21/2023

Schneider Electric tapped into its collaboration with Microsoft to integrate Microsoft Azure OpenAI into its operations, utilizing algorithms to gener…

Read More

Connectivity Standards Alliance Unlocks the Future of Digital Access with Aliro

By: Greg Tavarez    11/20/2023

Aliro is a new effort aimed at transforming how users unlock doors or other entry points using their mobile device or wearable.

Read More

AEye Introduces In-Cabin Lidar with Peak Performance

By: Greg Tavarez    11/16/2023

The 4Sight Flex is designed to be energy-efficient and low-cost and can detect objects up to 275 meters away.

Read More