RFR: Add third-party sample list to README, populate with java-vulkan.

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Nov 28 10:50:45 UTC 2022


On Sun, 27 Nov 2022 05:16:06 GMT, Michael Ennen <mennen at openjdk.org> wrote:

> I made a more complex example (1000 lines, mostly because setting up a boilerplate Vulkan program is super lengthy) of using jextract on Vulkan and Win32 APIs.
> 
> I think it may be too lengthy and too much of a maintenance burden to commit to the `/samples` directory, so I thought maybe including a section on third-party samples would be better.
> 
> If this is not something you want to entertain that's totally understandable, but thought I would put it out there a bigger sample that interfaces with a pretty complex API may be helpful to others.

Thank you - the example is indeed complex and, because of that I believe it could be beneficial to others. I agree with you that some way to capture 3rd party samples would be better. I'm not sure if listing a link in the main README page is a good idea though. I believe we should probably polish the README for the `samples` folder and put this link in there (plus other, as I know there have been many real-life panama examples, such as this - would be nice to capture them all in one place).

-------------

PR: https://git.openjdk.org/jextract/pull/93


More information about the jextract-dev mailing list