Is there an alternative to JNI or JNA to use a native library on Android ?
not kotlin but kotlin colored 1
d
David
07/18/2024, 1:47 PM
gRPC and unix domain socket (We do use some JNI for create & destroy though)
c
Chrimaeon
07/18/2024, 6:58 PM
Image from iOS.jpg
a
alexandre mommers
07/18/2024, 7:26 PM
@David Thank's that a creative idea, how about the overhead ?
@Chrimaeon This about how to call a native library on kotlin code and on android, I don't get your point.
👍 1
d
David
07/18/2024, 8:42 PM
We experienced some delay in messages, a few ms, nothing too terrible but we expected better with UDS. We don't send massive amounts of data, so no idea about throughput. For protocol reasons we can't use square's wire lib, maybe that is better when it comes to performance 🤷
We are open source so feel free to take a look