On Wednesday, 6 December 2017 at 17:17:40 UTC, Luís Marques wrote:
Is there a small druntime/object.d implementation that allows basic support for classes, without bringing the whole druntime implementation with it?

You could modify the one I use for PowerNex[1]. It is a hacked version of Adam D. Ruppes minimal.zip. There are only a few imports for strlen, mem{set,move,cpy}, etc.

You probably need to add some sort of entrypoint and maybe implement a few more runtime functions.

- Dan

[1] https://github.com/PowerNex/PowerNex/blob/master/loader/src/object.d

Reply via email to