Giter Site home page Giter Site logo

Comments (4)

GJZwiers avatar GJZwiers commented on June 15, 2024

I'd like to contribute to this chapter but I have some questions:

  • What should the scope of the chapter be? That is, should it only cover how to use wasm modules in Deno
    or how to write wasm modules as well? I'm asking because there are already many good resources for the latter on for example MDN and the Rust docs. I think a lot of other content in the chapter would depend on this choice. For example, I could write a page that shows how to write some Rust, use wasm-bindgen to make type bindings and create a module with wasm-pack that can be run in Deno, although most of that page would be similar to what's on MDN.

  • On the same note as the first question. should there be a page on optimizing wasm for speed and/or size or should the chapter just link to existing guides on the web for that?

  • Should there be a page with a list of helpful resources, maybe with links to for example the web-sys Rust crate, wasm-bindgen docs, and so on?

I'm curious to hear what you think :) Personally, I'd like having some pages that are tailored to Deno + WebAssembly as a lot of tutorials on the web assume Node/npm/Webpack or something along those lines.

from manual.

bartlomieju avatar bartlomieju commented on June 15, 2024

I'd like to contribute to this chapter but I have some questions:

Thanks!

  • What should the scope of the chapter be? That is, should it only cover how to use wasm modules in Deno
    or how to write wasm modules as well? I'm asking because there are already many good resources for the latter on for example MDN and the Rust docs. I think a lot of other content in the chapter would depend on this choice. For example, I could write a page that shows how to write some Rust, use wasm-bindgen to make type bindings and create a module with wasm-pack that can be run in Deno, although most of that page would be similar to what's on MDN.

It should cover how to use WASM modules in Deno. We don't want to repeat (and later maintain) general guides how to write WASM, instead we should link do MDN and other high quality resources on the topic.

  • On the same note as the first question. should there be a page on optimizing wasm for speed and/or size or should the chapter just link to existing guides on the web for that?

It should link to existing guides.

  • Should there be a page with a list of helpful resources, maybe with links to for example the web-sys Rust crate, wasm-bindgen docs, and so on?

Sure, such list would be helpful.

I'm curious to hear what you think :) Personally, I'd like having some pages that are tailored to Deno + WebAssembly as a lot of tutorials on the web assume Node/npm/Webpack or something along those lines.

Having Deno + WebAssembly tutorials would be great, to fill the gap.

from manual.

GJZwiers avatar GJZwiers commented on June 15, 2024

I've made a PR for the issue: #71

from manual.

bartlomieju avatar bartlomieju commented on June 15, 2024

Done in #71

from manual.

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.