Rust Context Manager

In Python there is a thing called a context manager. It looks like this: with open(‘file.txt’) as f: # setup code runs here print f.read() # teardown code runs here do_other_thing(f) # error: f is not bound here Inside the indented block t… Read more

Similar

Prefer Rust to C/C++ for new code

This is a position paper that I originally circulated inside the firmware community at X. I've gotten requests for a public link, so I've cleaned it up and posted it here. This is, obviously, my personal opinion. Please read the whole thing before sending... (more…)

Read more »