In the Self VM there's code for an interpreter if the FAST and SIC compilers are disabled at build time. What's the status of that? Did it work at some point?
Trying it out on x86 shows that there's some unimplemented assembler routines, especially CallPrimitiveFromInterpreter, that prevents it from working there.
I hacked together some code to do what I think it's supposed to do and built an interpreter only VM that runs primitives but it segfaults when creating blocks. I'm tracking down why this is but was curious what actual state the interpreter code got to.
Glad you are doing it! Don’t think it every worked, IIRC.
On Oct 28, 2016, at 4:01 AM, Chris Double chris.double@double.co.nz [self-interest] self-interest@yahoogroups.com wrote:
In the Self VM there's code for an interpreter if the FAST and SIC compilers are disabled at build time. What's the status of that? Did it work at some point?
Trying it out on x86 shows that there's some unimplemented assembler routines, especially CallPrimitiveFromInterpreter, that prevents it from working there.
I hacked together some code to do what I think it's supposed to do and built an interpreter only VM that runs primitives but it segfaults when creating blocks. I'm tracking down why this is but was curious what actual state the interpreter code got to.
No no no! Tell him it worked and just needs to be unbitrotted. Then he'll fix it.
On 29 Oct 2016, at 2:49, David Ungar ungar@mac.com [self-interest] wrote:
Glad you are doing it! Don’t think it every worked, IIRC.
On Oct 28, 2016, at 4:01 AM, Chris Double chris.double@double.co.nz [self-interest] self-interest@yahoogroups.com wrote:
In the Self VM there's code for an interpreter if the FAST and SIC compilers are disabled at build time. What's the status of that? Did it work at some point?
Trying it out on x86 shows that there's some unimplemented assembler routines, especially CallPrimitiveFromInterpreter, that prevents it from working there.
I hacked together some code to do what I think it's supposed to do and built an interpreter only VM that runs primitives but it segfaults when creating blocks. I'm tracking down why this is but was curious what actual state the interpreter code got to.
Oh yeah—it worked great! (That’s the ticket!)
On Oct 28, 2016, at 1:59 PM, 'Jason Grossman' spam-me@xeny.net [self-interest] self-interest@yahoogroups.com wrote:
No no no! Tell him it worked and just needs to be unbitrotted. Then he'll fix it.
On 29 Oct 2016, at 2:49, David Ungar ungar@mac.com mailto:ungar@mac.com [self-interest] wrote:
Glad you are doing it! Don’t think it every worked, IIRC.
On Oct 28, 2016, at 4:01 AM, Chris Double chris.double@double.co.nz [self-interest] self-interest@yahoogroups.com wrote:
In the Self VM there's code for an interpreter if the FAST and SIC compilers are disabled at build time. What's the status of that? Did it work at some point?
Trying it out on x86 shows that there's some unimplemented assembler routines, especially CallPrimitiveFromInterpreter, that prevents it from working there.
I hacked together some code to do what I think it's supposed to do and built an interpreter only VM that runs primitives but it segfaults when creating blocks. I'm tracking down why this is but was curious what actual state the interpreter code got to.
-- http://bluishcoder.co.nz http://bluishcoder.co.nz/ <http://bluishcoder.co.nz/ http://bluishcoder.co.nz/>
On Sat, Oct 29, 2016 at 12:59 PM, David Ungar ungar@mac.com [self-interest] self-interest@yahoogroups.com wrote:
Oh yeah—it worked great! (That’s the ticket!)
Haha, nice try! I'm looking at what is involved in getting the VM 64 bit clean and possibly getting an x86_64 port going. As a step towards it I thought I'd try getting the interpreter operational to avoid having to get an x64_64 JIT working before I could test. I'll do some more poking at the interpreter and see what I can get working. As it is it's probably operational enough anyway as a way of testing any changes for a 64 bit build.
As a bonus incentive, if you can get a working x64 Linux port then thanks to the Bash for Windows subsystem available in windows 10 we would possibly get a free (command line) Windows VM _____________________________ From: Chris Double chris.double@double.co.nz [self-interest] self-interest@yahoogroups.com Sent: Saturday, October 29, 2016 8:34 pm Subject: Re: [self-interest] Self Interpreter status? To: self-interest@yahoogroups.com
On Sat, Oct 29, 2016 at 12:59 PM, David Ungar ungar@mac.com [self-interest] self-interest@yahoogroups.com wrote:
Oh yeah—it worked great! (That’s the ticket!)
Haha, nice try! I'm looking at what is involved in getting the VM 64 bit clean and possibly getting an x86_64 port going. As a step towards it I thought I'd try getting the interpreter operational to avoid having to get an x64_64 JIT working before I could test. I'll do some more poking at the interpreter and see what I can get working. As it is it's probably operational enough anyway as a way of testing any changes for a 64 bit build.
self-interest@lists.selflanguage.org