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

Craig Latta craig at blackpagedigital.com
Sat Mar 30 08:57:19 UTC 2019


> > [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


-C

--
Craig Latta
Black Page Digital
Amsterdam :: San Francisco
craig at blackpagedigital.com
+31   6 2757 7177
+ 1 415  287 3547



More information about the Vm-dev mailing list