4 ms·
As some of who's had to support Qt, wxWidgets and other crazy x-platform UIs I find electron refreshing. Heck, I've got Rust talking to node.js in it. Elm for
by vvanders 10y ago
As some of who's had to support Qt, wxWidgets and other crazy x-platform UIs I find electron refreshing.
Heck, I've got Rust talking to node.js in it. Elm for the front-end and Rust for the processing, it's a surprisingly pleasant development experience.
- nmca 10y agoHey, is this open source? Sounds very cool. If not, can you point me towards any open source apps that are using a similar approach?
- vvanders 10y agoNot 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.