Skip to content

Comment on Puny GUI – A tiny cross platform GUI Kit in Janetparent

Comments

I made applications with Nuklear that runs on Android, iOS, macOS, Windows and share the same main C code.

How do you even compile C code for Android / PlayStore?

I use Visual Studio on Windows with Android (NDK) integration.

Debugging is working smoothly, I was surprised how good the experience was.

My setup is that Window run in a VM (Parallels) from macOS.

I can then open the iOS code from XCode and the Android from Visual studio and switch very quickly between the targets.

In that way, I always commit versions that I already tested and debugged on all the targets I need to support.

https://developer.android.com/ndk

Android NDK

The Android NDK is a toolset that lets you implement parts of your app in native code, using languages such as C and C++. For certain types of apps, this can help you reuse code libraries written in those languages.

Interesting. I was under the impression that all apps on Android would run inside a Java sandbox, but apparently this is not the case. However, now I'm wondering how safe it is to run apps that might contain native code.

You use the Android Native Development Kit (NDK) https://developer.android.com/ndk

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.