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.
-
Async file IO with Java and io_uring
Table of Contents What is PanamaManaging memoryMaking calls up and downWhat is io_uringSingle read with Java and UringPerformance improvementsTurning pinning into yieldingBringing It All Together When I first started exploring Virtual Threads in Java, I wanted to understand everything about …
-
Foojay Podcast #62: Better Coding with AI: Friend or Enemy?
Table of Contents VideoPodcast AppsGuestsLinksContent AI, LLMs, ChatGPT—these are just a few of the buzzwords of the massive revolution unfolding right now. These tools are reshaping how we work, but they come with a catch: while they help us work …
-
Foojay Podcast #56: Vectors in Java Code, Databases, and LLMs
In this Foojay podcast, we enter the world of mathematics by discussing Vectors and how they are crucial for AI and machine learning.
-
Foojay Podcast #47: Artificial Intelligence and Machine Learning with Java
The way we search for information and develop software has changed a lot since then as the use of Artificial Intelligence suddenly became a lot easier. What can we expect in the near future?
-
Java 22 Is Here, And It’s Ready To Rock
Java 22 is here, and it’s ready to rock! Boasting a set of 12 JEPs, it finalizes features like ‘unnamed variables and patterns’ and previews new ones like ‘statements before super(…)’ and ‘stream gatherers’ .
-
Foojay Podcast #29: How will AI and ML Influence the Role of Developers?
Every conference has several talks about these technologies, and on Foojay, you can find multiple posts about it. Let’s take a look at it from the Java point of view.
-
Java 21 is Available Today, And It’s Quite the Update
Today’s the first day of Java 21’s availability! It’s been six months since Java 20 was released, so it’s time for another fresh wave of Java features.
-
It’s Java 20 Release Day! Here’s What’s New
In this article, we will take you on a tour through all JEPs that come with this release and give you a brief introduction of each one of them.
-
Foojay Podcast #5: OpenJDK 19 Discussion Panel
It’s September 20th, OpenJDK 19 has been released. In this podcast, we discuss the new features and the changes that this release brings.