Ads skipped

Rust & Wasm

230K views · Sep 21, 2022 · Education

Comments · 557

  • @NoBoilerplate · 4 years ago (edited) · pinned

    ERRATA<br><br>I was not clear that wasm is only slower than JS in DOM manipulation. If you write pure wasm and webgl, you can smoke JS.

    666

  • @yondaime500 · 4 years ago

    You certainly have a way of making Rust sound like it came to us as a gift from a Kardashev II civilization.

    838

  • @Zedoy · 4 years ago

    Me: Manipulates DOM directly with JS.<br>No_Boilerplate: No one manipulates DOM directly.<br>Me: 😐.

    366

  • @tylerbloom4830 · 4 years ago (edited)

    In my current personal project, I&apos;m writing a backend and several clients all in Rust, including a frontend using Yew. There is one boon that WASM gives you that you didn&apos;t touch on. You can directly share libraries between your backend and frontend. No reimplementation. No bugs from translating between languages. You can ensure that the behavior of your data structures is identical between every piece of the project. Fix a bug once, and you&apos;re done!!<br><br>The message passing pattern showcased is also a fantastic way to handle client-server communication and syncing of shared state.

    95

  • @eboatwright_ · 4 years ago

    I completely agree! I use the game framework Macroquad for little games that I make, and it has support for WASM! No lag, no hassle, just &quot;cargo build --release --target=wasm32-unknown-unknown&quot;!

    92

  • @Kfoo-dj4md · 4 years ago

    Tris makes me feel like I know everything CS related just by knowing rust 😂<br><br>Rust is my favorite language 🦀

    56

  • @ronwabwire · 3 years ago (edited)

    Rust is so blazingly fast, I downloaded and installed it 5 times thinking something was wrong, literally micro seconds installation of the compiler. It was only after running rustc that I found out that the compiler installed already!

    12

  • @sinterkaastosti988 · 4 years ago

    my girlfriend cant compare to this

    10

  • @AndrewBrownK · 4 years ago (edited)

    I’m finally getting to the point I grok the lifetime errors the compiler is complaining about at a glance, and can instantly think where I messed up and where I need to go fix. It used to be that algebraic data types were my gold standard to consider a modern language usable or not, but now I can’t imagine programming without a borrow checker. <br><br>Literally, Ive been working on this personal project (a distributed event framework) for months with type level programming, and at roughly 3500 lines of code before a minimum executable demo, it executed not just successfully but correctly too. Literally first try. I was in shock. I was fully expecting to debug for hours or days. I’m in love with this language.

    19

  • @remiwi2399 · 4 years ago

    I&apos;m learning React right now so I can get a job. If only I could use rust for this! Will definitely look into it more if I ever make my own personal projects.

    54

  • @Hobbitstomper · 4 years ago (edited)

    The biggest downside is still that Wasm can&apos;t interact with the DOM of a website directly and relies on JavaScript. Even if you write everything in Rust to interact with the DOM, Wasm translates it into JS, which then interacts with the DOM. This eventually results in a bottleneck. The guys over at Wasm are saying they&apos;re working on a way around this. I&apos;m sure once they have a solution, browsers will need to add support for that. Once this is solved, that&apos;s when things will get interesting. Imagine websites running on Rust/Wasm with direct access to the DOM api without the need for JavaScript.

    16

  • @mikopiko · 4 years ago

    Man, your content is so minimal, pure &amp; easy to understand.<br>I am addicted to your channel even though I don&apos;t write Rust.

    53

Up next

LIVE

Rust makes cents

No Boilerplate · 131K views

LIVE

Why Everyone's Switching to Rust (And Why You Shouldn't)

ForrestKnight · 552K views

LIVE

The Truth about Rust/WebAssembly Performance

Greg Johnston · 216K views

LIVE

Async Rust explained in 20 minutes

Let's Get Rusty · 81K views

LIVE

I Was a Tech Worker for 20 Years. Then AI Happened.

Grasshopper · 52K views

LIVE

DHH has gone completely off the rails...

Fireship · 1.6M views

LIVE

WASM 3.0: garbage collection, threads, and more | Andreas Rossberg | PodRocket

LogRocket · 4K views

LIVE

Why I'm so bullish about Rust in 2026

Dreams of Code · 126K views

LIVE

WebAssembly might actually save web dev...

Awesome · 103K views

LIVE

This speech by Kerkeling leaves the AfD gasping for air

HeyWolfi · 40K views

LIVE

Rust on the web is starting to look quite good.

Dreams of Code · 110K views

LIVE

Why WebAssembly Can't Win

Theo - t3․gg · 161K views

LIVE

I'm done coding with AI

Brett Codes · 1M views

LIVE

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Better Software Conference · 902K views

LIVE

10 Underrated Rust Features & Patterns

Code to the Moon · 35K views

LIVE

Why Rust is different, with Alice Ryhl

The Pragmatic Engineer · 226K views

LIVE

Reliability Lessons From SQLite - Richard Hipp | SSW 2026

Software Should Work · 140K views

LIVE

Rust is not a faster horse

No Boilerplate · 359K views

LIVE

Learn Axum in 2026: Rust REST API for Beginners

Codynn · 25K views

LIVE

The Sun Is Weirder Than You Think

Cleo Abram · 1.3M views

LIVE

The Future of Rust Web Applications - Greg Johnston

Rust Nation UK · 101K views

LIVE

Building My Dream Webapp... In Rust

Code to the Moon · 30K views

LIVE

I spent six months rewriting everything in Rust

chris biscardi · 490K views

LIVE

An introduction to WebAssembly

Coding Tech · 203K views

LIVE

One Formula That Demystifies 3D Graphics

Tsoding · 1M views

LIVE

Rust's Witchcraft

No Boilerplate · 230K views

YouTube, with the door locked.

Aegis plays a clean stream instead of YouTube's player, so pre-roll ads, trackers, and fingerprinting never ride along. Drop Shields any time if you want the official player back.