
Java Native Interface
Application programming interfaceWikipedia
6
MENTIONS
5
EPISODES
4
PODCASTS
Search complete. 6 mentions across 5 episodes found for "Java Native Interface".
Sep 10, 2026
Netflix’s Paul Bakker
J
28:18Josh LongHOST
When you say you're using in-memory data stores, are any of those using ...
J
28:22Josh LongHOST
A lot of data stores use off-cheap memory, right? So the memory is held, it's malloced by some JNI C++ code, right? There's just a malloc, 10 gigs, and then the JVM manually puts things into this native buffer off to the side.
J
28:39Josh LongHOST
Is that what you're doing, or is that actual Java objects on the JVM
P
28:42Paul BakkerGUEST
in the deep? Well, first of all, we have a whole bunch of different data stores specialized for specific use cases.
Turning Back Time: Strings, Locks and Garbage Collectors in Java
I
10:59Ian RogersGUEST
And in C, there's a popular strlen function that's going to give you the length of a string, but it returns an unsigned type.
I
11:09Ian RogersGUEST
And if you look in JNI, then the array length is actually given to you in a thing that they call a Jsize, which is an unsigned integer.
A
11:18Adam BienHOST
Mm-hmm.
I
11:20Ian RogersGUEST
And so clearly one set of people, when Java was being created, were thinking, well, it doesn't really make sense to have negatively sized arrays.
JRuby lead Charles Nutter
C
35:05Charles NutterGUEST
Having lightweight threading, as in virtual threads in Loom, was another.
C
35:10Charles NutterGUEST
Having access to native libraries without going through JNI was another thing.
C
35:16Charles NutterGUEST
One by one, each of these things that I presented, and I think 2013 or so, has come true.
C
35:22Charles NutterGUEST
It's come to the JVM.
15 MINS LATER
C
50:22Charles NutterGUEST
So what everybody has been working towards over the years is a way to integrate these managed runtimes with their own heaps and their own garbage collectors with native libraries that have basically their own memory model, their own way of doing method calls.
C
50:39Charles NutterGUEST
And so we've had things like FFA on the JVM.
C
50:42Charles NutterGUEST
We've had JNA for a long time, Java Native Access, which basically just has a little stub of JNI code to do the calls for you to the C logic.
C
50:56Charles NutterGUEST
We have our own ecosystem in JRuby called JNR, Java Native Runtime.
171 Blog Posts To Learn About Kotlin
A
23:26Artificial IntelligenceNARRATOR
I built a zero-copy Fog AI node without Python, and it hurt.
A
23:30Artificial IntelligenceNARRATOR
A deep dive into building Fog AI, ditching Python for JNI and C++ to run Qwen3-VLON orange Pi4 with 60x lower latency for industrial edge AI.
A
23:41Artificial IntelligenceNARRATOR
Ninety-nine.
A
23:42Artificial IntelligenceNARRATOR
Seven mistakes to avoid when hiring an app development company.
Edge AI Strategy: Why You Need to Pivot |Real Reason EdgeAI Is Taking Over
K
3:13Kartikey RawatGUEST
That's not an issue.
K
3:15Kartikey RawatGUEST
There's a runtime pretty much up there, like RT and XGTOS, where you can use it, right? But when we talk about the maybe JNI models, which is present right now, people don't know how to make it very smaller, which is called in technical terms quantization, right? Or when we talk about pruning techniques or those kinds of techniques, right? So a lot of folks didn't know that.
K
3:34Kartikey RawatGUEST
And a lot of folks don't know what is their use case and why they are using that particular model for that, right? So sometimes people use general model to implement some specific use cases.
K
3:45Kartikey RawatGUEST
If they can fine tune that particular model, and obviously if you're fine tuning a model, you are making the model more smaller also, apart from the quantization work and all.