Re:Bare-metal Rust in Android
by ireallywantthat on Tuesday October 10, 2023 @03:31AM
(#37829426)
> it _has_ to use the system-provided Java APIs.
My original comment was against this. Why should this be the case?
And for that same reason, you don't see many apps do the same thing. Any time Chrome needs to request a permission (access files, location, etc), it _has_ to use the system-provided Java APIs.
> Even Google's own Flutter uses a C++ engine to run Dart applications.
As do most games, so you can essentially think of Flutter as a game engine that renders apps.
> Android's JVM system is a collection of Java wrappers around C++ libraries.
As others have mentioned, this is very much not the case.