Saurav Shrivastavsaurav23.hashnode.dev·Aug 30, 2024Understanding the Global Interpreter Lock (GIL) and Its Impact on Threading in PythonWhat is the GIL? The Global Interpreter Lock (GIL) is a mutex that protects access to Python objects, preventing multiple native threads from executing Python bytecode simultaneously. The GIL exists because CPython, the reference implementation of Py...10 likes·31 readsPython
David Odusedavidoduse.hashnode.dev·Aug 9, 2023Unleash Lightning-fast Performance: Experience the Simplicity of Python with the Speed of C++ Using Cython!Python, revered for its prowess in handling massive data sets, reigns as the linchpin for machine learning, artificial intelligence, and statistical analysis. However, it's not without its shortcomings; speed and hardware interaction remain notable c...37 readsPython
Egor Blagovblagovdaryu.hashnode.dev·Feb 20, 2023Tremendously speed up Python code with Cython and package it with PoetryToday we are going to make a C++ extension for Python code, wrap it and embed easily with Cython and then make it installable via Poetry. This article is a continuation of my previous article (you can find it here) about implementing a Trie data stru...11 likes·2.0K readsTrie