Creating your Rust Functions in Node.js Using SSVM and docker

nilesharnaiya

Nilesh Arnaiya

Posted on July 31, 2020

Creating your Rust Functions in Node.js Using SSVM and docker

Head over to https://github.com/second-state/ssvm-nodejs-starter to get started.

Use Docker:
$ docker pull secondstate/ssvm-nodejs-starter:v1
$ docker run -p 3000:3000 --rm -it -v $(pwd):/app secondstate/ssvm-nodejs-starter:v1
(docker) # cd /app
(docker) # ssvmup build
(docker) # node node/app.js

Copy the functions example - https://github.com/second-state/wasm-learning/tree/master/nodejs/functions

Replace the files and run your node app.

If you want to try out Machine learning with Rust - https://github.com/second-state/wasm-learning/tree/master/nodejs/ml

💖 💪 🙅 🚩
nilesharnaiya
Nilesh Arnaiya

Posted on July 31, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

What was your win this week?
weeklyretro What was your win this week?

November 29, 2024

Where GitOps Meets ClickOps
devops Where GitOps Meets ClickOps

November 29, 2024

How to Use KitOps with MLflow
beginners How to Use KitOps with MLflow

November 29, 2024

Modern C++ for LeetCode 🧑‍💻🚀
leetcode Modern C++ for LeetCode 🧑‍💻🚀

November 29, 2024