What is the best way to create a standalone web based node editor that needs to run python and C/C++?

I am working on a successor to a PyQt based node editor, which is a development environment for scientific algorithms that provides a visual workspace for assembling algorithms. Algorithm elements (i.e. nodes) can be linked together to form a flow diagram. Each node is executed according to the hierarchy of the diagram. (picture below)

https://i.stack.imgur.com/oP4sG.png

The successor is going to be a web-based standalone desktop app that can run locally and with performance, that you can still program the nodes in with python or c/c++.

My question is what is the best approach for this problem, as it needs to have a web frontend and be a desktop app, so electron is the clear choice here for that, but if the backend and frontend will be written in javascript, then communicating and running python and c/c++ does not become trivial.

One option I found and tested for python is that you can create a mini REST server to run scripts that you can package with your electron app, but I do not know if that is the best approach.

submitted by /u/ThisIsFayad
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/ljYosuB

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close