What Rust Can Do That Other Languages Can’t

struct X { y: Y } impl X { fn y(&self) -> &Y { &self.y } } This defines an aggregate type containing a field y of type Y directly (no…

Similar

Rust at Sentry

The usage of Rust started as an experiment at Sentry but became a non negligible part of our infrastructure. This is lessons learned, what works and doesn't ... (more…)

Read more »

Rust and CSV parsing tutorial

With a beta of csv 1.0 just released, the time is ripe for a tutorial on how to read and write CSV data in Rust. This tutorial is targeted toward beginning Rust programmers, and is therefore full of examples and spends some time on basic concepts. Experie... (more…)

Read more »

A No_std Rust Binary

In Part 11, we spent some time clarifying mechanisms we had previously glossed over: how variables and functions from other ELF objects were accessed at runtime. We saw that doing so “proper” required the cooperation of the compiler, the assembler, the li... (more…)

Read more »