TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The State of WebAssembly 2022

148 点作者 ColinEberhardt将近 3 年前

14 条评论

AlbertoGP将近 3 年前
WebAssembly is great as a developer, but it’s bothering me as a user that some websites require it for what looks to me like basic functionality.<p>The last one to bite me is Linode’s login: I can’t even login to my account to adjust a DNS setting without WebAssembly. That’s a problem because the browser I use, Firefox on PowerPC 64 (a current production CPU, not an old Mac) does not support it.<p>Yes, I can and have found workarounds, and I do have a variety of machines around that include AMD64 CPUs. It’s still an annoyance for no good reason that I can see.<p>As for the linked article, I’m not surprised to see Rust rising there because in some quick tests I did, everything worked as advertised with minimal friction.
评论 #31810397 未加载
评论 #31810121 未加载
tormeh将近 3 年前
I wish I could somehow ship a website as a single wasm file. Currently there&#x27;s quite a bit of HTML&#x2F;JS ceremony involved in order to execute a wasm file, but I&#x27;d rather be able to serve up an &quot;index.wasm&quot; and be done with it. Is there any movement towards this?
评论 #31814713 未加载
评论 #31921105 未加载
评论 #31814281 未加载
mikewarot将近 3 年前
As long as they don&#x27;t let WebAssembly have raw access to the host filesystem, they&#x27;ll do well. &quot;No access&quot; is the best access choice for the default.<p>As adoption ramps up, the pressure to make filesystem access &quot;easier&quot; will increase. I just hope they hold it off, as isolation is the key feature of the platform.
评论 #31810350 未加载
评论 #31813800 未加载
评论 #31812349 未加载
trusktr将近 3 年前
&gt; I do wonder whether some respondents are incorrectly identifying AssemblyScript as JavaScript?<p>Perhaps we should include HTML and CSS in the list of languages to choose from next year! :P<p>I picked JavaScript thinking of AssemblyScript as a tool (not a language) to use JavaScript (with types) as a language compiled to WebAssembly. Maybe the results are not accurate.<p>I also use Wasm for web (the largest category of use so far) and would not use a JavaScript engine inside Wasm to talk to plain JavaScript in a browser (I don&#x27;t think any web developer would hehe).<p>Perhaps the survey should have an option to choose<p>&quot;JavaScript running in a JavaScript engine inside WebAssembly&quot;,<p>and<p>&quot;JavaScript compiled to WebAssembly&quot;,<p>to make the results clear as to which &quot;JavaScript&quot; people are using.<p>Does a JavaScript engine inside WebAssembly even count as a &quot;WebAssembly language&quot;? Or is that C++ and Rust actually?<p>Does running a browser in WebAssembly make HTML and CSS WebAssembly languages too?<p>I think that NEAR users just use the SDK, I don&#x27;t think the users chose JS specifically for it to be in Wasm.
评论 #31881923 未加载
jkbbwr将近 3 年前
Without interface types to unify passing strings around or more complex handles to resources. WASM is going to be rough on the serverside.<p>I still have not found a consistent way to construct a sqlite connection, pass it to wasm (language agnostic) and then return and close it.
评论 #31811415 未加载
评论 #31812149 未加载
Mertax将近 3 年前
Blazor&#x2F;dotnet is the framework using WASM. C# is the language.
评论 #31811861 未加载
syrusakbary将近 3 年前
Props to Colin on the survey. It&#x27;s always super useful to have more insights on where the market is going.<p>I&#x27;m super happy to learn that Wasmer (<a href="https:&#x2F;&#x2F;wasmer.io" rel="nofollow">https:&#x2F;&#x2F;wasmer.io</a>) is the most popular runtime (regarding most people having heard of it). But I would like to cheer all the other runtimes for their awesome work, it&#x27;s always good for the ecosystem to have a healthy amount of competition on the runtime space :)
azangru将近 3 年前
What is a use case for running a javascript vm in webassembly? Why not run javascript in the browser itself? Is it for server-side webassembly stuff?
评论 #31812580 未加载
评论 #31814154 未加载
dustingetz将近 3 年前
1. what&#x27;s the functional programming story - immutable data structures, garbage collection?<p>2. WASM&#x27;s best use seems to be to cross-compile C++ GUI apps in a browser (like Unity engine). Ok, but it&#x27;s not platform native, so will this feel like weird Java desktop GUIs all over again? The best apps are native<p>3. Web apps are I&#x2F;O bound. How does wasm help?
评论 #31820551 未加载
评论 #31814372 未加载
评论 #31813015 未加载
lisper将近 3 年前
&gt; JavaScript cannot be compiled to WebAssembly<p>Wait, what? Why? Is WASM not Turing-complete?
评论 #31813991 未加载
评论 #31813855 未加载
评论 #31813817 未加载
martin_drapeau将近 3 年前
Can someone point out a known web page&#x2F;service that uses WebAssembly?
评论 #31810343 未加载
评论 #31810469 未加载
评论 #31810976 未加载
评论 #31810264 未加载
评论 #31810437 未加载
评论 #31813055 未加载
mountainriver将近 3 年前
Kinda surprised by the survey results, I wonder what it is about the rust community that they prefer it so much or perhaps the data is biased.<p>I would really expect languages that typically implement server side APIs to be most interested. But the python&#x2F;Ruby&#x2F;go people I guess aren’t that into it
sceptically将近 3 年前
Where is the .NET &#x2F; C# in the data? :(
评论 #31810909 未加载
m00dy将近 3 年前
it looks like most developers not interested in mem64 feature. I can&#x27;t really understand this thing.<p>Ladies, Gentlemen and all non binaries, current vm runtimes have 32 bit adressing and therefore you can have at most 4gb memory for your webasm application. I think it should be top priority to make it 64bit
评论 #31812203 未加载