Files
2021-09-24 09:28:08 -04:00

39 lines
1.0 KiB
Markdown

---
title: WASM Rust
description: Game of life implemented in Rust and served with NextJS
tags:
- wasm
- rust
- next
- typescript
- tailwindcss
---
# WebAssembly Rust
This example is a implements [Conway's Game of
Life](https://rustwasm.github.io/book/game-of-life/introduction.html) tutorial
in Rust and WebAssembly. The frontend is served as a
[NextJS](https://nextjs.org/) app with TypeScript and Tailwind.
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new?template=https%3A%2F%2Fgithub.com%2Frailwayapp%2Fexamples%2Ftree%2Fmaster%2Fexamples%2Frust-wasm)
## ✨ Features
- Rust
- WASM
- TypeScript
- NextJS
- Tailwind
## 💁‍♀️ How to use
- Ensure you have the [Rust toolchain](https://www.rust-lang.org/) setup
- Install [wasm-pack](https://rustwasm.github.io/wasm-pack/)
- Install deps with `yarn`
- Run app in development `yarn dev`
## 📝 Notes
This starter implements part of the official [Rust WASM tutorial](https://rustwasm.github.io/book/game-of-life/introduction.html).