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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Is WebAssembly Memory64 worth using?

39 点作者 bvisness4 个月前

7 条评论

yuri914 个月前
Looking forward to progress on the memory control proposal(s). Another reason to want more than 4GB of memory is to have more address space, assuming that you have the ability to map it. With that capability Wasm64 could be useful also for apps that don't plan to use a huge amount for real.
评论 #42725572 未加载
delifue4 个月前
ARM already have a special instruction `FJCVTZS` to accelerate JavaScript. If WebAssembly gets popular enough there will probably be hardware acceleration for it.<p><a href="https:&#x2F;&#x2F;community.arm.com&#x2F;arm-community-blogs&#x2F;b&#x2F;architectures-and-processors-blog&#x2F;posts&#x2F;armv8-a-architecture-2016-additions" rel="nofollow">https:&#x2F;&#x2F;community.arm.com&#x2F;arm-community-blogs&#x2F;b&#x2F;architecture...</a><p><a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;50966676&#x2F;why-do-arm-chips-have-an-instruction-with-javascript-in-the-name-fjcvtzs" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;50966676&#x2F;why-do-arm-chip...</a>
评论 #42722505 未加载
评论 #42722553 未加载
TekMol4 个月前
The reason I don&#x27;t use WebAssembly is that browsers do not support the text format.<p>Often it is just a tiny loop that one wants to optimize. Writing it manually in WAT would be nice. But adding a whole toolchain and a compile step to the stack is not worth it.<p>Shouldn&#x27;t it be straight forward to compile WAT to WASM? I hope one day browsers will support it.
评论 #42723314 未加载
评论 #42722341 未加载
评论 #42722468 未加载
评论 #42722255 未加载
rvz4 个月前
Unless you want to install a crypto miner to run locally on someone&#x27;s machine when they visit a website.<p>Now possible with this as well as even more capable closed-source untrusted binary blobs with DRM running amock on your machine.<p>Mozilla (a member part of the W3C) and was supposed to stop such DRM-like software from reaching the web. They have proven to be powerless to allow such software like this to be approved as a web standard.<p>The ones cheering WASM are the ones who absolutely love DRM and malware blobs in your machine now accessible in the browser.<p>This is a massive failure of the so-called &quot;Open Web&quot;.
评论 #42722638 未加载
评论 #42722589 未加载
评论 #42722581 未加载
InkCanon4 个月前
&quot;How do browsers take advantage of this fact? By reserving 4GB of memory for every single WebAssembly module.&quot;<p>Does reserve mean it has exclusive access to? Because it can&#x27;t possibly be that every single wasm module takes 4GB!
评论 #42722506 未加载
评论 #42722330 未加载
mwkaufma4 个月前
Love to visit untrusted websites that feel entitled to over 4gb ram without asking.
评论 #42722538 未加载
评论 #42722401 未加载
flohofwoe4 个月前
TL;DR: no, unless you actually need more than 32-bit address range. The other advantages of 64-bit CPUs (e.g. 64-bit integer registers, more general purpose registers) are already taken advantage of by wasm32.