Giter Site home page Giter Site logo

Comments (5)

mgattozzi avatar mgattozzi commented on May 18, 2024

cc/ @rustwasm/wasm-pack, @rustwasm/book, @rustwasm/core

from book.

fitzgen avatar fitzgen commented on May 18, 2024

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.

sendilkumarn avatar sendilkumarn commented on May 18, 2024

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.

fitzgen avatar fitzgen commented on May 18, 2024

I think this needs to be done for Rust 2018 edition, so adding the "Blocking Rust 2018" label.

from book.

fitzgen avatar fitzgen commented on May 18, 2024

PR for this: #78

from book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.