Re: Best way to use C library

2023-05-24 Thread Maximilian Naderer via Digitalmars-d-learn

On Monday, 22 May 2023 at 22:22:50 UTC, Theo wrote:
On Friday, 19 May 2023 at 18:31:45 UTC, Maximilian Naderer 
wrote:


..
I’m hope somebody could give me some insights. Thank you !

Kind regards from Austria
Max


DConf Online '22 - Translating C to D (Dennis Korpel)

https://www.youtube.com/watch?v=654rSPaIA0o


Thank you very much for the insights so far. I'll check them all 
out!


BR,
Max


Best way to use C library

2023-05-19 Thread Maximilian Naderer via Digitalmars-d-learn

Hello guys,

So what’s currently the best way to use a big C library?

Let’s assume something like

cglm
assimp
glfw

ImportC doesn’t really work for such huge libraries, I’ll 
investigate further. Deimos is outdated or there are no bindings. 
I know that there is a dub package for glfw which works fine. But 
how would I do something for assimp or cglm. The dub assimp 
package is quite outdated.


Am I stuck with manually creating interface files either by hand 
or automation?


I’m hope somebody could give me some insights. Thank you !

Kind regards from Austria
Max