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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

No installation required: how WebAssembly is changing scientific computing

109 点作者 kasperset大约 1 年前

5 条评论

mike_hearn大约 1 年前
<i>&gt; Some would use laptops, others would opt for tablets or mobile phones. Not all of them could even use the programming language that was the subject of the test: the statistical language R. “We had no control, really, over what devices those students were using,” says Stagg.</i><p>Surely the problem here is much bigger than WebAssembly vs native code. What does it even mean to give students a test on using a software package if they aren&#x27;t even willing to buy a computer? How are you supposed to do professional stats work after university on a mobile phone? They don&#x27;t even expose a file system.<p>Learning how to use a full workstation-class computer is a basic pre-requisite of doing science and many other types of professional work; these universities are just hopelessly lost if they&#x27;re not making that clear to students up front and requiring or provisioning the equipment they need. Degrees awarded on the back of tests like these are worse than useless, they&#x27;re outright deceptive to future employers. If someone claims they studied scientific computing and then turned out to not understand files, folders, packages, multiple windows and other basics then they&#x27;d be completely unable to do the job.
评论 #39677953 未加载
评论 #39679446 未加载
评论 #39677597 未加载
firtoz大约 1 年前
&gt; For instance, modern operating systems can handle 64-bit numbers. WebAssembly, however, is limited to 32 bits, and can access only 232 bytes (4 gigabytes) of memory. Furthermore, it cannot directly access a computer’s file system or its open network connections. And it’s not multithreaded; many algorithms depend on this form of parallelization, which allows different parts of a computation to be performed simultaneously. “A lot of older code won’t compile into WebAssembly, because it assumes that it can do things that can’t be done,” Stagg says.<p>I am surprised by the memory and 32 bit limitations... Are there plans to overcome them?<p>Edit: found it, <a href="https:&#x2F;&#x2F;github.com&#x2F;WebAssembly&#x2F;memory64">https:&#x2F;&#x2F;github.com&#x2F;WebAssembly&#x2F;memory64</a>
评论 #39677969 未加载
评论 #39677146 未加载
评论 #39677049 未加载
评论 #39682257 未加载
评论 #39680479 未加载
icedchai大约 1 年前
We had code execution in the browser over 25+ years ago, with Java applets. Sure, they were bloated and sluggish back then. On today&#x27;s hardware, you wouldn&#x27;t even notice.
Mortiffer大约 1 年前
Don&#x27;t see this happening scientists are totally happy installing R or Matlab etc. Often a lab even sticks with windows b&#x2F;c of some drivers for a sensor that only exists for windows
评论 #39677166 未加载
评论 #39678292 未加载
评论 #39677293 未加载
pjmlp大约 1 年前
Yet another advocacy article with absent of what came before.