Comments (5)
cc/ @rustwasm/wasm-pack, @rustwasm/book, @rustwasm/core
from book.
Do we want to do this or would it be better as an appendix resource as it currently is?
I think we want this integrated directly.
This is the blessed happy-path workflow we want to steer people towards, so our tutorial should show it to them.
If we do integrate it what would the scope be?
How would we want to change the tutorial to work with it?
The way I'm imagining it, we would have users publish their own GoL crate to npm. First, publishing the version that renders to a string, and then using that as an npm dependency with webpack in the webpage. Then, when implementing exposing the raw wasm memory for the cells to JS, we would have them publish a new version of the crate to npm, and then update the JS on the website.
Basically, make the code / workflow more like the existing wasm-pack tutorial, but with the GoL content.
How would we change the template to work with it?
Perhaps we wouldn't use the existing template, but one of the new ones that @ag_dubs is working on?
from book.
I think it makes sense for people to get the flavour by publishing, so we can just publish things as is to npm. It will also enable people to use the library more easily (atleast for those from JS background to get started quickly)
from book.
I think this needs to be done for Rust 2018 edition, so adding the "Blocking Rust 2018" label.
from book.
PR for this: #78
from book.
Related Issues (20)
- `debug=true` vs `debug=1`
- Are you considering offering more languages? HOT 2
- Add support to multi language docs.
- create-wasm-app won't run on node 18 on windows HOT 4
- Chat link in to discord channel requires "The Rust Programming Language" Server
- Stop recommending wee_alloc HOT 2
- Changes to code have no effect after first compilation HOT 5
- Add examples of correct code at major points throughout the docs HOT 2
- Canvas example needs HTML Canvas element
- Suggest using iterators instead of indexing
- [4.2] greet keeps saying "Hello, wasm-game-of-life!" HOT 1
- [4.2] Serving Locally fails HOT 3
- `wasm-pack build` generates two additional files
- Tutorial has vulnerability warnings and, after fixing those, fails at `npm run start`. HOT 3
- Can't show Game-of-Life HOT 2
- Cant run command npm run start from the www folder(following the book) HOT 4
- What is the status of this book and associated code? HOT 1
- Managed to run helloworld tuto once,with manual tweaking, then it stops working uncomprehensibly HOT 3
- Testing Life: `Unable to start the server: Operation not permitted`
- Is this repo looking for new contributors/maintainers? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from book.