Re: JVM language calling native language

Liste des GroupesRevenir à co vms 
Sujet : Re: JVM language calling native language
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vms
Date : 07. Jun 2024, 13:54:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3uvtt$22bpj$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 6/7/2024 8:30 AM, Simon Clubley wrote:
On 2024-06-06, Arne Vajhøj <arne@vajhoej.dk> wrote:
Another little writeup.
>
VMS Tech Demo 17 - JVM language calling native language:
    https://www.vajhoej.dk/arne/articles/vmstd17.html
>
Java/Groovy -> Fortran/Pascal/Basic/C
>
I have shown most of it before, but a little more detail here.
 Some typing errors:
  combibations
linkedd
understand how to other scenaros [Also, how to _what_ ?]
nul terminated
Fixed.
Thanks.

You should also discuss briefly what reflection is. I've used the feature
and it's rather nice, but you can write full Java code without ever being
exposed to the concept.
I added a sentence.
I could write an entire article about reflection, but that sentence will
have to do for now.

PS: Reading your overall usage sequence reminds me of just how much "fun"
JNI actually is. :-)
The overall problem of moving from a managed context to an unmanaged
context is inherently tricky.
But the JNI API is cumbersome to work with.
Which is why it is being replaced by Foreign Functions API
in Java 16 (preview only - still waiting for final version).
And why various wrappers like the well known JNA and my little VMS
specific thingy exist.
Arne

Date Sujet#  Auteur
7 Jun 24 * JVM language calling native language4Arne Vajhøj
7 Jun 24 `* Re: JVM language calling native language3Simon Clubley
7 Jun 24  `* Re: JVM language calling native language2Arne Vajhøj
8 Jun 24   `- Re: JVM language calling native language1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal