InfoQ Homepage Rust Content on InfoQ
-
Microsoft Exploring Rust as the Solution for Safe Software
Microsoft has been recently experimenting with Rust to improve the safety of their software. In a talk at RustFest Barcelona, Microsoft engineers Ryan Levick and Sebastian Fernandez explained the challenges they faced in using Rust at Microsoft. Part of Microsoft's journey with Rust included rewriting a low-level Windows component, as Adam Burch explained.
-
Rust Gets Zero-Cost Async/Await Support in Rust 1.39
After getting support for futures in version 1.36, Rust has finally stabilized async/.await in version 1.39. As Rust core team member Niko Matsakis explains, contrary to other languages, async/.await is a zero-cost abstraction in Rust.
-
PARSEC Is a New Platform-Agnostic API for Secure Systems
Backed by Arm and Docker, Platform AbstRaction for SECurity aims to define a universal software standard to handle secure object storage and cryptography services. It focuses on modern system architectures made of containerized services and strives to make security technology easy to access. InfoQ has spoken with Justin Cormack, security lead at Docker and PARSEC maintainer, to learn more.
-
Rust 1.36 Stabilizes Futures, Backports Non-Lexical Lifetimes, and More
Following its roadmap to Rust 2018, Rust 1.36's most awaited new feature is support for the Future trait, which is the first step towards bringing async/await to the language. Additionally, it backports non-lexical lifetimes (NLL) to improve the borrow checker, and introduces a new alloc crate to enable the creation of memory allocation-dependent libraries that do not require std.
-
Sonic: A Lightweight, Schema-Less Search
Sonic is an open source, lightweight, schema-less search backend promoted as an alternative to full-feature search systems such as Elasticsearch. Sonic can normalize natural language search queries, provide auto-complete, and return the most relevant results for a search query.
-
Interfacing Elixir with Rust to Improve Performance: Discord's Story
When the Discord team hit a hard-limit on BEAM's performance dealing with large data structures, they resorted to interfacing Elixir with Rust to make their system able to scale up to 11 million concurrent users.
-
Rust Evolution in 2019 Will Aim for Maturity
This year's roadmap for Rust was the result of an open call for blog posts from the community to set out major priorities for the language development throughout 2019, including reshaping the governance model, bringing to light new language features, and improving the compiler.
-
Rust 1.34 Introduces Alternative Registries for Non-Public Crates
The most significant feature in Cargo 1.34 is support for using alternative cargo registries, which could be a game changer in enterprise environments. Additionally, this release also include support for ? in documentation tests, and several improvements to the standard library.
-
Deploying Rust-Generated WASM on Cloudflare Serverless Workers
Recently open-sourced by Cloudfare, Wrangler is a set of CLI tools to build, preview, and publish Cloudfare Workers written in Rust and compiled to WebAssembly.
-
NPM Adopted Rust to Remove Performance Bottlenecks
Npm exponential growth drove the npm engineering team to switch from Node.js to Rust to handle CPU-bound tasks that were going to become a performance bottleneck. A recent white paper overviews the experience of developing the new service in Rust and running it in production for more than one year.
-
Deliveroo Adopts Rust to Improve Performance in Core Service
Deliveroo reimplemented performance-critical components of their Dispatcher service in Rust, with an overall 4x performance improvement. InfoQ spoke with Deliveroo engineer Andrii Dmytrenko to learn more about the advantages they got from this rewrite and what it took to get there.
-
Mitigating Software Vulnerabilities at Microsoft over the Last 20+ Years
At BlueHat IL 2019, Microsoft engineer Matt Miller described how the software vulnerability landscape has evolved over the last 20+ years and the approach Microsoft has been taking to mitigate threats. Interestingly, among the major culprits of security bugs, says Miller, are memory safety issues, which account for 70% of total security bugs Microsoft has patched.
-
Rust 1.32 Improves Tracing, Modules, Macros, and More
Rust 1.32 includes a number of new language features meant to improve developer experience when tracing the execution of programs for debugging purposes. Additionally, it now uses the system allocator by default, completes work on the module system to make it easier to use, and more.
-
AWS Lambda Layers and Runtime API: beyond Officially Supported Runtimes
AWS re:Invent 2018 had numerous announcements of new features and services, including Lambda Layers, to centrally manage code and data shared across functions, and the Lambda Runtime API, expanding Lambda beyond JavaScript to any programming language.
-
Rust 1.31 Brings the First Rust 2018 Features, Non-Lexical Lifetimes and Module Improvements
Rust 1.31 is the first release that implements new features exclusive to Rust 2018 and does not guarantee source compatibility with existing code bases. Rust 2018 is a work in progress and Rust 1.31 only marks the beginning of a three year development cycle that will significantly extend the language.