From Go To Rust - Advanced Testing

July 25, 2018

For the fifth installment of this series, we'll take a look at benchmarking, documentation testing, and integration testing. As usual, we'll start with an example in Go and see how it translates to Rust. Along the way, we'll be learning about the Rust language.

If you want to catch up on the series...

Using Azure Static Websites

July 21, 2018

Over the years I've chronicled the technical changes to this blog and its hosting provider. Years ago, I moved it from Drupal to Middleman to cut down on the maintenance. Later I containerized my Ruby environment to get rid of RVM madness

For a fun weekend project, I moved from S3 to the brand new...

From Go to Rust - Unit Testing

July 7, 2018

In this fourth installment of the series, we'll transform some Go tests into Rust tests.

In case you missed anything:

  • In the first part of this series, we looked at some fundamentals of Rust, and how they compare to Go.
  • In the second part we took a Go web server and reimplemented it in Rust.
  • The...

Be Nice And Write Stable Code

July 4, 2018

Stop rearchitecting your code! The professional developer values stability over "code purity." Instead of pursuing a Shangra-La vision of code perfection with each and every release, just be nice and write stable APIs. In this post, I talk about taking practical steps toward writing code that remains...

From Go to Rust - JSON and YAML

June 12, 2018

One of Go's big selling points for me was its novel approach to JSON encoding. Learning about Rust's encoding has made me even more excited. In this post, we'll start with Go's JSON encoder, and then see how Rust does encoding. And we'll even through in some YAML!

In the first in this series, we...

From Go to Rust with an HTTP Server

June 4, 2018

One of the staples of the system developer's toolbox is building web applications. These days, we might even say it's building HTTP-based API servers.

In The Go Developer's Quickstart Guide to Rust I showed how a Go developer can get a foothold in the Rust world. This time, I'll start with a Go HTTP...

The Go Developer's Quickstart Guide to Rust

May 27, 2018

You've been writing Go. But you're feeling an urge to test the waters with Rust. This is a guide to make this switch easy.

Most Loved Languages

As the co-author of Go in Practice, I have felt a certain obligation to Go. But I'm ready for a change. Rust topped the satisfaction survey in Stack Overflow's survey of languages...

Don't Kill the Competition

May 8, 2018

Or, why competition is good, and how to keep it from going bad

We rarely work in a vacuum. Whether building things or providing services, there's another team out there that's doing something similar. And this team threatens to capture some of our territory or prevent us from achieving a goal. Naturally...

Building A Custom Brigade Gateway in 5 Minutes

April 23, 2018

Brigade gateways trigger new events in the Brigade system. While the included GitHub and container registry hooks are useful, the Brigade system is designed to make it easy for you to build your own. In this post, I show the quickest way to create a Brigade gateway using Node.js. How quick? We should...

How Brigade Shares Data Between Containers

March 26, 2018

Brigade provides a way to script multiple containers to perform a task. With Brigade, you can build things like CI systems, ETL pipelines, and distributed batch processors. One of the critical capabilities of Brigade is its ability to share data between containers. This article describes the two main...