Free State Laboratories

Hi, and welcome to my corner of the internet!

I’m a mechanical engineer with special interests in structural mechanics, robotics, controls, and high-performance numerical software development. On this site, you’ll find information on my current software projects.

Feel free to contact me at ryan@freestatelabs.com. My code is hosted on SourceHut; I’m currently migrating from GitHub.

I’m a big fan of curly braces and semicolons; my favorite languages at the moment are C, Rust, Julia and Python. I attempt to write minimal programs with an eye for simplicity.

Current Projects

I’m working on a number of projects at the moment. As such, I make progress very intermittently…

sonya
Type 1 diabetes simulator and glucose control algorithm development.

shepherd
C library promoting correctness, simplicity, and performance.

cracked
Fracture mechanics analysis of stress intensity factors and crack growth.

In Maintenance

solar
Simple cross-platform SIMD intrinsics for targets that support ARM NEON, AVX2, or AVX512.

Wired.jl
A highly optimized Biot-Savart law integrator to calculate magnetic fields acting on arbitrary geometries in 3D space.

Past Projects

rockets
A 2D, 3DOF simulation of landing rockets using thrust-vectoring directed by an optimal controller.

Wired.jl Benchmarks
Algorithm development for Wired.jl, written in Julia, C, Fortran, and Python.
I’ve learned a lot since I did this project in early 2024, and it is very much superceded by Wired.jl.

Notes

Miscellenous mini blog posts about random topics, more for my own reference than anything else.

2026-05-16: Build things you understand
2025-11-20: Git and SSH Cheatsheet
2025-11-15: Why I still reach for C in 2025
2025-09-24: Linking a C program to a Rust library

© 2025 ryan@freestatelabs