Rust keeps making JavaScript faster

preview_player
Показать описание
Delve into one of the most prominent trends within the JavaScript ecosystem. Join me as I unravel how Rust is revolutionizing JavaScript performance in today's video.

Рекомендации по теме
Комментарии
Автор

Fun fact: NaN is a number in every programming language that uses floats, which is pretty much every single one of them. That's because it's defined by the IEEE754 standard

Speykious
Автор

NaN being a Number is not the fault of JS but due to the floating point standard. This is also the case in rust.

Bennigames
Автор

It would be interesting to see you building a beginner friendly website project using rust.

AlexyMiro
Автор

What I don't understand is, why they get surprised by the performance when they should be questioning how slow the others are?

Beryesa.
Автор

NaN being a number is from IEEE 754. Rust adheres to this with floats as well

chriskennedy
Автор

Not a number is a number. That's from the floating point spec. That's not JS fault.

thekwoka
Автор

It would be nice to do another video about Rust being used more and more in the Python community - with tools like Polars, Ruff, Robyn etc getting more and more traction.

DiogoBaeder
Автор

So basically it has nothing to do with Rust itself but with going from interpreted languages to compiled/native languages. Same performance could be gotten with eg C++, but somehow the JS ecosystem all these years ignored native language implementation. For whatever reason, they took interest now and decided to use Rust as the new kid on the block.

sledgex
Автор

Tauri is good, especially for people who like/use Javascript a lot. I'm not one of them though. So if a comparable cross-platform and stable Rust GUI appears, I'll switch to that. So far it seems like Tauri is the best one for user/developer experience, other GUI libraries are either still in development or have quirks preventing from their serious adoption.

yds
Автор

Rust compilation time isn’t even its strongest point

StephenRayner
Автор

It would be great to see a new video from you about rust-tools-ecosystem incorporation into existing front-end project and how it helps to increase performance.

hwndept
Автор

Prisma js is an ORM that uses a rust SQL engine, though it heavily affects cold-starts with long compile times. Rust major advantage is having no garbage collection, and relying on the compiler and the dev for safety.

yonisMw
Автор

I have been loving writing native rust addons for js using NAPI-RS, regularly getting over 1000x speeds over orginal Node code.

sergandonl
Автор

Interesting. The same movement is happening on python world

rafael_tg
Автор

Can you check that NaN is a number in the Chi Shi?

JorgetePanete
Автор

More videos for Rust supporting JS please!

SuperQuwertz
Автор

This is also happening in the python ecosystem with ruff

lubba
Автор

There is also STC which is still in development but will speedup type checking for typescript

adrielyozan
Автор

Js infrastructure isn't even all of it. With Rust and Webassembly Rust is also taking over performance critical sections of code.

DavidChoiProgrammer
Автор

Which Shopify build tool runs for one hour?

lexigbokwe