Come for the Foo, stay for the Bar
Interacting with Assembly in Rust
When you're investigating performance problems you may find yourself reading or writing assembly. Rust has a nice set of tools for interacting with assembly in a variety of ways such as viewing the assembly generated by a particular function.
Property-based testing in Rust with Proptest
Software testing is industry standard practice at this point, but there's a variety of ways to test your software ranging from the most basic of unit tests all the way up to mutation testing. Property-based testing is a testing technique in which you declare abstract properties of your system, feed it randomly generated inputs, then check whether your properties are upheld. In this post I'll discuss the benefits of property-based testing and how to do it in Rust.
How to build a dice roller service in Rust
Let's build a simply web service in Rust using Rocket.
Polsim - a case study for small-scale scientific computing in Rust
As part of my research I found an excuse to use Rust.
polsimis a commandn line utility for simulating the polarization of a laser beam as it interacts with a sequence of optical elements. In this post I'll describe
polsimitself and my experience using Rust to write it rather than Python.
Bringing macros to Python by abusing type annotations
By playing with the Python AST we can add functionality with making the user write any extra code. You may use this power for good or evil.