Carl Dea23 articles 278,2K
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.
- Carl Dea
-
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.
- Carl Dea
-
Building Project Panama’s jextract tool by yourself
Learn about jextract, which can generate Java binding code that represents native functions or variables (symbols) from C libraries.
- Carl Dea
-
Java Panama Polyglot (Rust) Part 4
By exposing native Rust functions, you can be easily accessed using Project Panama’s Foreign Function Access APIs.
- Carl Dea
-
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?
- Carl Dea
-
Java Panama Polyglot (Swift) Part 2
Table of Contents RequirementsProblemSolutionSwift PrimerSwift REPL – Hello WorldSwift functionsCreating a dynamic link library on MacOSExampleHow it WorksJava talking to Swift functions as (C functions)Conclusion Hello and welcome back to the Java Panama Polyglot series where we will be presenting quick tutorials …
- Carl Dea
-
Java Panama Polyglot (C++) Part 1
Java Panama Polyglot series: quick tutorials or recipes on how to access native libraries written in other languages!
- Carl Dea
-
Increasing Event Streaming with Kafka and Azul
In this article you will learn how to switch between two different Java runtime environments to run an Apache Kafka instance.
- Carl Dea
-
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.
- Carl Dea
-
Lights, Camera, Action: GitHub Actions with Java (Part 3)
The Java GitHub Actions that rules them all! Hey, everyone check Carl Dea’s 3rd and final instalment Lights, Camera, Action: GitHub Actions with Java
-
Lights, Camera, Action: GitHub Actions with Java (Part 2)
When picking a build distribution with the current version of GitHub Actions setup-java@v2 you really only have two choices: zulu or temurin.
- Carl Dea