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

Contributor to CPython! Yay!

Yeah, I’m now a contributor to CPython 🙂 I caught an extremely significant bug in CPython that affected the coding experience of each and every Python programmer. The bug was so obvious that I was so surprised that no one already found out! Look: Look at line 904 of the typing.py library. How is it … Read more

Online OJ submitter

Recently I began training for coding competitions. This requires doing a lot of problems on online judges (OJs) and submitting them. Submitting your code is generally not a hard process. You log in, copy your code, paste it into the submission box, and hit “Submit”. However, since I am bored a programmer who likes to … Read more