News for hackers. Stuff that matters.
Re:State of Python 3.13 Performance: Free-Threading by nomel on Tuesday November 05, 2024 @06:51PM (#42056249)
> it’s extremely easy to replace parts of your Python code with something like C

I tend to use C++, so use SWIG [1] to make python code to interface with C++ (or C). You can nearly just give it a header file, and a python class pops out, with native types and interfaces. It's really magical.

[1] https://www.swig.org

There are no comments on this comment yet.