项目作者: vsoch

项目描述 :
Getting started with emscripten!
高级语言: JavaScript
项目地址: git://github.com/vsoch/emscripten.git
创建时间: 2018-10-15T21:13:37Z
项目社区:https://github.com/vsoch/emscripten

开源协议:MIT License

下载


Emscripten!

This is a tiny repository to learn (and have fun with
Emscripten.
Specifically, I’m getting the hang of C++ and want to create some “in browser
experiments.”

Build

For most of these, you can compile the cpp script as follows:

  1. em++ helloworld.cpp -o index.html

If it doesn’t work in your browser, you can disable WebAssembly:

  1. em++ helloworld.cpp -o index.html -s WASM=0

I was having a hard time getting the wasm to work on Github Pages, so the
examples here are running without it.

Experiments