• Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Workshop for Learning Rust and WebAssembly

Rust WebAssembly Workshop

This is a workshop for learning about the usage and inner workings of Rust WebAssembly with a focus on the wasm-bindgen based toolchain.

Suggested Prerequisites

This workshop assumes that you are familiar with Rust to an advanced beginner or intermediate level. If you are not, I suggest first taking a look at the Rust Programming Language Book.

You should also have a passing familiarity with JavaScript.

Getting Started

Make sure that you have the lastest version of Rust installed as well as wasm-pack.

Once you have this, navigate to the getting-started folder.

Contents

The workshop is composed of three parts:

  • Getting Start: This covers the very basics of Rust and WebAssembly using wasm-bindgen and wasm-pack. Start here if you know nothing about Rust and WebAssembly tooling or need a quick refresher.
  • Going Further: This section takes your learning even further by having you take an existing Rust library and using it from JavaScript.
  • Putting It All Together: This section has you expand a Rust library to create the user interface in the browser through Rust and then start it all up by calling it from JavaScript.

More Repositories

1

learn-rust-the-hard-way

"Learn C The Hard Way" by Zed Shaw Converted to Rust
Rust
345
star
2

DMG-01

A Gameboy Emulator in Rust
HTML
208
star
3

rust-workshop

Beginners Rust Workshop
Rust
107
star
4

wepl

A repl for WebAssembly Components
Rust
106
star
5

const-sha1

A sha1 implementation useable in const contexts
Rust
87
star
6

intro-to-rust-streams

Resources (including code) for my Intro to Rust streams
Rust
70
star
7

welle

Apache-Benchmark-Like Tool Written in Rust
Rust
60
star
8

remem

Utility for reusing memory
Rust
52
star
9

compile-fail

A simple utility for ensuring that certain Rust code does not compile.
Rust
36
star
10

Rust-8

A CHIP-8 emulator/implementation written in Rust
Rust
35
star
11

component-book

A high-level explanation of the low-level details of WebAssembly components
24
star
12

Rustdoku

A simple Sudoku solver written in Rust
Rust
19
star
13

apfel

A lightweight .strings file parser written in Ruby
Ruby
19
star
14

dyna

Instantiate, inspect, and invoke Wasm components from within a component.
Rust
17
star
15

const-utf16

Utf8 to utf16 conversion functions for use in const contexts
Rust
15
star
16

wasmtime-component-demo

A demo of how to work with WebAssembly components in wasmtime
Rust
12
star
17

triage-tracker

Track the opening and closing of GitHub issues over time
Rust
12
star
18

msfs2020

Rust bindings to SimConnect for use with Microsoft Flight Simulator 2020.
Rust
12
star
19

overflow

A Rust proc macro for automatically re-writing math expressions to overflow friendly method invocations
Rust
8
star
20

async-redis

An Async Redis Client for learning async Rust
Rust
8
star
21

rosetta

Automatically Create Foreign Language Vocabulary Lists From Books
Haskell
8
star
22

RustApps

An answer to the question of "How do I write shared logic for iOS, Android, Windows, and macOS Apps in Rust"
Rust
7
star
23

palette

Rendering Colors in the Terminal Made Wicked Easy
Elixir
6
star
24

compiler-errors

A collection of examples that illustrate common Rust compiler error messsages
Rust
5
star
25

coding-challenge

Coding Challenge In Rust
Shell
5
star
26

seiten

Elixir Pagination Library
Elixir
5
star
27

spin-todo

A spin application that uses experimental sqlite support
Rust
4
star
28

cargo-nuget

A tool for installing nuget packages in a Rust project
Rust
4
star
29

blankfuck

A Brainfuck like language written entirely with whitespace.
Haskell
4
star
30

web-test

Playing Around with Web Servers Written in Go and Rust
Rust
4
star
31

boy

Educational Gameboy Emulator
TypeScript
4
star
32

howard

More Functional Awesomeness for Elixir
Elixir
4
star
33

flappy

A Clone of Flappy Bird Written in Elm
Elm
3
star
34

pure

Functional Programming in Swift
Swift
3
star
35

com-example

An Example Usage of COM in Rust
Rust
3
star
36

nust

Rust NES Emulator
Rust
2
star
37

Panda

Toy Programming Language Written in Elixir
Elixir
2
star
38

scaldoku

Sudoku Server in Scala
Scala
2
star
39

symon

Discover the subtile differences between the meaning of different words
Ruby
2
star
40

cdas-learn-rust

CDAs Learn Rust
Rust
2
star
41

spin-bloom-filter

An example of using a bloom filter in a spin app
Rust
2
star
42

min-spin

The smallest spin http handler
Rust
2
star
43

wasi-http-middleware-prototype

Rust
2
star
44

sqlite-component

A WebAssembly component that embeds a SQLite engine
Rust
2
star
45

recursive-type-bug-repro

Rust
1
star
46

wac-example

An example of the wac tool
Rust
1
star
47

kalos

A simple language originally based off the Kaleidoscope LLVM Tutorial Language
Rust
1
star
48

Pile-5

Rust
1
star
49

posters

Silly library for downloading movie posters in parallel
Elixir
1
star
50

the-horde

Unleash a horde of web requests to test if your servers can handle the load.
Elixir
1
star
51

chitchat

A simple chat server written in Elixir
Elixir
1
star
52

solitario

A async-std compliant executor that is capable of spawning !Send tasks on dedicated workers
Rust
1
star
53

dotfiles

My personal Dotfiles
Vim Script
1
star
54

squote

A string backed alternative to the popular quote crate.
Rust
1
star