Just curious did you guys give any thought to writing the core processing work in a separate Rust solution that your Electron app could call into?
Just curious did you guys give any thought to writing the core processing work in a separate Rust solution that your Electron app could call into?
If anyone does decide to pursue this, you can use napi-rs [0] to write Rust modules and call it from JS. Lower overhead than IPC but you will crash your process if there's an issue in your Rust code.
[0] https://napi.rs/
We considered it and decided all the wrangling wasn't worth it. Briefly also thought about adding in a python process to interact with our ML models, but figured it was worth streamlining this all into a single language/framework vs. creating frankenstein's monster.