Open Levi-Armstrong opened 12 months ago
I haven’t worked with the JS swig generator but it should be possible. I think a better approach would be to use Robot Raconteur which has a JS client library. JS users are typically not going to need low level interface. There is very little analysis work done in JS robotics it is typically front-end work.
The architecture is that you have a separate process running which communicates using Robot Raconteur to the JavaScript UI?
Typically yes, but it is sometimes possible to run the RR service in the same process. With nodejs there are often multiple processes even with relatively simple programs. For instance electron which is the common ui library runs things in multiple separate processes.
@johnwason I am not familiar with SWIG, but noticed that it supports converting to Node JS. I am interested to hear your thoughts on what it might take to updated this to support Node JS?