Explore >> Select a destination


You are here

tenthousandmeters.com
| | ashvardanian.com
2.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 ...
| | madebyme.today
3.6 parsecs away

Travel
| | Some time ago, during a code review, I had a discussion with a colleague of mine about preferring dict() over {} in new Python code. They argued that dict() is more readable - and expresses intent more clearly - therefore should be preferred. I wasn't convinced by that, but at that time I didn't have any counterarguments, so I passed. Yet that made me wonder: what's the difference between the dict type and {} literal expression?
| | doughellmann.com
2.9 parsecs away

Travel
| |
| | aarol.dev
25.9 parsecs away

Travel
| I wanted to reduce the number of dependencies in my Rust project, and I noticed that the rust-i18n crate has a lot of dependencies (a whopping 46 of them). ...