Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Calling Rust Code from Node.JS - Why and How - Rust Lang - JavaScript

Chris Hay via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to integrate Rust code with Node.js in this 21-minute tutorial. Discover the process of packaging Rust libraries as modules that can be seamlessly called from JavaScript and Node.js, similar to ES6 modules. Explore the growing convergence between JavaScript and Node.js ecosystems and understand why the ability to utilize Rust from JavaScript will be crucial in the future. Begin with a simple "Hello World" example, progress to adding two numbers, and then delve into creating a Rust library. Learn how to package your application for dynamic languages like Python and JavaScript, and finally, execute your Rust library from within Node.js. No prior Rust knowledge is required, making this tutorial accessible to beginners and experienced developers alike.

Syllabus

Introduction
Coding Hello World
Adding 2 numbers
Creating a Library / Module in Rust Language
Packaging your app for dynamic languages such as Python, Javascript
Calling your library from Node.JS
Outro

Taught by

Chris Hay

Reviews

Start your review of Calling Rust Code from Node.JS - Why and How - Rust Lang - JavaScript

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.