Get the latest tech news

Make the Easy Change Hard


There’s a semi-well-known adage in software development that says when you have a hard code change, you should “first make the hard change easy, and then make the easy change.” In other words, refactor the code (or do whatever else you need to do) to simplify the change you’re trying to make

Anyways this is going to be a fairly technical post, with a bit of a deep dive into SimKube internals and also a bunch of Rust programming techniques, so I hope you’ve had your coffee! If you’ve done any async Rust programming, you’ll recognize this pattern; it’s a way for objects on multiple threads or coroutines to safely read and write to a shared singleton. The whole giant change is on GitHub ( 1, 2) if you just wanna look at the code, but here I’ll talk about some of the specific challenges I ran into.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Easy Change

Easy Change