jextract C++ support
Manuel Bleichenbacher
manuel.bleichenbacher at gmail.com
Mon May 15 05:57:49 UTC 2023
FFM is designed to call code in existing executable library file. But many
C++ libraries contain a lot of their code in source code form – just think
of inline functions, header only classes and generics.
Name mangling is probably a small challenge compared to the other C++
challenges.
So I wonder: is there already a concept for C++ support?
Am Mo., 15. Mai 2023 um 03:26 Uhr schrieb Rel <enatai at proton.me>:
> Hi,
>
> I would like to know how to participate in C++ support for jextract.
> Watching Project Panama video (
> https://inside.java/2023/04/18/levelup-panama/), Paul mentioned that C++
> is in the plans.
> Do we have someone working on it already so I can syncup on what is the
> plan and where I can help?
> In particular:
> - will it be part of jextract or may be jextract++?
> - will it use clang or something else? if clang then which interface
> https://clang.llvm.org/docs/Tooling.html
>
> There are many things to be done for C++ support but if I pick the most
> basic like symbols, in C++ they are mangled so current jextract linking
> logic will need to be changed. Do you think modifying NameMangler to store
> those mangled C++ symbols will be the right approach?
>
> Regards,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jextract-dev/attachments/20230515/4f568a08/attachment.htm>
More information about the jextract-dev
mailing list