Python Bytes

#448 I'm Getting the BIOS Flavor

Sep 8, 2025
Discover the innovative tool, prek, a Rust alternative to pre-commit that boosts efficiency without the hassle of Python installations. Explore TinyIO, a lightweight async approach simplifying concurrency in Python. Dive into the power of Python's print function and the crucial responsibility developers have when using AI. Laugh along as the hosts discuss a major AI settlement and the humorous mishaps that come with tech. And don't miss their playful banter on Slurpee flavors and the quirks of AI communication!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Try Prek For Faster Pre-Commit Workflows

  • Try prek (pre-commit reimplemented in Rust) to speed up installs and CI runs and reduce cache size.
  • Use prek's new flags like --directory, --last-commit, and prek list to simplify hook selection and workflows.
INSIGHT

Rust Shines For File-Parsing Hooks

  • Rewriting common file-parsing hooks in Rust yields measurable runtime gains for many repositories.
  • Small, repeated file-scanning tasks benefit most because Rust reduces parsing and startup overhead.
ADVICE

Use TinyIO For Small, Predictable Concurrency

  • For simple concurrent tasks, consider TinyIO as a minimal event loop replacing complex asyncio patterns.
  • Use TinyIO for self-contained scripts or learning because it cancels all tasks on error and simplifies propagation.
Get the Snipd Podcast app to discover more snips from this episode
Get the app