mappu / miqt

MIT-licensed Qt bindings for Go
MIT License
290 stars 11 forks source link

Optimize C ABI boundaries #9

Open mappu opened 3 months ago

mappu commented 3 months ago

The Go binding calls a C ABI binding, which calls the Qt C++ functions. Overall, it's somewhat efficient.

But to comply with the common C ABI, there are some places where data types must be converted, or moved onto the heap. This could be optimized in some cases.

Ideas:

mappu commented 2 months ago