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.
@@geekific actually, the jvm will load a native dynamic linked library in the java process, when a method is called, it checked if it is tagged by a "native tag", if it is, it'll load and run a function with a specific named : package_separated_by_underscore_name_1of_1the_1method
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.
Another use case for native code with JNI is for implementing performance critical codes
very good explanation
Nice video! Could you do that with a hevyest function in c? i´ll love it
Thanks! Will add it to my list of upcoming videos!
Nice ..well explained..👌👌👌
the jni is literraly a bridge beetween native code and native code (because java is written in C/C++)
Sorry, but this statement is not 100% accurate! Google it! And thank you, as you just gave me a video idea, stay tuned ;)
@@geekific actually, the jvm will load a native dynamic linked library in the java process, when a method is called, it checked if it is tagged by a "native tag", if it is, it'll load and run a function with a specific named : package_separated_by_underscore_name_1of_1the_1method
Do u think java will die and be replacd in the future?
Short answer: Nope I don't think it will! Long answer: You actually gave me an idea for a video!! I just added it to my list :P Stay tuned :)
@@geekific got me curious , thanks for the answer !
not die but ofen replacedd by javascript
@@disco547no. Java and Javascript are used for completely different projects