News for hackers. Stuff that matters.
Re:Announcing Rust 1.16 by FlyingSnake on Thursday March 16, 2017 @03:00PM (#13887966)
I'm aware of long polling of file/socket and libdispatch.dispatch_source to update main threads from BG on iOS/Android. I'll have to try that out and find if it works.

>You can also have your app provide a C callback to the Rust code

That's exactly what I'm doing, however callbacks become cumbersome after a while, and I don't like that pattern. I need to do MVVM where the View is a thin iOS/Android layer, and the VM is in Rust. Right now there are significant hurdles to keep references from Swift to Rust and vice versa.

There are no comments on this comment yet.