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

Goodbye Rust, and Hello, D

After quite a bit of thought and consideration, I have decided to abandon my study of Rust, and move on to D. I had been learning Rust for a while now, and I have become quite comfortable with it, … (more…)

Read more »

Implementing ptsname_r on OS X with Rust

I've been working on a project with rust that requires creating a pseudo-terminal and like many others, I've run into a lot of problems with the functions available to get a pair of master/slave fds for my PTY. openpty int openpty(int *amaster, int *aslav... (more…)

Read more »

Time safety and Rust

Recently I have had the great fortune to work on this ticket . This was an issue that stemmed from an attempt to make clock performance faster. Previously, a call to time or clock_gettime would involve a context switch an a system call (think solaris etc)... (more…)

Read more »

Announcing failure: error handling for Rust

I’m really excited to announce a new crate I’ve been working on, called failure, and which I’ve just released to crates.io. Failure is a Rust library intended to make it easier to manage your error types. This library has been heavily influenced by learni... (more…)

Read more »