jextract C++ support

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon May 22 09:14:00 UTC 2023


On 22/05/2023 04:12, Rel wrote:
>> But I believe some more robust
>> analysis should be made to understand exactly how many APIs can be
>> supported in this "simple" fashion.
> Yes, I started to gather such analysis herehttps://urldefense.com/v3/__https://github.com/enatai/panamaexperiments__;!!ACWV5N9M2RV99hQ!KOxdK2qmmSzlaaO3kSlSUG2-ifWAVRD6OHlz9NHYvuggmy7NnnNxWvHYcxDm0Vn4gPXlbasjfC-ehIx_KlWNYiU$  
> Currently there is only one happy case [https://urldefense.com/v3/__https://github.com/enatai/panamaexperiments/blob/main/libcppexperiments/src/main/public/happy.hpp__;!!ACWV5N9M2RV99hQ!KOxdK2qmmSzlaaO3kSlSUG2-ifWAVRD6OHlz9NHYvuggmy7NnnNxWvHYcxDm0Vn4gPXlbasjfC-ehIx_K7Nl50c$  ] which is Point2d class from your foo.hpp file.

This is not too surprising - after all the hacky changes I shared were 
built around that example.

What I meant for "robust analysis" was to try and establish how many 
_real-world_ C++ library can really be tackled in such a direct 
approach. My feeling is "not many" - but I don't have any hard data to 
back up this claim.

Maurizio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jextract-dev/attachments/20230522/2a98c6b5/attachment.htm>


More information about the jextract-dev mailing list