After a while working on this, it is finally out!

@rustlang integrated with and @kotlin.

fernandocejas.com/blog/enginee

#android #androiddev #rust #jni #c #kotlin

Last updated 1 year ago

Anthony Goubard · @anthony_goubard
24 followers · 105 posts · Server foojay.social

Tool of the day: github.com/dg76/signpackage
If you want to notarize your Java app with native libraries for Mac OS.

#notarize #java #jni #macos

Last updated 1 year ago

Tycho Softworks · @tychosoft
399 followers · 5746 posts · Server fosstodon.org

I do love for interfacing to non-go (C) library code and system features. Much nicer than and easy to wrap both C strings and structs, and doing so both ways. This made it simple to use ipc from apollo as well as to run the libeXosip2 stack under go.

#golang #cgo #jni #coventry

Last updated 1 year ago

Joel Auterson · @joel
156 followers · 389 posts · Server otter.garden

I have been consulting the ancient texts

#java #jni

Last updated 1 year ago

Johannes Schüth · @jotschi
14 followers · 50 posts · Server fosstodon.org

Project Panama will enhance the native code handling in Java. I'm really excited about this addition to the since my current project uses a lot of 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

youtube.com/watch?v=M57l4DMcAD

#jvm #jni #java

Last updated 1 year ago

Sören Brunk · @soeren
47 followers · 52 posts · Server social.brunk.io

I'm using to create bindings for a library. Bad idea?

#jni #scala #rust

Last updated 1 year ago

Ralph Plawetzki · @purejava
20 followers · 74 posts · Server floss.social

@cryptomator That's what an implementation via libappindicator does look like on a vanilla DE.

The implementation could be done via or , but I decided for the FFI as a state of the art approach.
my.hidrive.com/lnk/EZilnQwM

#GNOME #jni #jna #projectpanama

Last updated 1 year ago

Bart Louwers · @bart
41 followers · 122 posts · Server floss.social

Reading a 25 year old engineering book on that is still the most up-to-date book on the subject. Native development is wild.

#Java #jni

Last updated 1 year ago

Fynn :anarchism: · @fynn
50 followers · 162 posts · Server kolektiva.social

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 method on ).

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.

#cprogramming #jni #Android

Last updated 2 years ago

Markus Eisele · @myfear
848 followers · 309 posts · Server mastodon.online

Exploring performance via Decoding Base64 bit.ly/3FpCrvN

#Java #jni

Last updated 2 years ago

Christian · @schrumpelnase
24 followers · 775 posts · Server sueden.social
MDrights :slackware: :pine64: · @mdrights
439 followers · 1616 posts · Server fosstodon.org

Bingo! This is another one of my highlights moments!

Just a little research and hacking of the /Cargo build process, save my life of building the library of -cli : .

I should appreciate myself for being one second more patient in tackling the build issue on /#netbsd, before I give up.

Actually the author of had already fixed the issue while zkgroup had not been adopted yet. 😏

#zkgroup #openbsd #jni #rust #signal

Last updated 4 years ago