Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2025 19:38:01 +0100 (CET)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Igor Kolesnik <igor@kolesnik.es>
Cc:        freebsd-java@freebsd.org
Subject:   Re: porting jextract
Message-ID:  <1743636068.18108.1740940681348@localhost>
In-Reply-To: <Z8QmDzM8jJECrgq1@tech.home>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Sounds good. 👍🏼 

Van: Igor Kolesnik <igor@kolesnik.es>
Datum: 2 maart 2025 10:34
Aan: freebsd-java@freebsd.org
Onderwerp: porting jextract

> 
> 
> Hi,
> 
> This is related to the Foreigh Function & Memory (FFM) API.
> 
> https://openjdk.org/jeps/454
> 
> I think about makeing a port of jextract, an utility that generates Java
> bindings from native libraries.
> 
> It's source code repository can be found here
> 
> https://github.com/openjdk/jextract/tree/master
> 
> I did a manual build using OpenJDK 23 and a simple test calling a C
> function (kind of hello world), and it worked.
> 
> jextract has a set of tests which use the jtreg test framework.  That
> could be made into another port.
> 
> Does it make sence?
> 
> thanks -- igor
> 
> 
> 
> 
> 
[-- Attachment #2 --]
<html><head></head><body>Sounds good. 👍🏼&nbsp;<div><br><p><small><strong>Van:</strong> Igor Kolesnik &lt;igor@kolesnik.es&gt;<br><strong>Datum:</strong> 2 maart 2025 10:34<br><strong>Aan:</strong> freebsd-java@freebsd.org<br><strong>Onderwerp:</strong> porting jextract<br></small></p><blockquote style="margin-left: 5px; border-left: 3px solid #ccc; margin-right: 0px; padding-left: 5px;"><div class="MessageRFC822Viewer do_not_remove" id="P"><!-- P -->
<!-- processMimeMessage --><div class="TextPlainViewer do_not_remove" id="P.P"><!-- P.P -->Hi,<br>
<br>
This is related to the Foreigh Function &amp; Memory (FFM) API.<br>
<br>
<a href="https://openjdk.org/jeps/454">https://openjdk.org/jeps/454</a><br>;
<br>
I think about makeing a port of jextract, an utility that generates Java<br>
bindings from native libraries.<br>
<br>
It's source code repository can be found here<br>
<br>
<a href="https://github.com/openjdk/jextract/tree/master">https://github.com/openjdk/jextract/tree/master</a><br>;
<br>
I did a manual build using OpenJDK 23 and a simple test calling a C<br>
function (kind of hello world), and it worked.<br>
<br>
jextract has a set of tests which use the jtreg test framework. &nbsp;That<br>
could be made into another port.<br>
<br>
Does it make sence?<br>
<br>
thanks -- igor<br>
<br>
</div><!-- TextPlainViewer -->
<hr>
</div><!-- MessageRFC822Viewer -->
</blockquote><br><br><br></div></body></html>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1743636068.18108.1740940681348>