Git Product home page Git Product logo

wasm-fizzbuzz's Introduction

WebAssembly from Scratch: From FizzBuzz to DooM

Exploring WebAssembly from scratch from a backend-person-point-of-view. A story in four acts.


Welcome to my journey where I will explore some WebAssembly. We will start from scratch. My goal is to look at everything bottom-up, without much magic tooling or frameworks on our way. In this article, I prefer to build everything as much from scratch as possible.

Non-goal: We will not implement our own WebAssembly interpreter or runtime, but use existing ones, e.g., wabt or the Chrome and Firefox browsers.



Demo at https://diekmann.github.io/wasm-fizzbuzz/rust/, deployed from (Part 3) via GitHub Actions to GitHub Pages.

Play doom at https://diekmann.github.io/wasm-fizzbuzz/doom/, deployed from (Part 4) via GitHub Actions to GitHub Pages..

wasm-fizzbuzz's People

Contributors

battaile avatar diekmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wasm-fizzbuzz's Issues

Add a LICENSE

The tutorials are great! Thank you for putting this together.

I would like to build on the doom example for my own, "But can it run DOOM" project. Does this project have a LICENSE?

@diekmann

Freezes and does not save

doesnt save, when I try to it freezes until I refresh the page and reset my progress. When I open a new window it freezes and refuses to work until I refresh the page and reset my progress

saving causes panic

When you try to save the game, it panics and gives this output

PANIC!!
panic occurred: "<no further information>" in file 'src/gamefile.rs' at line 63
PanicInfo { payload: Any { .. }, message: Some(open(doomsav0.dsg, 0, 1048240) unimplemented), location: Location { file: "src/gamefile.rs", line: 63, col: 5 } }

which i assume means you haven't got it to save in the browser local storage yet

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.