[Vm-beginners] Why Are Only Some Sources Generated

Bert Freudenberg bert at freudenbergs.de
Thu Mar 26 17:27:32 UTC 2015


On 25.03.2015, at 23:06, Sean P. DeNigris <sean at clipperadams.com> wrote:
> 
> Bert Freudenberg wrote
>> Only the actual interpreter/jit core, and some cross-platform plugins are
>> generated from Slang. The platform-dependent "glue code" has always been
>> coded in C. 
> 
> Why? Could some or all of the platform code be written in Slang?

It could, but the main reason to prefer Slang over C is that you can simulate it in Smalltalk. And you can't simulate the OS-dependent code. So you would always have to translate to C, build a new VM, run it ... which is more hassle than using C directly.

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-beginners/attachments/20150326/419dc86d/smime.bin


More information about the VM-beginners mailing list