Static Protocols in Python: Behaviour Over Inheritance
Patrick Müller explores how Python's static protocols enable "static duck typing," allowing developers to define interfaces based on behavior (structural typing) rather than inheritance (nominal typing). He argues that this approach promotes loose coupling and greater flexibility in software design, particularly in complex fields like machine learning where diverse libraries and coding s...
https://patrickm.de/static-protocols-in-python/
Patrick Müller explores how Python's static protocols enable "static duck typing," allowing developers to define interfaces based on behavior (structural typing) rather than inheritance (nominal typing). He argues that this approach promotes loose coupling and greater flexibility in software design, particularly in complex fields like machine learning where diverse libraries and coding s...
https://patrickm.de/static-protocols-in-python/
Patrick Müller
Static Protocols in Python: Behaviour Over Inheritance
The first time I read about protocols was in the book "Fluent Python" by Luciano Ramalho. This book goes deep. Deeper than I knew Python at that time. If you hadn't heard of Protocols before, I'll give you a short introduction.
Protocols have something to…
Protocols have something to…
shareAI-lab / learn-claude-code
How can we build a true AI agent? Like Claude Code.
https://github.com/shareAI-lab/learn-claude-code
How can we build a true AI agent? Like Claude Code.
https://github.com/shareAI-lab/learn-claude-code
GitHub
GitHub - shareAI-lab/learn-claude-code: How can we build a true AI agent? Like Claude Code.
How can we build a true AI agent? Like Claude Code. - shareAI-lab/learn-claude-code
How uv got so fast
uv's speed comes from engineering decisions, not just Rust. Static metadata, dropping legacy formats, and standards that didn't exist five years ago.
https://nesbitt.io/2025/12/26/how-uv-got-so-fast.html
uv's speed comes from engineering decisions, not just Rust. Static metadata, dropping legacy formats, and standards that didn't exist five years ago.
https://nesbitt.io/2025/12/26/how-uv-got-so-fast.html
Andrew Nesbitt
How uv got so fast
uv’s speed comes from engineering decisions, not just Rust. Static metadata, dropping legacy formats, and standards that didn’t exist five years ago.
awesome-agentic-patterns
A curated catalogue of awesome agentic AI patterns.
https://github.com/nibzard/awesome-agentic-patterns
A curated catalogue of awesome agentic AI patterns.
https://github.com/nibzard/awesome-agentic-patterns
GitHub
GitHub - nibzard/awesome-agentic-patterns: A curated catalogue of awesome agentic AI patterns
A curated catalogue of awesome agentic AI patterns - nibzard/awesome-agentic-patterns
Unit testing your code’s performance, part 1: Big-O scaling
Your software’s speed needs some form of testing; big-O scaling is a good starting point.
https://pythonspeed.com/articles/big-o-tests/
Your software’s speed needs some form of testing; big-O scaling is a good starting point.
https://pythonspeed.com/articles/big-o-tests/
Python⇒Speed
Unit testing your code’s performance, part 1: Big-O scaling
Your software’s speed needs some form of testing; big-O scaling is a good starting point.
Recent optimizations in Python's Reference Counting
CPython 3.14+ introduced LOADFASTBORROW, a bytecode optimization that skips reference count increments when loading local variables in hot loops, using static lifetime analysis to ensure safety. This reduces memory management overhead in performance-critical code like tight loops, mimicking Rust-style borrowing while preserving Python's reference counting model, with further JIT optimi...
https://rushter.com/blog/python-refcount/
CPython 3.14+ introduced LOADFASTBORROW, a bytecode optimization that skips reference count increments when loading local variables in hot loops, using static lifetime analysis to ensure safety. This reduces memory management overhead in performance-critical code like tight loops, mimicking Rust-style borrowing while preserving Python's reference counting model, with further JIT optimi...
https://rushter.com/blog/python-refcount/
Artem Golubin
Recent optimizations in Python's Reference Counting
An overview of recent optimizations in Python's reference counting.
PennyLane
PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Built by researchers, for research.
https://github.com/PennyLaneAI/pennylane
PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Built by researchers, for research.
https://github.com/PennyLaneAI/pennylane
GitHub
GitHub - PennyLaneAI/pennylane: PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and…
PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Built by researchers, for research. - GitHub - PennyLaneAI/pennylane: PennyLane...
SleepFM
A multimodal sleep foundation model that can predict 130 diseases from 1 night of sleep.
https://github.com/zou-group/sleepfm-clinical
A multimodal sleep foundation model that can predict 130 diseases from 1 night of sleep.
https://github.com/zou-group/sleepfm-clinical
GitHub
GitHub - zou-group/sleepfm-clinical
Contribute to zou-group/sleepfm-clinical development by creating an account on GitHub.