4 ms·
How does Elixir interacts with the Rust code ?
How does Elixir interacts with the Rust code ?
Via native implemented functions aka NIFs.
The Rust app is kept as a standalone application. Elixir spawns the process, passes it an internal URL where it can post its output, and forgets about it, since each run might take a few minutes to hours to complete.