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

497 pointsby ridruejoover 2 years ago

22 comments

syrusakbaryover 2 years ago
Congrats to the Wasmtime team on the 1.0 release!<p>I&#x27;m happy to see that more runtimes are maturing and getting use on production cases... I can&#x27;t wait to see and show what the future entails for WebAssembly on both the server side and the browser!<p>Keep up the good work. Also I&#x27;d like to use this message to congratulate other runtimes that I&#x27;m excited about (apart from Wasmer, of course!): Wizard Engine [1], Wazero [2] and Lunatic [3].<p>The future is bright in Wasm land :)<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;titzer&#x2F;wizard-engine" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;titzer&#x2F;wizard-engine</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;tetratelabs&#x2F;wazero" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tetratelabs&#x2F;wazero</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;lunatic-solutions&#x2F;lunatic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lunatic-solutions&#x2F;lunatic</a>
评论 #32930321 未加载
eins1234over 2 years ago
Instantiating a runtime in microseconds is deeply exciting!<p>Though after skimming through the docs, I&#x27;m still left wondering a few things:<p>- JS is notably missing from the list of languages supported on the front page. But I see mentions of a Spidermonkey.wasm in the blog post. Is running JS on top of wasmtime in production a realistic prospect today? If so, where can I read more? (mainly interested in this for the instantiation time benefits, though maybe all&#x2F;most of that will be negated by the embedded JS engine?)<p>- How should I go about building a typical web service on top of wasmtime? Can wasmtime itself handle network requests&#x2F;connections or would I need to build the web server in some other host language and pass request data to wasmtime modules? Haven&#x27;t been able to find anything in the docs about this.<p>- What would it take to build a multitenant web service where customer code is isolated using wasmtime, like the one like described in the post?
评论 #32916019 未加载
评论 #32915575 未加载
asimover 2 years ago
I&#x27;m sold on the future of wasm. What really still bothers me is the effort and hoops I have to jump through to actually leverage it. Networking, just fix networking so I can drop in most things and it would be great. The fact that I have to rewrite the majority of my network access to do any external IO is painful but I get that containers took more than a decade after Google&#x27;s use to get there too.
评论 #32918967 未加载
评论 #32921742 未加载
评论 #32923029 未加载
lhnzover 2 years ago
Maybe a stupid question, but: what is Wasmtime for? What kind of use-cases&#x2F;applications does it enable and why is this good?
评论 #32915072 未加载
评论 #32914553 未加载
评论 #32916662 未加载
评论 #32914592 未加载
评论 #32914533 未加载
评论 #32919860 未加载
评论 #32914650 未加载
brundolfover 2 years ago
I assumed that like most low-level runtimes it wouldn&#x27;t be easy to just go and play with for fun, but the example is impressively simple: <a href="https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasmtime#example" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasmtime#example</a><p>Maybe I&#x27;ll take it for a spin
dangover 2 years ago
Recent and related:<p><i>Security and Correctness in Wasmtime</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32825377" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32825377</a> - Sept 2022 (16 comments)<p><i>Wasmtime 1.0: A Look at Performance</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32739941" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32739941</a> - Sept 2022 (22 comments)
survirtualover 2 years ago
Nice job on the release…<p>But still no multithreading? <a href="https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasmtime&#x2F;issues&#x2F;888" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasmtime&#x2F;issues&#x2F;888</a><p>It is strange to me to call it 1.0 without seamless threading support and while wasm &amp; wasi still have standards to work out.<p>Multithreading is a basic operation in everything I build right now. It allows me to make a highly responsive UI while doing massive computations without any user experience impact. It lets me make services which can handle thousands of requests a second. And with Rust, this all comes ergonomically. At this point, I can’t think of a single solution I would implement without doing some form of this.<p>While I could treat a wasm application as a client server model (have one module for interfacing &#x2F; managing, have X for processing where X is the number of available cores) then share memory between them, this creates a lot of boilerplate and makes the code less ergonomic, and can drastically increase friction. I don’t want to have to hack threading into an application with so much manual setup, and I don’t like when a runtime forces architecturally decisions because it lacks a basic capability.<p>Anyway, congrats on the release. I will look forward to 2.0 of these runtimes.
评论 #32958247 未加载
ainar-gover 2 years ago
Go issue for adding WASI: <a href="https:&#x2F;&#x2F;github.com&#x2F;golang&#x2F;go&#x2F;issues&#x2F;31105" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;golang&#x2F;go&#x2F;issues&#x2F;31105</a>
bullenover 2 years ago
Seems the micro runtime also released 1.0:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasm-micro-runtime" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasm-micro-runtime</a><p>But why does it not have binaries compiled and ready?<p>nm: <a href="https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasm-micro-runtime&#x2F;issues&#x2F;1482" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasm-micro-runtime&#x2F;issue...</a>
评论 #32917841 未加载
eisover 2 years ago
Congrats on the 1.0 release! Wasmtime has a world class team of developers and I truly believe that WASM will play an important part in many industries. I&#x27;m pretty excited for what&#x27;s to come. We&#x27;ve barely scratched the surface yet.
ur-whaleover 2 years ago
Dumb question time:<p>I am assuming that browsers come with a pre-installed wasm engine, and that this can&#x27;t easily be replaced with a 3rd party one.<p>I therefore assume that this product does not run in a browser, but rather standalone, and therefore probably on the server ...<p>That brings up the following, likely dumb question: what is the use case?
评论 #32918547 未加载
评论 #32917351 未加载
评论 #32916613 未加载
1980phipsiover 2 years ago
I like the little drawings that Lin Clark includes.
ctothover 2 years ago
Doesn&#x27;t seem as though I can run the QJS REPL on Windows with this yet. I thought the entire point of these sorts of projects was serving as a cross-platform runtime, but Wasmtime doesn&#x27;t actually accept key input for the REPL, and Wasmer errors out with an ugly error.<p>thread &#x27;main&#x27; panicked at &#x27;not implemented: VirtualFile::poll is not implemented for non-Unix-like targets yet&#x27;<p>Guess I still just have to wait, but seems weird to call it 1.0.
评论 #32914837 未加载
评论 #32914404 未加载
tensorsover 2 years ago
Why would you choose to use this runtime, rather than, say, writing your program in Rust to get both its safety guarantees and native performance?
评论 #32917598 未加载
评论 #32917051 未加载
评论 #32916356 未加载
periramover 2 years ago
Congrats to the wasmtime team and loved the documentation!
gkorlandover 2 years ago
Congratulation! We&#x27;re following this project for long time, considering embedding it in couple of projects. The aim is to use it as a lightweight sandbox to replace docker. But, it still feels like the performance impact is too high compared to docker.
评论 #32914834 未加载
RantyDaveover 2 years ago
I don&#x27;t understand how we got here. A cross platform byte code that runs in some kind of emulated machine was done ages ago and called Java. Or C#. And they seem not-exactly-immune to security problems. Then we did containers and they were better. Then we did containers running in a lightweight VM and they were better too.<p>Surely a compiled language on a unikernel (as in no kernel) in a lightweight VM is the ultimate good result for secure + fast + scales? Wouldn&#x27;t this buy you all sorts of hardware acceleration goodies like direct access to network hardware a la DPDK and no switching between user and kernel modes?
评论 #32922108 未加载
评论 #32921220 未加载
continuationalover 2 years ago
Really exciting, however, I&#x27;d like to see some benchmarks backing up those &quot;Wasmtime is fast&quot; claims.
sn9over 2 years ago
Deeply envious of everyone who gets to work on this. What a dream project.
my2iuover 2 years ago
I don&#x27;t understand why they propose all sorts of enterprise use-cases for wasmtime, yet they don&#x27;t provide any official Java bindings for wasmtime.
xmlyover 2 years ago
Exciting! Can not wait to try it!
xmlyover 2 years ago
Exciting! Can not wait to try it!