Java Native Interface | Guide to JNI | What is JNI? | Geekific

Sdílet
Vložit
  • čas přidán 25. 08. 2024

Komentáře • 14

  • @ryanwogget
    @ryanwogget Před rokem

    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.

  • @kelvinluk9121
    @kelvinluk9121 Před rokem

    Another use case for native code with JNI is for implementing performance critical codes

  • @asifahmad9667
    @asifahmad9667 Před 2 lety

    very good explanation

  • @javieralvarezdiez7617
    @javieralvarezdiez7617 Před 4 měsíci

    Nice video! Could you do that with a hevyest function in c? i´ll love it

    • @geekific
      @geekific  Před 4 měsíci

      Thanks! Will add it to my list of upcoming videos!

  • @deepakumari7038
    @deepakumari7038 Před rokem

    Nice ..well explained..👌👌👌

  • @darkfllame
    @darkfllame Před rokem

    the jni is literraly a bridge beetween native code and native code (because java is written in C/C++)

    • @geekific
      @geekific  Před rokem

      Sorry, but this statement is not 100% accurate! Google it! And thank you, as you just gave me a video idea, stay tuned ;)

    • @darkfllame
      @darkfllame Před rokem

      @@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

  • @cse9003
    @cse9003 Před 2 lety +3

    Do u think java will die and be replacd in the future?

    • @geekific
      @geekific  Před 2 lety +6

      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 :)

    • @cse9003
      @cse9003 Před 2 lety +2

      @@geekific got me curious , thanks for the answer !

    • @disco547
      @disco547 Před 2 lety +1

      not die but ofen replacedd by javascript

    • @cyklon73
      @cyklon73 Před rokem +1

      @@disco547no. Java and Javascript are used for completely different projects