TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Wasmtime 1.0: A Look at Performance

99 pointsby mnemonikover 2 years ago

4 comments

stevemk14ebrover 2 years ago
It is very disappointing there are no embeddable, performant wasm runtimes. The language is perfect for embedded systems, it&#x27;s a near asm level sandbox. But there&#x27;s no good no_std or limited dependency runtimes! If wasm is to grow, it should work on this use case.<p>I should be able to provide platform APIs to allocate memory, maybe do some floating point math, and then that&#x27;s about it. Additional features would just be giving some additional API implementations the runtime needs to interact with the host machine.<p>Context: this was a huge barrier for me on my project <a href="https:&#x2F;&#x2F;github.com&#x2F;mandiant&#x2F;STrace&#x2F;blob&#x2F;16859a811e4af7c68259949ef94a4ed3ed41beec&#x2F;blog&#x2F;Script.txt#L95" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mandiant&#x2F;STrace&#x2F;blob&#x2F;16859a811e4af7c68259...</a>
评论 #32744737 未加载
评论 #32747958 未加载
评论 #32747497 未加载
jedisct1over 2 years ago
Probably a good time to run a new iteration of the Libsodium WebAssembly benchmarks.
jeroenhdover 2 years ago
How do bytecode compilers like Cranelift compare to native images generated out of bytecode that&#x27;s easier to optimize for pure machine code execution (Java, dotnet)?<p>Perhaps more relevant: what&#x27;s the point of taking machine code capable software, compiling it into WASM, and then compiling that back into machine code? A reinvention of FFI perhaps?
评论 #32743983 未加载
评论 #32743786 未加载
评论 #32743821 未加载
fwsgonzoover 2 years ago
Happy to see they finally reduced the instantiation time to a few microseconds. I have had 1 micro in prod for another emulator, so I was wondering what the holdup was. Also see they are using madvise for CoW - it is fairly slow and I ended up not using it. That is, pagetable changes on Linux are just absolutely unusably slow on a larger scale, in production.