Continue the lock-free adventure by exploring the internals of crossbeam-epoch to answer two fundamental questions: 1. How do we know when it's safe to drop? 2. How do we atomically update both a pointer and a state flag in a single CAS instruction? This second question stems from the two-step process needed for deleting a node in a lock-free linked list.
I'm exploring Loom for the first time! My goal test our broken lock-free stack with loom, to see if it can detect the ABA bug. It's my first time working with this tool, so I'm excited!
Visualizing lock-free concurrency in Rust: reproducing the aba problem to begin understanding crossbeam. I promise lots of diagrams!
A follow-along series of coding experiments as I explore Rust's peculiarities, from a C++ developer's perspective.
A follow-along series of coding experiments that allowed me to explore and understand concepts like the vptr, vtable, and how the compiler organizes base and derived members in memory by seeing them in action through code.
First time coding a CFD solver from scratch.
under the assumption of isotropic elastic scattering of electrons on atoms.
Simulation code in C++, analysis in Python.
Fork of existing project. Use vim or your favorite editor to write anki cards quickly in plain text or latex.