[Vm-dev] tracking WebAssembly

Eliot Miranda eliot.miranda at gmail.com
Tue Mar 19 02:58:02 UTC 2019


Hi Levente,

> On Mar 18, 2019, at 1:50 PM, Levente Uzonyi <leves at caesar.elte.hu> wrote:
> 
> Wouldn't it be easier to just use emscripten to compile the current C code directly to wasm?
> I mean, it would probably be a smaller undertaking to create the necessary bindings/plugins for emscripten than to generate wasm code directly from VMMaker and rewrite the platform code.

Sure, but running a stack machine virtually above another stack machine is going to be far less efficient than mapping the Cog Smalltalk stack to the WebAssembly stack.  So it’s an issue of performance and ambition.  I tend to choose the ambitious route, within affordability constraints.

> 
> Levente


More information about the Vm-dev mailing list