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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

WebAssembly Browser Preview

759 点作者 zmodem超过 8 年前

34 条评论

sunfish超过 8 年前
The big news here is coordinated announcements from <i>multiple</i> browsers:<p><a href="https:&#x2F;&#x2F;blogs.windows.com&#x2F;msedgedev&#x2F;2016&#x2F;10&#x2F;31&#x2F;webassembly-browser-preview&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.windows.com&#x2F;msedgedev&#x2F;2016&#x2F;10&#x2F;31&#x2F;webassembly-b...</a><p><a href="https:&#x2F;&#x2F;hacks.mozilla.org&#x2F;2016&#x2F;10&#x2F;webassembly-browser-preview" rel="nofollow">https:&#x2F;&#x2F;hacks.mozilla.org&#x2F;2016&#x2F;10&#x2F;webassembly-browser-previe...</a><p><a href="http:&#x2F;&#x2F;v8project.blogspot.com&#x2F;2016&#x2F;10&#x2F;webassembly-browser-preview.html" rel="nofollow">http:&#x2F;&#x2F;v8project.blogspot.com&#x2F;2016&#x2F;10&#x2F;webassembly-browser-pr...</a><p>[edited to make links clickable]
评论 #12838950 未加载
评论 #12839015 未加载
titzer超过 8 年前
Hello from the Chrome&#x2F;V8 side of this announcement!<p>We&#x27;d like to say that we&#x27;re incredibly excited to keep moving WebAssembly forward, and that&#x27;s in large part due to the amazingly collaborative model that all of the vendors have put together through interpersonal relationships and shared vision.<p>Please scrutinize and comment on the design, bang on the tools, and give us feedback! Maybe try writing a codegen or tinkering with the existing tools. Try porting an app or a game. If all goes well, this is what the vendors have agreed to ship at the beginning of next year, so we want to be absolutely sure that it&#x27;s something solid that others can build on top of.<p>This is also not the end of the evolution for WebAssembly, since there is a pipeline of features planned that go beyond the MVP (minimal viable product), well into next year and after. The web and the working group is the place to experiment with and perfect those details going forward.<p>It&#x27;s an exciting time for the future of the web!<p>Thanks, - TL on the V8 side
评论 #12841963 未加载
评论 #12842675 未加载
评论 #12847317 未加载
kibwen超过 8 年前
Let&#x27;s not let this announcement overshadow what&#x27;s really important: bikeshedding over the official WebAssembly logo <a href="https:&#x2F;&#x2F;github.com&#x2F;WebAssembly&#x2F;design&#x2F;issues&#x2F;112" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;WebAssembly&#x2F;design&#x2F;issues&#x2F;112</a> :)
评论 #12839800 未加载
评论 #12840005 未加载
评论 #12840083 未加载
评论 #12839578 未加载
评论 #12840965 未加载
pettou超过 8 年前
Please, does anyone know:<p>- Why the chose stack-based VM, rather than register-based one?<p>- I see the docs mention Float128 type, is this a real possibility? What it their opinion on having Float128?<p>- there doesn&#x27;t seem to be any support for ADC instruction (&quot;add with carry&quot;) which would be very useful for implementing multi-precision numeric types. Are the plans to support ADC and the like or not? How to implement, say BigInt, with WebAssembly?<p>- maybe I misunderstood but when adding two integers result in an overflow, does it trigger the &quot;trap&quot;? I mean, lot of time (e.g. modular arithmetic) one does what fast &quot;wrap around&quot; (i.e. modulo 2^INT_SIZE) in integer types. Is this behaviour (of C) going to stay in WebAssembly?
评论 #12851359 未加载
rayalez超过 8 年前
What do you guys think is the best-case scenario for this project?<p>Like if everything goes well, how do you imagine it will affect the web in 5-10 years? What are we going to be able to do with it?
评论 #12841918 未加载
评论 #12840487 未加载
评论 #12841213 未加载
评论 #12841943 未加载
评论 #12846085 未加载
评论 #12842468 未加载
st3fan超过 8 年前
Why speculate about what Apple is doing if you can just go look at the WebKit change history.<p>Search for WebAssembly on <a href="https:&#x2F;&#x2F;trac.webkit.org" rel="nofollow">https:&#x2F;&#x2F;trac.webkit.org</a> and you can see that there is a lot of work happening.<p>The most recent commit being &quot;WebAssembly API: implement Instance&quot; - <a href="https:&#x2F;&#x2F;trac.webkit.org&#x2F;changeset&#x2F;207929" rel="nofollow">https:&#x2F;&#x2F;trac.webkit.org&#x2F;changeset&#x2F;207929</a><p>So yeah it looks like it is not finished. But it also looks like they are investing a lot of engineering time in this feature as we speak.
jim-greer超过 8 年前
I really wish Adobe would write a Flash runtime in WebAssembly. There are tens of thousands of great Flash games that are unplayable in modern browsers... Sure, you could rewrite them in js, but no one is going to.
评论 #12840122 未加载
评论 #12841522 未加载
评论 #12840065 未加载
评论 #12839978 未加载
评论 #12846070 未加载
diamondo25超过 8 年前
I haven&#x27;t really looked into the implementation, but won&#x27;t this be yet another possible way for getting out of the V8 sandbox and be able to execute code and thus be able to exploit? I recall exploits using typed arrays for code execution before, because they can contain raw assembly in a very low-level style (e.g a plain char array in C++)...
评论 #12838960 未加载
评论 #12838929 未加载
评论 #12838930 未加载
mevile超过 8 年前
I thought web assembly compiled to JavaScript, but it doesn&#x27;t look like that&#x27;s so. It looks like a binary format. I think that&#x27;s great if so. Finally we can expand beyond JavaScript on front-end development.
评论 #12838877 未加载
评论 #12838752 未加载
评论 #12838801 未加载
评论 #12840275 未加载
LeanderK超过 8 年前
i feel like one important piece thats missing is a standardised debugging-API. The introduction of WebAssembly will probably lead to a larger percentage of people compiling a (completely different) language to something running in the browser will rise. We need solid tooling for that.
评论 #12838971 未加载
评论 #12839497 未加载
评论 #12839795 未加载
评论 #12838980 未加载
评论 #12840711 未加载
dccoolgai超过 8 年前
And so ended the Age of Javascript. Many will say, &quot;good riddance&quot; but I wonder what we lose by making the Web less shareable and copyable...
评论 #12841374 未加载
评论 #12841698 未加载
评论 #12841987 未加载
no1youknowz超过 8 年前
Is there support for GoLang to WebAssembly?<p>Or will it be more of a GopherJS to WebAssembly?<p>Thanks
评论 #12839124 未加载
评论 #12839167 未加载
评论 #12858380 未加载
msl09超过 8 年前
&gt;From that point forward, the binary format will be reset to version 1 and WebAssembly will be versionless<p>Why?
评论 #12839670 未加载
wvenable超过 8 年前
Is there any sort of open source non-browser interpreter for Webassembly?
评论 #12839062 未加载
评论 #12838857 未加载
评论 #12840870 未加载
评论 #12839886 未加载
评论 #12838888 未加载
评论 #12844649 未加载
评论 #12838823 未加载
crudbug超过 8 年前
Is there a plan to support WASM in NodeJS anytime soon ? I see multiple optimization points on the server side as well.
评论 #12839212 未加载
评论 #12841069 未加载
评论 #12838991 未加载
votr超过 8 年前
Is there support for only C&#x2F;C++ at this time?
评论 #12838764 未加载
评论 #12838769 未加载
评论 #12838874 未加载
reitzensteinm超过 8 年前
Anyone know what the best way to compile and run the text format in the browser is?<p>I&#x27;m working on a compiler for Clojure, which also runs in cljs, and would love to attempt to make a back end for it that runs in the browser.
评论 #12839301 未加载
BatFastard超过 8 年前
Does anyone know what approach they have taken to access the GPU? I saw some discussion last year, but nothing clear.
评论 #12839394 未加载
评论 #12839347 未加载
TheAceOfHearts超过 8 年前
Maybe someone that&#x27;s more familiar with wasm can enlighten me, but isn&#x27;t this still extremely limited in the capabilities it exposes? With so many limitations in place, what are some example use-cases that this helps with? Am I being too negative and unrealistic? I don&#x27;t know what kind of expectations I should have. I&#x27;m not writing this to bait responses.<p>It seems to be that until you get lower level network capabilities and some form of file system access, you&#x27;re just too limited.
评论 #12843638 未加载
chx超过 8 年前
We have been watching people redoing computer software perhaps 20 years behind with JS (the original Doom was ported in 2011, if I remember correctly, please bikeshed the exact number of years) Let&#x27;s hope WebAssembly will seriously cut this figure down.
TbobbyZ超过 8 年前
Based on this tutorial<p><a href="http:&#x2F;&#x2F;webassembly.org&#x2F;getting-started&#x2F;developers-guide&#x2F;" rel="nofollow">http:&#x2F;&#x2F;webassembly.org&#x2F;getting-started&#x2F;developers-guide&#x2F;</a><p>web assembly lets youvwrite web apps in C?
Ericson2314超过 8 年前
I you think about it, a WASM &quot;process&quot; is a great middle ground between a conventional VM (ugly hardware skeoumorphism) and container (ugly Unix).<p>I hope this becomes the standard interface for server hosting, not just the browser.
wentoodeep超过 8 年前
Finally, time to create a programming language that run on top of wasm.
评论 #12848863 未加载
mschuetz超过 8 年前
What about debugging? A useful debugging suite, like the current chrome developer tools for javascript, is a must have in my opinion.
partycoder超过 8 年前
This is great. I cannot wait for projects like Scala.js to compile to WebAssembly, to bring some more language diversity to the browser.
iamleppert超过 8 年前
Bye bye, native app developers...
评论 #12840565 未加载
评论 #12842709 未加载
grondilu超过 8 年前
How reasonable is it to hope that WebAssembly becomes a compilation target for GCC?
z3t4超过 8 年前
My biggest worry is that everyone will turn this off due to security concerns.
hitlin37超过 8 年前
so it compiles c++ to webassembly syntax using empscripten compiler. what js has to do with webassembly? Is the idea is same with js? i.e. compiler js code to webassembly.<p><i>noob here on web assembly.</i>
nickthemagicman超过 8 年前
SO EXCITED!! Cant wait to get a block scoped language in the browser!!
评论 #12842886 未加载
mring33621超过 8 年前
Everybody hated Java applets. Terrible for security! Worst thing ever! Glad they&#x27;re gone!<p>Hmmmmmm...
评论 #12839365 未加载
评论 #12839759 未加载
评论 #12839621 未加载
jlebrech超过 8 年前
will this mean we can use gtk for websites in the future?
评论 #12845693 未加载
awqrre超过 8 年前
Being a binary format is the worst part of WebAssembly... for the open web.
评论 #12843779 未加载
评论 #12843011 未加载
tmzt超过 8 年前
I guess this explains some things I heard last week ;)