News for hackers. Stuff that matters.
Re:Puny GUI – A tiny cross platform GUI Kit in Janet by amelius on Saturday April 25, 2020 @08:38AM (#22977636)
> 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?

Re:Puny GUI – A tiny cross platform GUI Kit in Janet by FraKtus on Saturday April 25, 2020 @09:39AM (#22978009)
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.

Re:Puny GUI – A tiny cross platform GUI Kit in Janet by wjbr on Saturday April 25, 2020 @09:00AM (#22977748)
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.

Re:Puny GUI – A tiny cross platform GUI Kit in Janet by amelius on Saturday April 25, 2020 @10:43AM (#22978457)
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.
Re:Puny GUI – A tiny cross platform GUI Kit in Janet by asdf10 on Saturday April 25, 2020 @08:54AM (#22977724)
You use the Android Native Development Kit (NDK) https://developer.android.com/ndk