diff --git a/.travis.yml b/.travis.yml index 21b05598..578df911 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,5 +26,6 @@ jobs: script: - npm run clean && npm run test:compiler env: - - ASC_FEATURES="simd" + - Runs experimental tests on node.js v8-canary using + - ASC_FEATURES="simd,threads" - NVM_NODEJS_ORG_MIRROR="https://nodejs.org/download/v8-canary/" diff --git a/README.md b/README.md index 8cbdd06a..aa35fdd7 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,40 @@ ================= [![Build Status](https://travis-ci.org/AssemblyScript/assemblyscript.svg?branch=master)](https://travis-ci.org/AssemblyScript/assemblyscript) -[![Backers on Open Collective](https://opencollective.com/assemblyscript/tiers/backer/badge.svg)](#backers) -[![Sponsors on Open Collective](https://opencollective.com/assemblyscript/tiers/sponsor/badge.svg)](#sponsors) **AssemblyScript** compiles strictly typed [TypeScript](http://www.typescriptlang.org) (basically JavaScript with types) to [WebAssembly](http://webassembly.org) using [Binaryen](https://github.com/WebAssembly/binaryen). It generates lean and mean WebAssembly modules while being just an `npm install` away. Try it out in [WebAssembly Studio](https://webassembly.studio)! +--- + +

Our Sponsors

+

+ + + + + + + + + + +

+
+

Our Backers

+

+ +

+ +The core team members and most contributors do this open source work in their free time. If you use AssemblyScript for a serious task or plan to do so, and you'd like us to invest more time on it, [please donate to our OpenCollective](https://opencollective.com/assemblyscript). By sponsoring this project, your logo will show up above. Thank you so much for your support! + +--- + Motivation ---------- -> Being able to write C-performance code in TypeScript feels so good – Ari on [Slack](https://assemblyscript.slack.com) (Apr 19, 2018) +> AssemblyScript was frictionless. Not only does it allow you to use TypeScript to write WebAssembly, [...] it also produces glue-free WebAssembly modules that are very small with decent performance. – Surma, [Replacing a hot path in your app's JavaScript with WebAssembly](https://developers.google.com/web/updates/2019/02/hotpath-with-wasm) (Feb 16, 2019) > Perhaps the fundamental issue [to get a small .wasm file] is that JavaScript is the only language for which the Web runtime is a perfect fit. Close relatives that were designed to compile to it, like TypeScript, can be very efficient as well. But languages like C, C++, Rust, and so forth were not originally designed for that purpose. – Alon Zakai, [Small WebAssembly Binaries with Rust + Emscripten](https://kripken.github.io/blog/binaryen/2018/04/18/rust-emscripten.html) (Apr 18, 2018) @@ -20,8 +43,6 @@ Motivation > I do think [compiling TypeScript into WASM] is tremendously useful. It allows JavaScript developers to create WASM modules without having to learn C. – Colin Eberhardt, [Exploring different approaches to building WebAssembly modules](http://blog.scottlogic.com/2017/10/17/wasm-mandelbrot.html) (Oct 17, 2017) -> AssemblyScript was frictionless. Not only does it allow you to use TypeScript to write WebAssembly, [...] it also produces glue-free WebAssembly modules that are very small with decent performance. – Surma, [Replacing a hot path in your app's JavaScript with WebAssembly](https://developers.google.com/web/updates/2019/02/hotpath-with-wasm) (Feb 16, 2019) - Getting started --------------- @@ -109,45 +130,3 @@ Running everything in order (lint, clean, test, build, test): ``` $> npm run all ``` - -Contributing ------------- - -This project exists thanks to all the people who [contribute](CONTRIBUTING.md). - - - -Sponsoring ----------- - -The core team members and most contributors do this open source work in their free time. If you use AssemblyScript for a serious task or plan to do so, and you'd like us to invest more time on it, [please donate](https://opencollective.com/assemblyscript). - -This is how we use the donations: - -* Allow the core team to work on AssemblyScript -* Thank contributors if they invested a large amount of time in contributing -* Support projects in the ecosystem that are of great value for us or users -* Fees for money handling - -### Sponsors - -[Become a sponsor](https://opencollective.com/assemblyscript#sponsor) and get your logo on our README on Github with a link to your site. - - - - - - - - - - - - -### Backers - -[Become a backer](https://opencollective.com/assemblyscript#backer) and get your image on our README on Github with a link to your site. - - - -Thank you for your support! diff --git a/examples/game-of-life/index.html b/examples/game-of-life/index.html index a43b67dd..a0b07c5b 100644 --- a/examples/game-of-life/index.html +++ b/examples/game-of-life/index.html @@ -2,7 +2,7 @@ Conway's Game of Life - AssemblyScript - +