Migrating from a Python-based GUI application to a C++-based application

Hi,

I’m developing an embedded device, which currently has a GUI software package developed in Python (PySide). I’m yet to test the software on a Toradex device, but initial testing on other SBCs has me concerned that Python may be too slow for this particular application and purpose. As such, I’m considering migrating the project to a compiled language such as C++.

At this point in time I can’t justify the commercial Qt license, so I may have to look elsewhere for a C++ GUI framework.

I’d really appreciate if developers with experience in both interpreted and compiled languages (particularly those pertaining to embedded applications) could weigh in, as I’m somewhat at a cross-roads at the moment. Another option I’m considering is to develop a web-based GUI, utilising the existing Python logic in the background, feeding GUI data and logic via websockets to a JavaScript layer. I’ve done this before for non-embedded applications and it works quite well, but I can’t imagine there are many commercial embedded devices employing this approach.

Thanks!

Hi

We at Toradex lack the practical experience to comment on various GUI technologies and their relative performance.

Maybe someone else on the community can comment?

Max

Hi Max,

Thank you for your input; I completely understand your position. Further research has indicated that compiling my Python application (with nuitka), as well as writing the graphical elements directly to the Linux Frame Buffer may offer the performance I require for this project.

Many thanks,

Jamie