[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] WASM Compile Target? (#387)

Ben Coman btc at openinworld.com
Wed May 1 13:10:58 UTC 2019


On Sat, 30 Mar 2019 at 16:57, Craig Latta <craig at blackpagedigital.com>
wrote:

>
>
> > > [The SqueakJS VM] takes a Smalltalk CompiledMethod object, and
> > > transcribes the instructions (bytecodes) into a JavaScript method,
> > > and makes sure to run that instead, whenever the CompiledMethod
> > > would normally run. Then V8 optimizes the hell out of the native
> > > code for that transcribed JS method. It's pretty neat, and makes a
> > > huge difference for lots of things, including the UI.
> >
> > Where is the source code for that transcriber?
>
>      https://github.com/bertfreudenberg/SqueakJS/blob/master/jit.js
>
>      Used by:
>
>      https://github.com/bertfreudenberg/SqueakJS/blob/master/vm.js


Thx. Really interesting perusing that.
Now was vm.js completely hand crafted?
Or generated somehow from VMMaker Slang code?

cheers -ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190501/5da17574/attachment.html>


More information about the Vm-dev mailing list