Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How about speed from going from C/C++ to Java/Kotlin? Have they considered that even?



See the section "Safety measures make memory-unsafe languages slow"


It will most likely be C/C++ -> Rust for performance critical modules.


Much 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.


I'm assuming that's why they have Rust in the mix there, for where performance is still critical.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: