I've wondered for some time how to use Cython in QGIS. I know I can integrate a Cython code in python, but I want Cython to handle QGIS classes. QGIS is built upon QT, every qgis object is a qobject written in c++, and PyQgis are python bindings to them. Is it possible to use those QGIS Object from Cython? Would it be better to import the Python binding (doesn't seem optimal) or the c++ object to Cython? Is it even doable?
I ask this because sometimes to gain performance, I'd like to rewrite some functions in Cython. My plugin is fully written in Python. My skills on cython are lacking too, maybe I'm asking something obvious. I did reread the doc multiple times. It was a big success for me to compile my first and get my first .so file to print hello world.
My english programming skills are lacking, I may have said some really stupid things. I'm sorry I'm just trying to learn.
أكثر...
I ask this because sometimes to gain performance, I'd like to rewrite some functions in Cython. My plugin is fully written in Python. My skills on cython are lacking too, maybe I'm asking something obvious. I did reread the doc multiple times. It was a big success for me to compile my first and get my first .so file to print hello world.
My english programming skills are lacking, I may have said some really stupid things. I'm sorry I'm just trying to learn.
أكثر...