Live data from Hacker News

Wasm3 – A high performance WebAssembly interpreter in C

github.com

1–10 of 79 posts

Re: Wasm3 – A high performance WebAssembly interpreter in C

#6
post #5
post #4

Why is an interpreter desirable when JIT compilers create significantly faster code? Is this primarily about embedded use?

On the embedded side, I'd rather see a hardware interpreter.

I'm hardware ignorant... would that be a system on a chip?

Re: Wasm3 – A high performance WebAssembly interpreter in C

#7

The motivation for WebAssembly rather than plain ARM or x86 assembly = portability, security. It would be interesting to see how this is designed for security in mind.

This is designed for microcontrollers. If you're running untrusted code on microcontrollers, you've got bigger problems.

Re: Wasm3 – A high performance WebAssembly interpreter in C

#8

The motivation for WebAssembly rather than plain ARM or x86 assembly = portability, security. It would be interesting to see how this is designed for security in mind.

Pardon my wasm illiteracy here, what exactly makes it more secure?

Struggling to see it.

Re: Wasm3 – A high performance WebAssembly interpreter in C

#9
post #6
post #5

Earlier quoted context omitted.

On the embedded side, I'd rather see a hardware interpreter.

I'm hardware ignorant... would that be a system on a chip?

I suspect they're just saying they'd rather see a CPU implementing the wasm isa, in a facetious way.

Re: Wasm3 – A high performance WebAssembly interpreter in C

#10
post #4

Why is an interpreter desirable when JIT compilers create significantly faster code? Is this primarily about embedded use?

Besides that it can help with startup time. If the script that needs to be executed is a one-off thing the removal of compilation time might be save more time than a JIT could save during execution.
Post reply on HN