3 ms·
It's going to happen, and it's going to be glorious!
by brson 11y ago
It's going to happen, and it's going to be glorious!
- saosebastiao 11y agoPlease tell me more!
- brson 11y agoOK, imagine... You run a single command to instantiate a family of cross-platform Cargo projects, one your platform-agnostic backend, and one for each of your target platforms: Linux, Windows, Mac, Android, iOS, of course, but also the entire impending IoT down to the smallest real-time device. Your platform-specific projects come with safe Rust bindings to the system platform (ala Xamarin). Another single command builds and tests this from a single host system on an armada of virtual machines, emulators and cloud systems. Your tests run on a wide variety of standardized machine images, including those used for upstream Rust's own integration testing. Another single command packages this for various Linuxes and app stores, deploys to your devices and cloud services. Three commands, total world domination :)
- saosebastiao 11y agoTake my money!
- Touche 11y agoHow are you going to bridge between rust and the Android Java apis?
- vvanders 11y agoThere's already quite a few JNI wrappers out there for pure-native activities.
- SneakerXZ 11y agoBut you need to automate it, you need something that generate JNI wrappers and that it generates Rust wrappers around it and vice versa. With ObjC, you have similar problems and same goes for C#. It would be nice but I don't think it will happen anytime soon.