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.

  • Being reading a ... kiboshimo via Digitalmars-d-learn
    • Re: Being r... evilrat via Digitalmars-d-learn
      • Re: Bei... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
        • Re:... kiboshimo via Digitalmars-d-learn
          • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
            • ... kiboshimo via Digitalmars-d-learn
              • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... Sergey via Digitalmars-d-learn
            • ... kiboshimo via Digitalmars-d-learn
    • Re: Being r... Lance Bachmeier via Digitalmars-d-learn
    • Re: Being r... monkyyy via Digitalmars-d-learn
      • Re: Bei... kiboshimo via Digitalmars-d-learn
        • Re:... H. S. Teoh via Digitalmars-d-learn
        • Re:... monkyyy via Digitalmars-d-learn
        • Re:... kiboshimo via Digitalmars-d-learn
          • ... kiboshimo via Digitalmars-d-learn
            • ... kiboshimo via Digitalmars-d-learn

Reply via email to