Explore >> Select a destination


You are here

bernsteinbear.com
| | ashvardanian.com
3.8 parsecs away

Travel
| | Python's not the fastest language out there. Developers often use tools like Boost.Python and SWIG to wrap faster native C/C++ code for Python. PyBind11 is the most popular tool for the job not the quickest. NanoBind offers improvements, but when speed really matters, we turn to pure CPython C API bindings. With StringZilla, I started with PyBind11 but switched to CPython to reduce latency. The switch did demand more coding effort, moving from modern C++17 to more basic C99, but the result is a 5x lower ...
| | blog.hakril.net
2.1 parsecs away

Travel
| |
| | alexgaynor.net
2.2 parsecs away

Travel
| | [AI summary] The article discusses PyPy as a potential future for Python, highlighting its speed, flexibility, and advantages over CPython, while also noting current limitations and ways to contribute to its development.
| | coredumped.dev
24.9 parsecs away

Travel
| In this post, we are going to take a deep dive into pointer tagging, where metadata is encoded into a word-sized pointer. Doing so allows us to keep a compact representation that can be passed around in machine registers. This is very common in implementing dynamic programming languages, but can really be used anywhere that additional runtime information is needed about a pointer. We will look at a handful of different ways these pointers can be encoded and see how the compiler can optimize them for diff...