Calling Rust code from Python with ctypes
Background Recently I’ve been learning Rust, which is a programming language that aims to be as fast as C but absolutely memory-safe. It feels like a mix of the best features from many languages, including Python (format! vs. f-strings), Java (iter vs. stream), C (speed), C++ (references), and JavaScript (mutability?). And as I was learning, … Read more