4 replies
July 2021

xtovo

Does it mean that new Clang-Repl will make it possible to use any C/C++ lib without any additional efforts, e.g. wrapping?
I’d like to use Runge-Kutta from GSL (GNU Scientific Library) to solve differential equations.

Thanks.
Regards. Valeriy

2 replies
July 2021 ▶ xtovo

bellenot

Hi Valeriy,
I think @Axel or @moneta can give you more details

July 2021 ▶ xtovo

vvassilev

Hi Valeriy,

Thanks for your comment. I’d need more details to answer your question in details. For example, the GSL RK to solve differential equations in C++ or Python? What do you mean by wrapping – static bindings?

I try to answer broadly to your question broadly. The goal of Clang-Repl is to offer a Cling-like experience to the broader community with improved stability and tighter integration with the Clang compiler. Once that happen we should be one step closer to have C++ language (eg Python) bindings on the fly. That would indeed enable using some libraries which do not have static bindings (swig or pybind11).

July 2021

Axel

AFAIR gsl is C, and that works just fine even today, in cling.