On Friday, 2 June 2017 at 12:19:48 UTC, Adam D. Ruppe wrote:
On Friday, 2 June 2017 at 11:09:05 UTC, aberba wrote:
1. Get shared libs to work in D (the best approach for all D code)

I have done very little with this myself but other people have so it is doable.

1. some kind of embeddable interpreter for a scripting language like (a mini js engine) which exposes callable native D APIs at runtime

My script.d does this kind of thing
http://dpldocs.info/experimental-docs/arsd.script.html#examples

it is slow though.

Performance doesn't matter now.

Can source of script be reloaded at runtime?

Do I have to wrap external APIs in the "global" object passed as argument to "interpreter()"

I'm trying to implement a plugin system for a vibe.d server where plugins can be installed to provide additional http routes: extending server functionality.


Reply via email to