awesome-wasm-zh icon indicating copy to clipboard operation
awesome-wasm-zh copied to clipboard

WebAssembly(wasm)资源精选

WebAssembly资料精选 - 中文版

  • KusonStack一站式可编程配置技术栈(Go): https://github.com/KusionStack/kusion
  • KCL 配置编程语言(Rust): https://github.com/KusionStack/KCLVM
  • 凹语言™: https://github.com/wa-lang/wa

Ending's law: "Any application that can be compiled to WebAssembly, will be compiled to WebAssembly eventually."

Ending定律也称为终结者定律,它是Ending在2016年Emscripten技术交流会上给出的断言:一切可编译为WebAssembly的,终将会被编译为WebAssembly。


网易云课堂·光谷码农课堂

https://study.163.com/provider/480000001914454/index.htm

加入QQ群

  • WebAssembly QQ群:726475047

关注微信公众号(光谷码农/guanggu-coder)

公众号底部菜单扫码加入微信群


收录标准

  • 有深度或时效性的单篇或系列非转载的原创或翻译文章
  • Github上类似awesome系列的集合类或列表类项目必须:WebAssembly强相关的,至少100个star

其它awesome

  • https://github.com/mbasso/awesome-wasm

官方参考

  1. https://webassembly.org
  2. https://www.w3.org/TR/wasm-core-1
  3. https://www.w3.org/TR/wasm-js-api-1
  4. https://github.com/WebAssembly/spec/issues
  5. https://kripken.github.io/emscripten-site/index.html
  6. https://developer.mozilla.org/en-US/docs/WebAssembly

规范文件:

  • WebAssembly 2.0 Draft 2022-08-11 (PDF)
  • WebAssembly Specification Release 1.0 (PDF)
  • Mechanising and Verifying the WebAssembly Specification(PDF)
  • Bringing the Web up to Speed with WebAssembly(PDF)

性能报告:

  • Mind the Gap: Analyzing the Performance of WebAssembly vs. Native Code(PDF)

Ending定律

  • https://zh.wikipedia.org/wiki/WebAssembly
  • https://www.zhihu.com/question/290521651
  • https://mp.weixin.qq.com/s/klv2lq-VJcHA8WPXDUtNlQ
  • https://twitter.com/chaishushan/status/1029924713609363458

有意思的例子

  • 浏览器中的放大镜: https://chai2010.cn/awesome-wasm-zh/examples/hello-sdl/
  • 浏览器跑C语言: https://chai2010.cn/awesome-wasm-zh/examples/c4/

WebAssembly图书

  1. WebAssembly标准入门 - 人民邮电出版社, 49元, 配套视频课程
  2. C/C++面向WebAssembly编程 - 开源图书, 已完稿
  3. WebAssembly friendly programming with C/C++ - 英文
  4. Learn WebAssembly - 英文
  5. Programming WebAssembly with Rust - 英文
  6. WebAssembly in Action - 英文

开源实现(虚拟机 & 编译器 & 工具链)

C/C++

  • https://github.com/LuisHsu/WasmVM
  • https://github.com/AndrewScheidecker/WAVM
  • https://github.com/rianhunter/wasmjit

Go

  • http://github.com/go-interpreter/wagon
  • https://github.com/perlin-network/life
  • https://github.com/akupila/go-wasm
  • https://github.com/tsavola/wag

编程语言

.Net

  • https://github.com/aspnet/blazor

AssemblyScript

  • https://github.com/AssemblyScript/assemblyscript

C/C++/D

  • http://kripken.github.io/emscripten-site/
  • https://wiki.dlang.org/Generating_WebAssembly_with_LDC
  • https://github.com/rianhunter/wasmjit

Go

Java & Kotlin

  • https://github.com/i-net-software/JWebAssembly
  • https://superkotlin.com/kotlin-and-webassembly/
  • https://github.com/konsoletyper/teavm

Rust

More

  • https://github.com/appcypher/awesome-wasm-langs

黑科技

  1. V8 & WebAssembly
    • Liftoff: https://v8project.blogspot.com/2018/08/liftoff.html
  2. 模拟Window 2000系统:
    • https://bellard.org/jslinux/vm.html?url=https://bellard.org/jslinux/win2k.cfg&mem=192&graphic=1&w=1024&h=768
  3. .NET UI framework
    • https://www.reddit.com/r/csharp/comments/98bjdu/brave_pilots_wanted_to_take_c_wpf_where_they
  4. Unity3D
    • https://blogs.unity3d.com/cn/2018/08/15/webassembly-is-here/
  5. Python
    • http://pypyjs.org/

技术文章

其它