From: π <sun...@gm...> - 2015-08-05 22:46:38
|
Hello everyone, Last winter I did a complete (from the ground up) rewrite of PyCXX, making full use of modern design patterns allowed by C++11. It started out as an adventure and a vehicle with which to explore/learn C++, and ended up consuming several months and relapsing strain injuries from which I'm still struggling. I am happy with the result, and welcome improvements and suggestions, although my main focus is currently elsewhere. PiCxx currently only supports Python3; I did not find the energy to add Python2 support, although it would be small amount of work in relation to the project. My gratitude to those that guided me, notably Barry for writing the original, Yhg1s on IRC for patiently pulling me through the necessary CPython internals, and a couple of splendid engineers on Stack Overflow. Shortly after completing work, I learned that Apple are planning to open source Swift, which is a truly modern language that gives a level of flexibility close (enough) to Python, at speeds close (enough) to C/C++. I've been planning to integrate Python into JUCE (a multi-platform C++ framework), and Swift may prove to be a better solution, so as far as my own purpose is concerned I may have wasted a noticeable chunk of my life-force spinning my wheels. But maybe it is of some interest to another. And maybe I will in the future use it myself. PiCxx is available here: https://github.com/p-i-/PiCxx <https://github.com/p-i-/PiCxx> π |