Earzu Chan
11/08/2025, 10:54 AMFrançois
11/08/2025, 11:28 AMFrançois
11/08/2025, 11:28 AMFrançois
11/08/2025, 11:29 AMAdam S
11/09/2025, 3:30 PMc bindings for c++ online, there are a few good articles/blogs around.
However, if you need exhaustive bindings for a lot of the C++ lib, then it's a much more challenging task. It's hard to write the bindings by hand, and it's a lot of work to test and maintain them. That's the problem I had with Jolt. Fortunately, Jolt has Wasm bindings, with an IDL descriptor file, which is basically the same as the required C bindings. So, I created a 'C bindings generator' that parsed the IDL file, and from it created C bindings for the C++ lib. I'm gong to open-source this at some point, but it might take a while, and the generator is very specific to Jolt. But maybe that general approach could help.