How D addresses the problem of Extending and/or Embedding other languages ?

Mike Parker via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 25 00:23:40 PDT 2014


On 8/25/2014 4:18 PM, Brost wrote:

>
> for example how do you correctly expose a given D data structure
> to a scripting language of your choice ?

By using whatever C or C++ interface that scripting language provides. C 
is commonly used for this precisely because it has a fairly universal 
API. If a language can speak C, it can be used anywhere. I'm not sure 
what you would expect D to do in order to be usable from any and all 
scripting languages, other than be C ABI compatible as it is.

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com



More information about the Digitalmars-d mailing list