From nobody Sun Mar 2 18:38:01 2025 X-Original-To: freebsd-java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Z5W0X3w5jz5ppmg for ; Sun, 02 Mar 2025 18:38:04 +0000 (UTC) (envelope-from SRS0=umJ9=VV=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z5W0W6B5Nz3Zcy for ; Sun, 02 Mar 2025 18:38:03 +0000 (UTC) (envelope-from SRS0=umJ9=VV=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Date: Sun, 2 Mar 2025 19:38:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1740940681; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=zc6sFQoSGKgcylOpjWSjBDmEY/KJ422nOcIkob/m2u8=; b=LZY8LuC+a0ia9IzZkdUIUvyxbGk2pgAE92RItaq+IQUqdPS1vkrzPBUsfN93nQvc95ff5k uahFgKkOBmIAaRKJby/kfaUiwahqKIMsRuoEd5DyqEKMRRwbbYQ2PHb7p5myoXM8yKMqHY L1d8IU4x0Q6PuT3+I4Yqv0RIGAA/pLn5kjhR3I2Qa97/NT9g7fym1m0u1s7WXqVudgHmcH o2ICwgpm/FgRsw40UxKg9dndbG4vB4jpGmH9YsyndHlBWF/JvHc31bVtsUn3cW2LUEXS2l sei/5KVuY+SyZAlazimt2LhES6/HG3Cl7615ftdPNDmLNw9kCCLolWWxGPACtg== From: Ronald Klop To: Igor Kolesnik Cc: freebsd-java@freebsd.org Message-ID: <1743636068.18108.1740940681348@localhost> In-Reply-To: Subject: Re: porting jextract List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18107_1400360464.1740940681346" X-Mailer: Realworks (740.null) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL] X-Rspamd-Queue-Id: 4Z5W0W6B5Nz3Zcy X-Spamd-Bar: ---- ------=_Part_18107_1400360464.1740940681346 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Sounds good. =F0=9F=91=8D=F0=9F=8F=BC=20 Van: Igor Kolesnik Datum: 2 maart 2025 10:34 Aan: freebsd-java@freebsd.org Onderwerp: porting jextract >=20 >=20 > Hi, >=20 > This is related to the Foreigh Function & Memory (FFM) API. >=20 > https://openjdk.org/jeps/454 >=20 > I think about makeing a port of jextract, an utility that generates Java > bindings from native libraries. >=20 > It's source code repository can be found here >=20 > https://github.com/openjdk/jextract/tree/master >=20 > I did a manual build using OpenJDK 23 and a simple test calling a C > function (kind of hello world), and it worked. >=20 > jextract has a set of tests which use the jtreg test framework. That > could be made into another port. >=20 > Does it make sence? >=20 > thanks -- igor >=20 >=20 >=20 >=20 >=20 ------=_Part_18107_1400360464.1740940681346 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sounds good. =F0=9F=91=8D=F0=9F=8F=BC 

Van: Igor Kolesnik <igor@kolesnik.es>Datum: 2 maart 2025 10:34
Aan: freebs= d-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<= br> could be made into another port.

Does it make sence?

thanks -- igor





------=_Part_18107_1400360464.1740940681346--