Open dcyoung opened 7 years ago
Hi, I think simplicity is always better. Furthermore, python has powerful multiprocessing and threading API that simplifies synchronization a lot. I know, it isn't a real threading library, however, from my personal experience, it's very performing. I am instead working on a touch GUI written in kivy + phyton very similar to sweep-3d-scanner at least in functionalities. I think it could be a very professional accessory. My aims are speed, simplicity of use an professional appearance. I tried to "chromify" webapp on touch, but it's a trick that does not work well. So, I decided to work witch kivy using my past experience with a 3D printer touch screen controlle GUI. Do you think it's interesting? Thanks
Currently we have just a single node app, which uses node's child_process module to execute external python scripts. Updates/feedback from the executing script is accomplished by piping stdout (python process) into stdin (node process). Stringified JSON is then sent from the python process to the node process as a kind of poor man's IPC.
Instead, we could investigate running both a python app and a node app, while using ZeroRPC to make remote procedure calls. Instead of the node app spawning python scripts, a python app would simply run in parallel. The node app could request actions or updates from the python app via zeroRPC. See: