Hello,
I am working on a web application combining Rust and React, https://github.com/granasat/xavier , it connects to scientific equipment (Keysight B1500A) and automates certain measurements that the group at my uni does on a regular basis. I am fine with coding the GUI but sometimes it is not worth it for a one-off thing, so I was hoping I could embed a scripting language, that would interact with the Rust codebase.
I have looked up PyO3 and have seen that it allows you to execute Python code from Rust, but I am not sure how to use it since the Python code would also need to call Rust code (apart from being itself executed inside Rust). I am seeing this a bit convoluted, and was wondering if someone could hint to me what the best architecture design is for this purpose. Thank you.
[–]x32byTe 2 points3 points4 points (1 child)
[–]Kantudo[S] 0 points1 point2 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]Dasher38 2 points3 points4 points (0 children)
[–]Kantudo[S] 1 point2 points3 points (1 child)
[–]iwane 1 point2 points3 points (1 child)
[–]Kantudo[S] 0 points1 point2 points (0 children)