#Communication with C++ Engine

2 messages · Page 1 of 1 (latest)

unique basalt
#

I would like to make an audio application that uses Tauri for the user interface. We already have an audio engine that is written in C++, How can I combine Tauri with this C++ engine?
How can I make the Rust part of the Tauri app communicate with a piece of C++ code? Can I use shared memory? Can I use the FFI for this? Or is that only for simple string based communication?
I need efficient communication, so sockets is not best idea.
Any advice would be very welcome!

sour brook