<div>Last night I had a really interesting idea about the VM...</div><div><br></div>For now, we have a special VM platform that is &quot;squeakNOS&quot;. This is sometimes a problem, we need a custom makefile, the VM gets old and we are still working with the old interpreter because of this. Supporting the makefile is really boring.<div>

<br></div><div>What I&#39;m thinking about, then? We have nativeboost to execute binary code, an assembler and even prototype of smalltalk to binary translator (waterfall), wouldn&#39;t it be possible to use all that to make the standard unix VM work with the sq/NOS image?</div>

<div><br></div><div>What work I think that would be required?</div><div><br></div><div>- Making the image partly POSIX compliant? This means it should be able to receive syscalls and respond to them, probably doing nothing in most cases.</div>

<div><br></div><div>- Re-coding the support code written in C. But doing it in smalltalk and nativizing it with waterfall or with asmjit. This code is really short, shouldn&#39;t be much work.</div><div><br></div><div>- Moving some fancy stuff from actual Makefile to Smalltalk. The actual Makefile has to do some special linking of binary code. For example, it takes some binary code from libc and puts it in the VM. We&#39;ll have to do this from the image.</div>

<div><br></div><div><br></div><div>What we gain? Important and cool stuff:</div><div><br></div><div>- We don&#39;t need a special vm any more. This removes a barrier to entering the project.</div><div>- We get this support code written in smalltalk so we get closer to the idea of a full-smalltalk OS</div>

<div><div>- We get POSIX compatibility, this means we might be able to/get closer to execute code compiled for unix.</div><div>- We get POSIX documented in smalltalk code... I don&#39;t know if somebody is interested in this anyway</div>

<div><br></div><div>Cool, isn&#39;t it?</div><div><br></div><div>We should look for an M.Sc thesist ;P</div><div><br></div><div>Cheers,</div><div>Javier.</div>-- <br>Lic. Javier Pimás<br>Ciudad de Buenos Aires<br>
</div>