ffmbindings manual bindings to C++

Lain Lain lain at null.net
Tue Mar 4 01:36:59 UTC 2025


Hi all,

We have published new bindings to GNU libstdc++ called ffmbindings.stdcpp:

Source code: https://bitbucket.org/ffmbindings/ffmbindings-stdcpp
Documentation: https://ffmbindings.onrender.com/javadoc/ffmbindings.stdcpp/index.html

Many C++ libraries use some of the types defined inside libstdc++ as part of their APIs. Popular examples of such types are std::string, std::shared_ptr and of course STL types like std::vector etc. Therefore, to create bindings to such C++ libraries it is important to cover libstdc++ types.

ffmbindings.stdcpp covers some of libstdc++ types. Users can create such types in Java and pass them directly to C++ APIs bindings they create.

For example, to create std::string object:

    new StdStringFactory().create("java string")

Thank you,


On 26-2-2025 03:13, Lain Lain wrote:

Hi,
We would like to present you ffmbindings project which helps to do manual bindings to C++ libraries from Java using FFM.
Currently it contains bindings to eigen C++ library but we are going to publish few more this month.
 
Source code: https://bitbucket.org/ffmbindings
Documentation: https://ffmbindings.onrender.com[https://ffmbindings.onrender.com]
 
Any feedback are welcome.
 
Thank you,


More information about the jextract-dev mailing list