D scripting in D

rikki cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 3 02:28:03 PDT 2017


On 03/06/2017 10:03 AM, Mike B Johnson wrote:
> On Saturday, 3 June 2017 at 00:02:54 UTC, Lewis wrote:
>> On Friday, 2 June 2017 at 20:47:31 UTC, Mike B Johnson wrote:
>>> [...]
>>
>> For sure. I actually want to post the source code at some point, but 
>> the changes I made are very much set up specifically for this project. 
>> I'll sift through at some point and see if I can gather together 
>> something worth posting.
>>
>> [...]
> 
> Thanks. Maybe some of this could be overcome by a design pattern that 
> removes them from being an issue(e.g., script can not use GC... only to 
> demonstrate that if that were the case, then you wouldn't have to worry 
> about GC issues ;)?
> 
> I imagine that if "dll"'s were used that one would have all the power to 
> debug and develop them as normal d code, which is nice and doesn't 
> require a "script editor and debugger".

A lot of this can be done by simply implementing shared libraries fully 
on Windows. There is a reason why TypeInfo doesn't cross the dll 
boundary right now. Sadly it isn't a high priority (and it really really 
needs to be "just done already"). Its fine for Linux.


More information about the Digitalmars-d-learn mailing list