Udemy

Rust & WebAssembly with JS (TS) - The Practical Guide

Enroll Now
  • 6,583 Students
  • Updated 12/2021
4.5
(555 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
13 Hour(s) 24 Minute(s)
Language
English
Taught by
Filip Jerga, Eincode by Filip Jerga
Rating
4.5
(555 Ratings)
2 views

Course Overview

Rust & WebAssembly with JS (TS) - The Practical Guide

Learn to code in Rust. Compile the code to WebAssembly. Prepare JS/TS frontend and create browser-based Snake game.

What is Rust?

Rust is a programing language. Rust is blazingly fast and memory-efficient: with no runtime or garbage collector, it can power performance-critical services, run on embedded devices, and easily integrate with other languages.

What is WebAssembly? 

WebAssembly is a new type of code that can be run in modern web browsers — it is a low-level assembly-like language with a compact binary format that runs with near-native performance and provides languages such as C/C++, C#, and Rust with a compilation target so that they can run on the web. It is also designed to run alongside JavaScript, allowing both to work together.

Is this course right for you?

If you plan to start your career as a developer or improve your programming skills, this course is right for you. Learn how to build a browser game with minimal JS and Rust code compiled into WebAssembly instructions.

You will get the confidence and skills required to start your projects during this course. In addition, you will get the right mindset to apply for a developer career.

What are you going to work on?

You will build the Snake game from scratch. You will learn to write code in Rust language, static type, compiled language.

The course starts with an explanation and practical examples of the Rust language. You will learn Rust-specific features such as "moving" and "copying"

Rust doesn't have a garbage collector. Memory is cleared when the values are getting out of the scope. You will learn how to manage this concept with ease.

The next feature you will learn of is borrowing and references. Through references, you will be able to access values without owning them.

In the beginning lectures, we will also talk about memory management in Stack and the Heap structures, modularity, strings, and other essential topics.

After Rust's introduction lectures, you will start building your Snake game. You will learn how to structure the application modular and cleanly. 

You will build your own JS frontend, exposed through a simple Webpack development server. Later, you will transform JS implementation into TS (Typescript). This will specify types and be on the same page as Rust code.

You will build your rust backend code, the backbone of our game. You will learn how to compile Rust code into WebAssembly code. WebAssembly is code that can run in the browser. It's faster (almost Native speed) and more efficient than JS.

At the end of the course, we will create a production server and deploy our game to Heroku, so anybody on the internet can play our game.

Course Content

  • 10 section(s)
  • 113 lecture(s)
  • Section 1 Introduction
  • Section 2 Rust Preparation
  • Section 3 Basics Types
  • Section 4 Move & Copy
  • Section 5 Reference & Borrowing
  • Section 6 Strings
  • Section 7 Box & Struct
  • Section 8 Enums
  • Section 9 Traits
  • Section 10 Modularity

What You’ll Learn

  • Create a browser game made in Rust/WebAssembly and Javascript
  • Understand Rust language in practical and fun way
  • Use gained knowledge to create your own applications
  • Establish yourself in the field of the exciting Rust development environment

Reviews

  • P
    Pedro Martí Amarista
    4.5

    This course is a gem for developers looking to take their skills to the next level. It clearly explains how to integrate Rust and WebAssembly into modern JavaScript and TypeScript projects, combining solid theory with practical examples. Perfect for those seeking performance, security, and a more robust frontend architecture. Highly recommended! Este curso es una joya para desarrolladores que quieren llevar sus habilidades al siguiente nivel. Explica con claridad cómo integrar Rust y WebAssembly en proyectos modernos con JavaScript y TypeScript, combinando teoría sólida con ejemplos prácticos. Ideal para quienes buscan rendimiento, seguridad y una arquitectura más robusta en el frontend. ¡Altamente recomendado!

  • H
    Hugo Carreira
    4.5

    This is above all about the integration of JS and Rust via WebAssembly, more than a course on Rust, which here is used in its simplest form. I.e., it's just the basics required to implement this particular game, rather than a course on the language itself. In that regard, I was expecting a bit more meat. Still, I must say I enjoyed it. I'd also say that the course's 13.5 hours seem adequate. Filip's accent can be hard to follow, as others mentioned, but the automated translation made it a non-issue. It ends with the deployment to Heroku, which, as I write this, is no longer free, but that is a bonus anyway (and surely some of that can be useful if you use other similar services).

  • R
    Ricardo Reich Corseuil
    2.5

    It makes no sense to configure node in a project such as snake.

  • F
    Fernando Villar
    5.0

    The fact that the instructor deeps down into how the memory management works in Rust it really helps a lot to understand why the compiler always throws those kind of errors, something really difficult to understand for those who never worked with the memory management.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed