Skip to content

Android runtime through NDK #109746

Discussion options

You must be logged in to vote

That's very rough simplification. Both MonoVM and NativeAOT runtimes are built on Android NDK and run as a separate virtual machine alongside Dalvik (the Java VM). C# is not translated to Java, it is translated to native code and run directly (either through JIT, interpreter or precompiled code).

There's a Java interop layer on top of MonoVM that bridges the world of Java and .NET, the projection of the objects and garbage collection. It's implemented on top of Java Native Interface (JNI) with bits of Java code shipped in the runtime and bits of the interop generated when you compile the .NET Android app.

Both MonoVM and NativeAOT runtimes are also shipped with linux-bionic variants witho…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tonisimakov99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants