C binding with D function

llaine via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 4 06:14:34 PDT 2016


On Thursday, 4 August 2016 at 12:14:48 UTC, Adam D. Ruppe wrote:
> On Thursday, 4 August 2016 at 10:36:05 UTC, llaine wrote:
>> Any idea how can I call them ?
>
> Just like any other function. Consider this:
>
> ----------
> hi from D, Ruby user!


Wow thank you Adam, it's pretty impressive.

I saw that your compiling using dmd with all thoses options. Can 
you explain me what is the benefit of using this ?

I'm using just "dub" so far and its also working.

Here is my repo https://github.com/llaine/ruby-dlang



More information about the Digitalmars-d-learn mailing list