3 ms·
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?
by mentos 1y ago
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?
- correa_brian 1y agoWe 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.
- feznyng 1y agoIf 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/ https://napi.rs/