<div dir="ltr"><div>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.</div><div><br></div><div>Name mangling is probably a small challenge compared to the other C++ challenges.</div><div><br></div><div>So I wonder: is there already a concept for C++ support?<div><br></div><br class="gmail-Apple-interchange-newline"></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mo., 15. Mai 2023 um 03:26 Uhr schrieb Rel <<a href="mailto:enatai@proton.me">enatai@proton.me</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span>Hi,</span><div><br></div><div><span>I would like to know how to participate in C++ support for jextract.</span></div><div><span>Watching Project Panama video (<a rel="noreferrer nofollow noopener" href="https://inside.java/2023/04/18/levelup-panama/" target="_blank">https://inside.java/2023/04/18/levelup-panama/</a>), Paul mentioned that C++ is in the plans.</span></div><div><span>Do we have someone working on it already so I can syncup on what is the plan and where I can help?</span></div><div><span>In particular:</span></div><div><span>- will it be part of jextract or may be jextract++?</span></div><div><span>- will it use clang or something else? if clang then which interface <a rel="noreferrer nofollow noopener" href="https://clang.llvm.org/docs/Tooling.html" target="_blank">https://clang.llvm.org/docs/Tooling.html</a></span></div><div><br></div><div><span>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?</span></div><div><br></div><div><span>Regards,</span></div><span></span></blockquote></div>