[self-interest] Questions about Self
mail at russell-allen.com
Wed Jun 22 01:28:46 UTC 2016
> On 22 Jun 2016, at 10:31 AM, Chris Double chris.double at double.co.nz [self-interest] <self-interest at yahoogroups.com> wrote:
> Using native code
> libraries is a bit painful but some of the work in the 'native' branch
> that Russell has been doing looks very promising.
I think I have the core primitives for working with native machine code in reasonable shape but have been stalled for a bit on what to do with callbacks into the VM from other threads.
If anyone feels like helping, on the Self side, at the moment I just call out to a c compiler or assembler. It would be nice if there was a pure Self x86 assembler, or even a simple compiler from a C level language (which would help retargeting if we do that later).
I think this approach stands a good chance of being able to move most of the primitives dealing with integration (sockets, xlib etc) into the Self world and out of the C++ code, without requiring the native-code maker to know too much about the VM’s internals.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Self-interest