On Tuesday, 9 July 2024 at 07:54:12 UTC, kiboshimo wrote:
If you haven't done so, I'd recommend reading the blog posts from Walter to get an understanding of why BetterC was introduced and how to use it: https://dlang.org/blog/category/betterc/
- betterC does not need glue code to interop with C. Does it achieve this by "gluing" behind the scenes? I've read in a comment somewhere that the ABI is the same, but idk people say lots of things.
You're declaring your D code extern(C), as you can see in Walter's blog posts, so yes, you're using the C ABI.