Binding Godot to a external library

godot 4.4

I am trying to bind an external code to Godot

The library is a code for fluid dynamics, written in C++. It is meant to be run in parallel across multiple cores using MPI.

I can successfully compile the code as a module by following the instructions on the documentation.

But I don’t understand enough to bind the library with Godot such that I can run the library in parallel.

As I understand, I might have to compile the Godot code using mpicxx, instead of clang++.

Does anybody have any experience doing something like this?

Thanks.

Not sure if this is what you are talking about.

But one of the BIG features of the next version(4.4) of Godot is allowing compiling Godot as a static or shared library.

Not merged yet, but is planned to enter 4.4