[Vm-dev] Sista byte code documentation

David T. Lewis lewis at mail.msen.com
Tue Jun 30 20:37:12 UTC 2020


Way off topic, but I notice that Erik is "ErikOnBike" on GitHube.
I can't help but be reminded of the wonderful Squeak work of Ned Konz
(http://wiki.squeak.org/squeak/1577) who shows up now as "bikeNomad"
on GitHub.

There must be some kind of good karma associated with riding bicycles :-)

Dave


On Tue, Jun 30, 2020 at 01:21:12PM -0700, Vanessa Freudenberg wrote:
>  
> 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/
> >



More information about the Vm-dev mailing list