Answer the question
In order to leave comments, you need to log in
Is it adequate to compile a dll with a class inside?
There is a very convenient lib (krat), I want to write a wrapper over it, simplifying a lot of routine and give it as a dll for writing software in c ++. As a result, a class must be loaded from the pluses to work with it. I googled - it seems possible, but (honestly) I don’t want to go deep and stumble on a rake in vain. How difficult is it to implement and will everything go smoothly?
Answer the question
In order to leave comments, you need to log in
Quite adequate. The main frustrating step is usually pushing everything through a Cish FFI - can be quite frustrating if the original rusty API uses a lot of high-level language features.
Useful article on the topic: https://hsivonen.fi/modern-cpp-in-rust
It is better to make an open source solution that anyone can integrate into their projects as a dll or static lib.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question