Похожие чаты

Can someone suggest to me a project idea to learn

async programming? my main lang is rust but my past projects uses sync. I haven't touched async one bit.

6 ответов

43 просмотра

I think the best way to learn async is by learn it from javascript along with Promises and async await, simply understand deeply how to work with Promise with js and you know async

Jacob
I think the best way to learn async is by learn it...

the async model in rust is very different from the async model in js. a future in js is closer to a task in rust, while a future in rust has no equivalent in js. rust async is a more complex and rich system. my recommendation is: tokio's tutorial for a practical guide https://tokio.rs/tokio/tutorial the official async book for the theory and deep understanding of the system https://rust-lang.github.io/async-book

Holmes
the async model in rust is very different from the...

👍 I'd start with simple things And you don't always have to understand how it works but how to use it

Jacob
👍 I'd start with simple things And you don't alwa...

you need to understand how it works if you don't want to face ""weird"" stack overflows, high memory usage, weird run time spikes, etc not talking about weird deadlock and problems that can occur under real concurrency system that don't exist in js rust isn't a simple language, and if they want to learn and use async they need to learn rust async. rust isn't the type of language you use as a blackbox without caring about anything, you won't enjoy any of its benefits while still working a few times harder than you'd in a language like js

Похожие вопросы

Обсуждают сегодня

Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
Мужики и девушки, привет) в Вelphi xe7 в настройках во вкладке "Editor Options" далее " Color" есть список: "Elements", открыв который мы можем настраивать отображение разных...
Kraszx
14
VIP-392 [zkSync] New native USDC market in the Core pool Summary If passed, following the Community proposal “Support native USDC on Venus Core Pool of ZKSync Era” and the a...
Venus Announcements
1
is that okay?
Samurai 🇯🇵
21
Добрый вечер. Есть вопрос, а может и предложение. Был у меня диалог в другой группе о делфи и я задался вопросом: "А нельзя ли в делфи цвет //коментария и {комментария} сде...
Kraszx
24
How about the project bro Likes the community not that active ?
🅿️abby_FX
19
Я вот подумал. SSE выполняет операции максимум с 64-битной точностью. А FPU - всегда с 80-битной. Разве не должно быть FPU точнее тогда?
The Bird of Hermes
13
Guys, Donald Trump or Kamala Harris? It does not matter for Bitcoin in the long run!! 2020 Election: After Joe Biden's victory in November 2020, Bitcoin steadily rose from...
Sabah Shabu
3
как быть с принтером? такой подход прокатит?
zamtmn
12
Мдя, прикол, боевая сборка запускается (именно под отладчиком) после F9 примерно полторы минуты (97 секунд если быть точным). Начал копать - проблема детектится сразу - зависа...
Александр (Rouse_) Багель
38
Карта сайта