[Vm-dev] Sista byte code documentation

Vanessa Freudenberg vanessa at codefrau.net
Tue Jun 30 20:21:12 UTC 2020


That's extremely helpful, thank you, Clément!

For anyone interested, this is about being able to run the upcoming Pharo
release on SqueakJS, specifically for Erik's CodeParadise project:
https://github.com/ErikOnBike/CodeParadise
https://github.com/codefrau/SqueakJS/issues/108

I don't know yet how much time I can personally invest in the near future,
but if you are interested in helping out, let's discuss here.

I myself have been busy helping Dan Ingalls build his Smalltalk Zoo website
with examples linked from the just-published HOPL paper:
https://smalltalkzoo.computerhistory.org/papers/EvolutionOfSmalltalk.pdf
(this is a version with corrections done after publication)

Vanessa

On Mon, Jun 29, 2020 at 10:50 PM Clément Béra <bera.clement at gmail.com>
wrote:

>
> Hi Vanessa,
>
> There should be a class comment in the EncoderForSistaV1 class describing
> all the bytecodes. Below is the class comment, I stroke through all the
> bytecodes you don't need to implement since they are unused, required only
> for the adaptive optimizer or clean/copying block optimizations.
>
> It's possible not to implement the FullBlockClosure creation bytecode at
> first if you run only images with the old block design. Once
> the FullBlockClosure creation bytecode is there, you also need the "Send To
> Superclass of Stacked Class Literal Selector", so that a super send can be
> encoded in a CompiledBlock. FullBlockClosure requires an extra primitive
> for evaluation. Besides FullBlockClosure, everything should be pretty
> straightforward.
>
> Best!
> [... snip ...]
>
> --
> Clément Béra
> https://clementbera.github.io/
> https://clementbera.wordpress.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200630/e9ffa582/attachment.html>


More information about the Vm-dev mailing list