How Diesel autogenerates a Rust API from a database schema

In this guide we’re going to look at what exactly infer_schema!, infer_table_from_schema!, and table! do. For table!, we will show a simplified version of the actual code that gets generated, and explain how each piece is relevant to you. If you’ve ever b… Read more


Using Rust in Windows

As a Rust user, I was discouraged by not having all the good tips for using Rust in Windows in one place. This is an attempt to just that. If you have more tips tweet them to @jntrnr, and I’ll try to add them here. (more…)

Read more »

A Type Safety Hole in Unsafe Rust

There seems to be a widespread belief among Rust programmers that bypassing the borrow checker does not completely compromise type safety. This article attempts to show the converse, that lifetime checks are absolutely essential for type safety, even if ... (more…)

Read more »

How I Plan to Learn Rust

So the week after next I start the Winter 1 2017 half-batch of the Recurse Center. My primary project will be learning rust and systems programming. My secondary project will be some SQL modeling and reporting stuff. (more…)

Read more »

Rust to WebAssembly, Made Easy

Compiling Rust to WebAssembly is still difficult. On macOS, there are weird bugs that require reinstalling LLVM and moving files around. On Linux, the official Emscripten binary in many cases isn’t bundled with the right LLVM, and the fix is to compile fr... (more…)

Read more »