On Thursday, 20 October 2022 at 13:02:52 UTC, bachmeier wrote:
>I've done an initial release of the second version:
https://github.com/bachmeil/embedrv2
The two biggest changes are
- Moving to Dub as the default for compilation, which allows the use of any other Dub libraries
- It writes the wrappers for you. You write a D function and it converts it to R.
The part I haven't finished is in the other direction. For instance, suppose you have a D function that sends data to R many times. If you don't release the memory on the R side, your program's going to crash quickly. I haven't worked on this recently because I've mostly been calling D functions from R.
Haven't see this update, good to know!