2 ms·
Not yet but it will be once it's a little further along. Rust -> Node -> Rust is pretty simple, just expose a c api and wrap it with node-ffi. Then I have the
by vvanders 10y ago
Not yet but it will be once it's a little further along.
Rust -> Node -> Rust is pretty simple, just expose a c api and wrap it with node-ffi. Then I have the main thread piping messages over to the relevant windows straight into Elm ports.
Nice bit is you can pass callbacks into Rust that calls js via c function pointers. Saves a ton of time marshaling data and is more efficient.