Discover the innovative terminal emulator Ghostty that combines speed, features, and a user-friendly design for MacOS and Linux users. Learn about the transition to a simpler Bash setup for efficient Python development and the introduction of WinLoop to enhance AsyncIO on Windows. Dive into secure coding practices with a focus on threat modeling and collaborative strategies. The hosts also share their personal coding experiences, upcoming events in the Python community, and the evolution of podcasting into an interactive learning platform.
Ghostty is a new terminal emulator designed for speed and features, integrating seamlessly with various shells for enhanced user experience.
WinLoop significantly improves AsyncIO performance on Windows, addressing compatibility issues with UV loop and increasing efficiency for developers.
Deep dives
Terminal Emulator Advancements
Ghosty is a newly released terminal emulator that aims to combine speed, feature richness, and a native user interface. It is built using the Zig programming language and has been designed with performance in mind, boasting streamlined code that enhances its efficiency. Although it is still being compared to existing emulators like Warp, many users have reported its fast operation and appealing features like theming. Ghosty also integrates well with various shells, automatically injecting shell configurations for popular options like Bash and Z shell.
AsyncIO Performance for Windows
WinLoop offers a new solution for Windows users dealing with AsyncIO, which has previously faced compatibility issues with UV loop, a high-performance event loop for Mac and Linux. The creator, Vizonext, modified the source code of UV loop to ensure it works on Windows by addressing specific compatibility hurdles, such as forking processes. This advancement allows developers to improve AsyncIO performance on Windows significantly, with benchmarks displaying up to five times faster performance in some cases. WinLoop is particularly useful for developers aiming to create cross-platform applications without sacrificing performance.
Enhanced F-string Formatting
The latest updates to the Rough 2025 style guide include significant enhancements to F-string formatting, reflecting the evolving needs of Python developers. The guide now supports better handling of interpolated expressions within F-strings, making it easier to write complex expressions without clutter. It introduces features such as code splitting across multiple lines and normalization of quotes, which improves code readability and maintenance. These updates are part of a larger effort to streamline Python coding practices and improve developer productivity.
Proactive Dependency Security
UV Secure is a new tool that enhances dependency management by allowing developers to assess vulnerabilities before installing packages in their projects. Unlike existing tools that scan installed packages for vulnerabilities, UV Secure evaluates the risk profile of dependencies based on requirements files or lock files. By interfacing with an API to check for known vulnerabilities, it helps developers avoid installing potentially harmful packages right from the start. This proactive approach not only improves security but strives to create a safer development environment for Python projects.
Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.
Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.
Started by Mitchel Hashimoto, one of the co-founders of Hashicorp
“Ghostty is a terminal emulator that differentiates itself by being fast, feature-rich, and native. While there are many excellent terminal emulators available, they all force you to choose between speed, features, or native UIs. Ghostty provides all three.”
Features: cross-platform, windows, tabs, and splits, Themes, Ligatures, …
Shell Integration: Some Ghostty features require integrating with your shell. Ghostty can automatically inject shell integration for bash, zsh, fish, and elvish.
“fish is a smart and user-friendly command line shell with clever features that just work, without needing an advanced degree in bash scriptology.”
“fish 4.0 is a big upgrade. It’s got lots of new features to make using the command line easier and more enjoyable, such as more natural key binding and expanded history search. And under the hood, we’ve rebuilt the foundation in Rust.”
Michael #2:Winloop: An Alternative library for uvloop compatibility with windows
This tool will scan PyPi dependencies listed in your uv.lock files (or uv generated requirements.txt files) and check for known vulnerabilities listed against those packages and versions in the PyPi json API.
I don't intend uv-secure to ever create virtual environments or do dependency resolution - the plan is to leave that all to uv since it does that so well and just target lock files and fully pinned and dependency resolved requirements.txt files).
Works “out of the box” with a requirements.txt from uv pip compile.