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.

Build Your First Thing with WebAssembly

195 pointsby NickLarsenalmost 9 years ago

9 comments

tdumitrescualmost 9 years ago
Nice investigation! A minor point about your description of wasm: &quot;WebAssembly or wasm is a bytecode specification for writing performant, browser agnostic web components.&quot; The term &quot;web components&quot; already has a pretty specific meaning referring to the in-progress specs for custom html ui elements and surrounding technologies (see <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;Web_Components" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;Web_Components</a>). You probably don&#x27;t want to overload that term given how close the domains already are.
评论 #11976966 未加载
评论 #11977661 未加载
vonklausalmost 9 years ago
I suspect webassembly will fail miserably. If it succeeds anywhere it will be for gaming applications. I could be totally wrong, but most web developers who build applications and sites will not be likely to embrace this given the leverage JS provides and the simplicity of use.<p>Again, I am not extremely against wasm, but this writeup is pretty well done and my take away was that it was non-trivial to pickup, buggy and has poor documentation. I am curious who web assembly is for and who is really excited about it. Is it gaining traction in gaming, and also what am I missing(serious)?<p>edit: Can advertisers bypass content blockers by compiling to wasm?
评论 #11977945 未加载
评论 #11977758 未加载
评论 #11979380 未加载
评论 #11978880 未加载
评论 #11979146 未加载
评论 #11979047 未加载
Fejalmost 9 years ago
On one hand, I want to bash WebAssembly because it takes away our ability to see what we&#x27;re running on our own PCs. On the other, it helps us slowly get away from the mess that is modern JavaScript.
评论 #11978211 未加载
评论 #11978331 未加载
评论 #11978125 未加载
wofoalmost 9 years ago
Thanks for the writeup! I had a hard time figuring out how to compile C++ to WebAssembly a couple of weeks ago and finally gave up given the lack of maturity of the implementation. I am sure this will help more people get interested in WebAssembly!
评论 #11976739 未加载
_pmf_almost 9 years ago
Hey, the intermediate language is actually a nice step up from JS.
benkuykendallalmost 9 years ago
Huh, the AST looks pretty human readable. Anyone have tips for writing WebAssembly without using asm.js? Even a pointer to decent documentation would be great.
评论 #11977482 未加载
评论 #11978430 未加载
评论 #11977641 未加载
shurcooLalmost 9 years ago
This is super useful and helpful, thanks for writing it up!
gscottalmost 9 years ago
I have a problem with making designing websites more complicated. This snobbery of finding a new complex way of doing something that should be made easier... not harder.
评论 #11981249 未加载
bobajeffalmost 9 years ago
I still see a lot of misunderstanding here about what WebAssembly is. It&#x27;s not really a &quot;bytecode&quot; like JVM&#x27;s. The best simplest way to describe it is a virtual ISA for compilers to target.<p>So the languages that make use of it will be compiled languages like C, C++, Pascal, Fortran etc.