J: Java Native Interface | Guide to JNI | What is JNI? | Geekific - видео HD

J: Java Native Interface | Guide to JNI | What is JNI? | Geekific - видео
00:06:55

12n.ru 16796 роликов

Java Native Interface | Guide to JNI | What is JNI? | Geekific - видео.

One of the main strengths of Java is portability, meaning that once we write and compile our code, the result is platform-independent and can run on any device capable of running a Java Virtual Machine. However, sometimes we might need to use code that's natively-compiled for a specific architecture, usually written in C or C++ within our app. In this video, we explain how to acheive this with the help of Java's Native Interface or JNI.

If you found this video helpful, check other Geekific uploads:
— Object-Oriented Programming Fundamentals: youtu.be/Vfk6sExu8-4
— SOLID Principles and Best Practices: youtu.be/HoA6aZPR5K0
— Recursion Made Simple, Recursive Methods: youtu.be/r8KJ2AJWkHs
— Heap Space vs. Stack Memory in Java: youtu.be/dH2LG3wxXbQ
— Functional Interfaces and Lambda Expressions in Java with Examples: youtu.be/HsOVdmmBS9E
— Introduction to Threads and Processes: youtu.be/hN2Yrf4tqTY
— Must Know Java Keywords!: youtu.be/0-41SMoV_TA

Stay updated on our weekly videos by subscribing to the channel: www.youtube.com/channel/UCXRZyv0cNwba6f0xCREAD_Q?sub_confirmation=1

All the code snippets can be found on GitHub under: github.com/geekific-official/geekific-youtube/

Timestamps:
00:00 Introduction
00:07 What's JNI and Why JNI?
02:14 JNI Simple Example
05:53 Pitfalls of JNI
06:49 Thanks for Watching!

#Geekific #JavaNativeInterface #JNI #JavaTutorial

RSS
c se
04:20
+3
Do u think java will die and be replacd in the future?
ASIF AHMAD
15:58
very good explanation
Ryan
20:48
Nice video! Well explained, and just the right amount in-depth. I recently started working on a software that uses some JNI, but I haven't had to work on any of that code yet. This was a helpful overview of how the JNI works and how to use it.
deepa kumari
13:19
Nice ..well explained..
Kelvin Luk
22:05
Another use case for native code with JNI is for implementing performance critical codes