XP Manchester

xpman 103 – The Rust Language and how I learnt to stop worrying and write fewer tests

leave a comment »

The Rust Language has been increasing in popularity over the last few years. Backed by Mozilla to develop Firefox, used by big names like Dropbox and Cloudflare, and winner of “Most Loved Programming Language” 3 years in a row on the StackOverflow Developer Survey. It’s has a strict type system, inspired by ML style languages, and a unique ownership model enforced by the Borrow Checker. When I first started programming in Rust, I was writing the same kind of tests I’d previously written in languages like C#, and javascript, but it didn’t feel right. A lot of my tests felt pointless, sometimes my initial red test would pass first time it ran, often I was just testing that the compiler was behaving correctly.

In this talk we’ll look at some of the features of Rust that allow us to write code with fewer bugs, without writing more tests.

This is mainly a talk but there will be plenty of code, and people are welcome to bring laptops if they want to try some things out during the talk.

Doors open at 6.30 to start at 7.

Tickets available here.


Written by James Jeffries

January 7, 2019 at 10:15 pm

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: