mirror_bridge: Outrunning V8, PyPy, and LuaJIT with C++26 Reflection
We know Mirror Bridge generated bindings beat the standard Python interpreter. But how do they fare against the big guns?
mirror_bridge - making Python bindings frictionless
You have a Python codebase. Thousands of lines. It works. Your team knows it. Your tests cover it. Your CI/CD deploys it.
Reflection-based JSON in C++ at Gigabytes per Second
JSON (JavaScript Object Notation) is a popular format for storing and transmitting data. It uses human-readable text to represent structured data in the form of attribute–value pairs and arrays. E.g., {"age":5, "name":"Daniel", toys:["wooden dog", "little car"]}.
Ingesting and producing JSON documents can be a performance bottleneck.
Expected Linear-Time Minimum Spanning Trees
TLDR
- Implemented a complex expected linear time algorithm for finding Minimum Spanning Tree.
- Found a bug in an implementation in a 13 years old paper.
- Code available at github