Twelve weeks ago, three of us — interns on the Web Platform team — set out to build a compiler from TypeScript to WebAssembly. WebAssembly is a size and load-time-efficient binary format suitable for compilation to the web, with the potential to provide huge performance benefits for web applications. (We found this explanation of WebAssembly useful.)
Posts made by admin
Exploring Compilation from TypeScript to WebAssembly
Threading proposal for WebAssembly
This page describes a proposal for the post-MVP threads feature ⚛️.
This proposal adds a new shared linear memory type and some new operations for atomic memory access. The responsibility of creating and joining threads is deferred to the embedder.
Read the full proposal: https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md
Let’s write Pong in WebAssembly
Read the full article: https://medium.com/@mbebenita/lets-write-pong-in-webassembly-ac3a8e7c4591
Experimenting with WebAssembly and Computer Vision
This past summer, four time-crunched engineers with no prior WebAssembly experience began experimenting. The result after six weeks of exploration was WebSight: a real-time face detection demo based on OpenCV.
Read the full article: https://hacks.mozilla.org/2017/09/bootcamps-webassembly-and-computer-vision/
AssemblyScript compiles TypeScript to WebAssembly
AssemblyScript brings fast, portable WebAssembly binaries within easy reach of TypeScript developers, although only a subset of TypeScript is supported
Binary AST - Motivations and Design
One of the common questions we’ve seen so far is why WebAssembly doesn’t fit the role - in one of two ways: either to ask developers to use wasm instead, or to translate JS code to wasm to ship.
Neither of these options are a viable solution to the problems we face.
One may tell developers to build “large apps” in wasm, but not all pages or applications start out large. Most pages are part of a continuously updated, active platform that makes for difficult ground-up rewrites. In any case, it’s natural to expect JS codebases to grow as content continues to become more dynamic.
Read the full article: https://yoric.github.io/post/binary-ast-motivations-design-decisions-1/
WebAssembly Weekly #5: Memory matters
All you need to know about WebAssembly of this week:
WebAssembly Weekly History