Posts in programming
Late Binding of Python Closures
- 22 July 2024
A subtle source of bugs in loops and closures. When lambda functions capture loop variables, they may not behave as you expect.
Writing C wrapper for C++ libraries
- 12 June 2024
When working on projects that involve both C and C++ components, integrating functionality between the two can sometimes pose challenges due to the differences in their language constructs and compilation models. One common scenario is when you have a C++ library that you want to use within a C codebase.
Threads in PySide6, Python packaging and Executables
- 15 January 2024
This post seves a guide as well as notes for developers working with PySide6. It covers topics such as managing output streams across scripts, running Python scripts in separate threads, and creating executable Python packages.