Let’s look into the eBPF memory layout and alignment of structs transferred between the kernel and user-land.
-
Java Panama Polyglot (Rust) Part 4
By exposing native Rust functions, you can be easily accessed using Project Panama’s Foreign Function Access APIs.
-
Java Panama Polyglot (Python/Tensorflow) Part 3
How can you, as a Java developer, execute Python script code and access 3rd party Python libraries such as Tensorflow?
-
Does Java 18 Finally Have A Better Alternative To JNI?
Java 18, released last month, includes the 2nd incubator of the Foreign Function & Memory API (FFI). Let’s look at the state of the Java FFI.
-
Java Panama Polyglot (Swift) Part 2
Hello and welcome back to the Java Panama Polyglot series where we will be presenting quick tutorials or recipes on how to access native libraries written in other languages. In Part 1 you got a chance to learn about how to use …
-
Java Panama Polyglot (C++) Part 1
Java Panama Polyglot series: quick tutorials or recipes on how to access native libraries written in other languages!
-
Project Panama for Newbies (Part 4)
imagine C code capable of performing a computation and after its completion the C code will notify Java code to perform updates to JavaFX UI components.
-
Project Panama for Newbies (Part 3)
We are going to dig a little deeper in our exploration of Project Panama and how to talk to third party libraries such as SDL & OpenGL.
With the skills you’ve learned from Part 1 and Part 2, you should be able to call most of the common function signatures in many libraries out in the wild.
-
Project Panama for Newbies (Part 2)
Welcome to Part 2 of this series, in which we will look at C language’s concept of pointers and structs.
Later on in this article, we will use Panama to mimic these concepts.
The goal is to call C function signatures that are often defined to accept pointers and structs.
-
Project Panama for Newbies (Part 1)
In this series of articles, we will explore the APIs from OpenJDK’s Project Panama.
My intent is to show you how to be proficient in using the Foreign Linker APIs (module ‘jdk.incubator.foreign’) as it relates to Java interoperability with native code.
While this article is for newbies, I assume you know the basics of the Java language, a little bash scripting, and a familiarity with C programming concepts. If you are new to C language don’t worry I will go over the concepts later.