After a while working on this, it is finally out!
@rustlang integrated with #Android and @kotlin.
https://fernandocejas.com/blog/engineering/2023-07-27-rust-cross-platform-android/
#android #androiddev #rust #jni #c #kotlin
Tool of the day: https://github.com/dg76/signpackage
If you want to notarize your Java app with native libraries for Mac OS.
#notarize #java #jni #macos
I do love #golang #cgo for interfacing to non-go (C) library code and system features. Much nicer than #jni and easy to wrap both C strings and structs, and doing so both ways. This made it simple to use #coventry ipc from apollo as well as to run the libeXosip2 stack under go.
Project Panama will enhance the native code handling in Java. I'm really excited about this addition to the #JVM since my current project uses a lot of #JNI to parse and memory map media files, run GPU accelerated face detection and use netty native bindings for epoll / io_uring.
Maybe we'll see a lot more native enabled projects in the future of #Java
@cryptomator That's what an implementation via libappindicator does look like on a vanilla #GNOME DE.
The implementation could be done via #JNI or #JNA, but I decided for the #ProjectPanama FFI as a state of the art approach.
https://my.hidrive.com/lnk/EZilnQwM
#GNOME #jni #jna #projectpanama
Recently I discovered setjmp/longjmp (a non-local goto) which allowed me to dynamically bypass an indefinitely blocking (external) library call (in my case a #JNI method on #Android ).
In conjunction with pthread_cond_timedwait(), the block times out and makes a non-local goto (jump) to the code right before the blocked call, then executes a normal goto past the blocked call. Sounds a bit of a hack..I might finesse a bit.
Exploring #JNI performance via Decoding Base64 https://bit.ly/3FpCrvN #Java
RT @bentolor@twitter.com
Learn about improved tools, performance, diagnostics and other hidden gems in new #Java #LTS in my new article in Java aktuell (german)
#jfr #jpackage #ZGC #Shenandoah #JNI #AppCDS #Monitoring #JNI #ForeignMemory
https://www.doag.org/fileadmin/Daten/Zeitschriften/Java_aktuell/2022/05-2022-Java_aktuell-WEB.pdf#page=10
#java #lts #jfr #jpackage #zgc #shenandoah #jni #AppCDS #monitoring #foreignmemory
Bingo! This is another one of my highlights moments!
Just a little research and hacking of the #Rust/Cargo build process, save my life of building the library of #signal-cli : #zkgroup.
I should appreciate myself for being one second more patient in tackling the build issue on #openbsd/#netbsd, before I give up.
Actually the author of #jni had already fixed the issue while zkgroup had not been adopted yet. 😏
#zkgroup #openbsd #jni #rust #signal