Has anybody tried calling D from Ruby?

Atila Neves atila.neves at gmail.com
Sun Apr 13 02:20:53 PDT 2014


The best I could manage was to use the C/C++ API and have that
call the linked in D code by hacking the automatically generated
Makefile. But at least that worked, up to a point. Even though I
linked in Phobos, it crashed when I called writeln (but
core.stdc.stdio.printf was ok).

Trying to use the C API directly from D didn't really work. I
tried dstep on ruby.h and it threw an exception. Ah, macros...

Atila


More information about the Digitalmars-d mailing list