"Enabling" C threads in a Python / Wasm environment
The author details the significant hurdles of implementing high-performance C++ multithreading within a Pyodide (Python on WebAssembly) environment, specifically for real-time applications where Python's GIL and FFI overhead are too slow. His solution involves a custom-patched Pyodide built with -pthread and a specialized C++ thread pool that avoids deadlocks by using low-level Wasm buil...
https://yosefk.com/blog/enabling-c-threads-in-a-python-wasm-environment.html
The author details the significant hurdles of implementing high-performance C++ multithreading within a Pyodide (Python on WebAssembly) environment, specifically for real-time applications where Python's GIL and FFI overhead are too slow. His solution involves a custom-patched Pyodide built with -pthread and a specialized C++ thread pool that avoids deadlocks by using low-level Wasm buil...
https://yosefk.com/blog/enabling-c-threads-in-a-python-wasm-environment.html
Auto updating knowledge graph from meeting notes
Build a meeting knowledge graph from Google Drive using LLM extraction and graph database, with automatic continuous updates.
https://github.com/cocoindex-io/meeting-notes-knowledge-graph
Build a meeting knowledge graph from Google Drive using LLM extraction and graph database, with automatic continuous updates.
https://github.com/cocoindex-io/meeting-notes-knowledge-graph
Tenso
High-performance zero-copy tensor serialization for Fastest Transmission.
https://github.com/Khushiyant/tenso
High-performance zero-copy tensor serialization for Fastest Transmission.
https://github.com/Khushiyant/tenso
GitHub
GitHub - Khushiyant/tenso: High-performance zero-copy tensor serialization for Fastest Transmission
High-performance zero-copy tensor serialization for Fastest Transmission - Khushiyant/tenso
randomized-svd
randomized-svd is a lightweight, high-performance Python library for computing the Randomized Singular Value Decomposition (rSVD).
https://github.com/massimofedrigo/randomized-svd
randomized-svd is a lightweight, high-performance Python library for computing the Randomized Singular Value Decomposition (rSVD).
https://github.com/massimofedrigo/randomized-svd
GitHub
GitHub - massimofedrigo/randomized-svd
Contribute to massimofedrigo/randomized-svd development by creating an account on GitHub.
TrustGraph
The Context Graph Factory for AI. Build, manage, and deploy AI-optimized Context Graphs.
https://github.com/trustgraph-ai/trustgraph
The Context Graph Factory for AI. Build, manage, and deploy AI-optimized Context Graphs.
https://github.com/trustgraph-ai/trustgraph
GitHub
GitHub - trustgraph-ai/trustgraph: The Context Graph Factory for AI. Build, manage, and deploy AI-optimized Context Graphs.
The Context Graph Factory for AI. Build, manage, and deploy AI-optimized Context Graphs. - trustgraph-ai/trustgraph
What async really means for your python web app?
The author challenges the hype around async Python, demonstrating through benchmarks that for most database-driven web apps, synchronous Django with connection pooling often outperforms or matches async alternatives. The study concludes that unless a service is highly distributed or the primary bottleneck, the overhead of async can actually degrade performance, making sync the more effic...
https://hackeryarn.com/post/async-python-benchmarks/
The author challenges the hype around async Python, demonstrating through benchmarks that for most database-driven web apps, synchronous Django with connection pooling often outperforms or matches async alternatives. The study concludes that unless a service is highly distributed or the primary bottleneck, the overhead of async can actually degrade performance, making sync the more effic...
https://hackeryarn.com/post/async-python-benchmarks/
hackeryarn
What async really means for your python web app?
Python continues to get better async support and with that comes pressure to switch. See the realistic effects that switching to async would have on your web servers.
👍2
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.