Rust

Posts related to the Rust Programming Language

Porting Rust to WebAssembly

I recently spent some effort trying to make reproto run in a browser. Here I want to outline the problems I encountered and how I worked around them. I will also provide a number of suggestions for how things might be improved for future porters.

Advent of Rust Day 10 - Persistent iterators

This is a series where I’ll be discussing interesting Rust tidbits that I encounter when solving Advent of Code 2017. You can find the complete (spoiler) solution here: udoprog/rust-advent-of-code-2017

Advent of Rust Day 6 - The power of iterators

This is a series where I’ll be discussing interesting Rust tidbits that I encounter when solving Advent of Code 2017. You can find the complete (spoiler) solution here: udoprog/rust-advent-of-code-2017

Advent of Rust Day 5 - Have your bounds and eat them too!

This is a series where I’ll be discussing interesting Rust tidbits that I encounter when solving Advent of Code 2017. You can find the complete (spoiler) solution here: udoprog/rust-advent-of-code-2017

Advent of Rust Day 4 - Testing things that read stuff

This is a series where I’ll be discussing interesting Rust tidbits that I encounter when solving Advent of Code 2017. You can find the complete (spoiler) solution here: udoprog/rust-advent-of-code-2017

Advent of Rust Day 3 - Option as an Iterator

This is a series where I’ll be discussing interesting Rust tidbits that I encounter when solving Advent of Code 2017. You can find the complete (spoiler) solution here: udoprog/rust-advent-of-code-2017

Advent of Rust Day 1 - Everything has a scope

This is a series where I’ll be discussing interesting Rust tidbits that I encounter when solving Advent of Code 2017. You can find the complete (spoiler) solution here: udoprog/rust-advent-of-code-2017

Building services with reproto

APIs are ubiquitous. The most popular form by far are JSON-based HTTP APIs (all though GraphQL are giving them a run for their money). Sometimes these are referred to as restful - because we collectively have an aversion towards taking REST seriously. This post isn’t about REST. It’s about a project I’ve been working on for the last year to handle the lifecycle of JSON-based APIs: Rethinking Protocols - reproto.

Rust applications under Wine

While writing my last post I had the need to compile and run some code under Windows. Being a Linux fanbox, this situation wasn’t optimal. Enter Wine.

Portability concerns with Path

I’ve been spending most of my spare time working on ReProto, and I’m at a point where I need to support specifying a per-project build manifest. In this manifest I want to give the user the ability to specify build paths. The problem I faced is: How do you have a path specification that is portable?