GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - feixiao/wasm

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
call
call
 
 
cpp
cpp
 
 
hello
hello
 
 
html_template
html_template
 
 
load
load
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
ReadMe.md
ReadMe.md
 
 

Repository files navigation

WebAssembly 快速入门

推荐优秀的资料cppwasm-book

编译 Emscripten

  • OSX or Ubuntu
wget https://codeload.github.com/emscripten-core/emsdk/zip/refs/tags/4.0.4 -o emsdk-4.0.4.zip
cd emsdk
./emsdk install latest
./emsdk activate latest

source ./emsdk_env.sh
source "/Users/frank/wk/forbuild/emsdk-4.0.4/emsdk_env.sh"

#echo 'source "/Users/frank/wk/forbuild/emsdk-4.0.4/emsdk_env.sh"' >> $HOME/.zprofile
  • Windows10
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
.\emsdk.bat install latest
.\emsdk.bat activate latest
.\emsdk_env.bat
# 添加相应的路径和环境变量

1: 编译并运行一个简单的程序

2: 使用自定义HTML模板

3: 调用一个定义在C中的自定义方法

4: 加载和运行WebAssembly代码

5: 从C++编译WebAssembly的实用指南

完整例子
  • 基于WASM的H265 Web播放器

参考资料

  • webassembly
  • webassembly firefox
  • emscripten
  • webassembly-examples
  • 《从C++编译WebAssembly的实用指南》
  • modern-wasm-starter

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.