News for hackers. Stuff that matters.
Re:Rawdrawandroid – Build Android apps without any Java, in ... by kllrnohj on Sunday September 22, 2024 @06:47PM (#41620750)
C++ or Rust? Or Zig? Or D? Kinda pretty much anything else tbh?
Re:Rawdrawandroid – Build Android apps without any Java, in ... by mdp2021 on Sunday September 22, 2024 @08:18PM (#41621217)
So what you are suggesting seems to be, rewrite android_native_app_glue.c in (say) Zig and compile to the .so? Good, but it would nice to see a proof of concept. Also to see how extensive the work has to be: I am not checking all the tree, but android_native_app_glue has includes itself:

  #include <android/configuration.h>
  #include <android/looper.h>
  #include <android/native_activity.h>