News for hackers. Stuff that matters.
Re:AssemblyScript: A Subset of TypeScript That Compiles to W... by gsnedders on Thursday September 07, 2017 @10:48AM (#15192322)
> One thing is pure call performance (time to invoke a void() function). I don't know where that is, but I guess for WASM<->JS it's slower than WASM<->WASM and JS<->JS, since it can't be inlined.

…why can't it be inlined? There's no good reason why it can't be inlined.

Re:AssemblyScript: A Subset of TypeScript That Compiles to W... by Matthias247 on Thursday September 07, 2017 @05:28PM (#15195913)
When I wrote about that I thought about static resolving of where inlining is possible, which would be hard on a boundary to a dynamic language.

But yeah, assuming both WASM and JS run inside the same JITting VM it is probably happening.