5 ms·
How about speed from going from C/C++ to Java/Kotlin? Have they considered that even?
by lzooz 4y ago
How about speed from going from C/C++ to Java/Kotlin? Have they considered that even?
- summerlight 4y agoIt will most likely be C/C++ -> Rust for performance critical modules.
- HideousKojima 4y agoI'm assuming that's why they have Rust in the mix there, for where performance is still critical.
- insanitybit 4y agoSee the section "Safety measures make memory-unsafe languages slow"
- uluyol 4y agoMuch of Android is written in Java/Kotlin. Transitions from the JVM to C/Rust and back are not going to be free due to extra wrappers and the inability to optimize across the boundary. So for some usecases Java will be faster. But anything CPU or memory intensive will probably be cheaper in Rust.