An open API service indexing awesome lists of open source software.

https://github.com/a7ul/rust-module-in-javascript-blog-series

This repo contains the demo code for the blog series in medium
https://github.com/a7ul/rust-module-in-javascript-blog-series

blog javascript rust webassembly

Last synced: about 1 month ago
JSON representation

This repo contains the demo code for the blog series in medium

Awesome Lists containing this project

README

        

# Using rust modules for JavaScript/Web Development [Blog series]

**This repo contains the demo code for the blog series in medium**

Part 1:

**Using rust modules for JavaScript/Web Development (Part 1 / 3) [Plain JS]**

https://medium.com/@atulanand94/using-rust-modules-for-javascript-web-development-part-i-e6dec27df7b2

----------------------------

Part 2:

**Using rust modules for JavaScript/Web Development (Part 2 / 3) [Webpack]**

https://medium.com/@atulanand94/using-rust-modules-for-javascript-web-development-part-2-7a86eaec5ee9

--------------------------

Part 3:

**Using rust modules for JavaScript/Web Development (Part 3/ 3) [NodeJS]**

https://medium.com/@atulanand94/using-rust-modules-for-javascript-web-development-part-3-3-nodejs-7c71e4ae23fe

--------------------------

### Folder structure:
- **web** -> Rust cargo project that implements a simple calculator.
- **webwasm** -> Pure JS project that is used to integrate js and wasm.
- **webpackasm** -> Webpack based project used to integrate js and rust.
- **noderust** -> Rust modules in nodejs using foreign function invocation.

**PS: Do not forget to do npm install on the respective directories**