rust

  • Why Rust makes you import a trait to use its methods

    An interesting challenge for a new developer came up in our Rust cohort: they opened a file and wanted to read its contents from disk, but the compiler refused to let them call read_to_string.

  • How Libraries Run Rust Inside Python (with PyO3)

    Every time you validate data with Pydantic v2, the data-validation library most Python apps reach for, a Rust extension does the work. Its core, pydantic-core, is built with PyO3, the same toolchain we'll use here.

  • Guardrails Protect Your Codebase. What Protects Your Judgment?

    Cal Newport's On AI Coding and Its Discontents lands on an uncomfortable point: the speed AI gives you is paid for with the thinking that made us good engineers in the first place.

    Read code instead of writing it and you get passive recognition where you used to have an active model of the code.

  • Learning New Skills in the AI Era (vBrownBag)

    I joined the vBrownBag podcast with Damian to talk about how to actually learn a new language or skill when an agent can write the code before you finish typing the prompt.

  • Rust, AI, and the Developer Mindset (Develpreneur Podcast)

    I joined the Develpreneur podcast with Jim Hodapp to talk about the Rust developer mindset and what makes Rust a good fit for AI-assisted work.

  • Python Is Not Enough: Why Pythonistas Love Rust (Podcast)

    I joined Bas Steins and Michal Martinka on their complexity.fm show to talk about why Pythonistas are picking up Rust, what AI really does to how we learn, and why vibe coding is a myth. The conversation ran for over an hour because there was a lot to unpack.

  • From Python to Rust: Master Iterators by Rebuilding 10 Unix Tools

    The fastest way I know to learn a language is to rebuild something you already understand. You stop fighting the problem and spend your attention on the syntax and the idioms. That is the whole idea behind the new Unix tools track I just released on the Rust platform: ten small command-line classics, each one a pure function you implement and cargo test to validate you got it right.

  • Why Rust does not need OOP

    When I heard structs replace classes in Rust, I was a bit surprised. I thought, how can you do without classes? But as I started to learn Rust, I realized that structs, traits, ownership and composition help resist the temptation of OOP. In fact, Rust's approach to programming is more focused on data and behavior rather than objects.

    Let's look at 5 reasons why Rust does not need OOP.

  • "Rust Is for People Who Want to Be Punished." Now Jochen Trusts It More Than Python.

    Jochen Deister is a lawyer who codes for fun. He has years of Python behind him and no intention of ever being hired to program.

    Three months ago, Rust was just a name to him, the language for "the big shots" with a notoriously steep learning curve. Then he built a JSON parser from scratch in Rust, and it ran faster than the equivalent in Python on every dataset he tested, up to 3.5x faster on some. "Holy F" he reacted when he saw the results.

  • Learning a New Programming Language Is More Important Now, Not Less

    Josh Engroff has been writing Python for years and runs agentic AI workflows every day. He bought the Rust book a year and a half ago, did some online exercises, stalled.

    Six weeks into the cohort, his hand-rolled JSON parser beat CPython's stdlib json module on every fixture in his benchmark suite, including three real-world files from the simdjson and serde-json corpora. Here is how he did it.

  • 10 Days of Rust for Python Developers: A Recap

    I ran a 10-day beginner Rust challenge on LinkedIn, one small exercise per day, written for Python developers. The goal was to give developers enough exposure to decide whether Rust deserves a real push.

  • A Race Condition Rust Wouldn't Have Let Me Write

    A two-agent Python service ran fine in tests. Two concurrent users hit it and one user's search results showed up in the other user's response. The pattern looked safe. The Rust port doesn't compile.

  • The Rust Compiler as an AI Coding Agent Guardrail

    AI agents write code now. What they can't do is decide what's correct. That gap is where a compiler becomes your best friend. Rust's compiler is famously strict, and that's exactly why it's a powerful tool for working with AI tools. It offers a fast feedback loop, catching errors early and enforcing good practices. This gives you more confidence in the code AI produces.

  • Python to Rust: A JSON Parser in 6 Weeks

    Vikas Zingade is a lead ML engineer who builds complex systems in Python every day. He'd read about Rust, understanding it in theory, but he'd never actually had the borrow checker accept his code.

    Six weeks and six PRs later, he has a fully compliant JSON parser with 210 passing tests that runs 12x faster than simplejson. His confidence in starting a new Rust project from scratch is a solid 7 out of 10.

  • What Rust Structs Taught Me About State Ownership

    Python classes bundle data and behavior together. Rust separates them, and that separation taught me to ask a question I'd been skipping for years.

  • What Building a JSON Tokenizer Taught Me About Rust

    Most Rust learning resources teach concepts one at a time. I learn faster by building something and getting stuck.

  • Learning Rust Made Me a Better Python Developer

    You might be writing Python that silently mutates data it shouldn't, swallows exceptions it shouldn't, and relies on type annotations as suggestions rather than contracts. Not because you're careless, because Python lets you.