[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] WASM Compile Target? (#387)
btc at openinworld.com
Sat Mar 30 08:14:18 UTC 2019
On Sat, 30 Mar 2019 at 15:30, Craig Latta <craig at blackpagedigital.com>
> Hi Ben--
> > > In the meantime, I'm getting very good results running Squeak in web
> > > browser and on Node with SqueakJS. The simple bytecode-to-JS dynamic
> > > translator that Bert wrote for it is a big win. You get a decent
> > > translation of bytecodes to native code via the underlying JS engine
> > > (V8 et al).
> > btw, Is that then a Slang to SqueakJS writer? Or is the bytecode-to-JS
> > happening as some other level?
> It takes a Smalltalk CompiledMethod object, and transcribes the
> 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.
When is the source code for that transcriber?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev