Trending

#AsyncRust

Latest posts tagged with #AsyncRust on Bluesky

Latest Top
Trending

Posts tagged #AsyncRust

📌 Rust Asíncrono: Desmitificando Pinning

Segunda parte de la serie. Descubre el concepto clave para la programación asíncrona segura.

https://thenewstack.io/async-rust-pinning-demystified/

#RustLang #AsyncRust #SystemsProgramming #RoxsRoss

0 0 0 0

Embassy excels in applications requiring long-lived device tasks and complex state machine implementations. Its async nature simplifies managing concurrent operations without the overhead of traditional RTOSes. #AsyncRust 4/6

0 0 1 0

Rust's async design, with 'inert' lazy futures and no green threads, prioritizes control & zero-cost abstractions for embedded/high-perf. This design choice, however, introduces complexities like 'futurelock' due to explicit future management. #AsyncRust 3/6

0 0 1 0

On Ep.9, we explore:
- How #Linkerd, built on Finagle, inspired #Tower, #Hyper & #Tokio — the base of Rust’s async ecosystem.
- Why Tonic was created, what makes its #gRPC design unique.
- And why async abstractions in #Rust remain an unfinished story.
#RustLang #CloudInfra #OpenSource #AsyncRust

2 0 1 0

A core challenge is achieving "cancel-safety" in async Rust: ensuring resources are properly released and state remains consistent when a future is cancelled. Simply dropping a future can lead to subtle bugs. #AsyncRust 2/6

0 0 1 0
Preview
RustConf 2025 RustConf 2025 | Seattle, WA & Online, Sept 2-5, 2025

Last chance to sign up for workshops at #rustconf25, Sept 2 in Seattle: Learn Async Design Patterns, Async Fundamentals, or Rust at the Edge from experts. Register before seats sell out! Some only have ONE seat remaining ti.to/rustconf/202...

#RustConf #AsyncRust #AI #rustlang

3 0 0 0

The difficulty stems from io_uring's raw memory management, which clashes with Rust's safety guarantees. Ensuring memory is valid across async operations, especially during cancellation, is a significant hurdle for robust abstractions. #AsyncRust 3/6

0 0 1 0
Preview
RustConf 2025 RustConf 2025 | Seattle, WA & Online, Sept 2-5, 2025

Small classes. Expert instructors. Practical skills you can use immediately. Join Async Day at #rustconf25, Sept 2 in Seattle: Async Design Patterns, Async Rust & C++, Async Fundamentals, and Rust at the Edge. Sign up! ti.to/rustconf/202...

#rustlang #asyncrust #opensource

4 1 0 0
Preview
Rust STM32 GPIOs Tutorial - The Oasis BBS Learn how to build a Rust STM32 GPIOs hardware tester in 60 lines using Embassy and probe-rs. Watch the full tutorial now.

Rust STM32 GPIOs Tutorial
#RustLang #EmbeddedRust #STM32 #GPIO #AsyncRust #EmbassyRs #ProbeRs #RetroROM #Microcontrollers

theoasisbbs.com/rust-stm32-g...

10 2 1 0
The Statue of Liberty

The Statue of Liberty

Day after Lady Liberty: sore feet, full heart, still losing arguments with the borrow checker. Freedom never felt so semantically strict. 🫖🗽🦀 #RustLang #ProgrammingHumor #DevLife #100DaysOfCode #AsyncRust #SystemsProgramming #TeaTimeCoding

3 0 0 0
Preview
Mastering Async Rust: Conquering the ‘Hard Mode’ for Fearless Concurrent Applications Async Rust has earned its reputation as the “hard mode” of systems programming. Unlike the ergonomic async/await in JavaScript or Python…

Just published a guide on tackling the hard mode of systems programming: Async Rust
Covers common pitfalls, tokio, concurrency, channels, performance, and when to use async in the first place.
🔗 tinyurl.com/4wvuyrrw
#RustLang #AsyncRust

1 0 0 0

Is there a #rust crate that provides an "async timer"?

Basically a future wrapper that records the total busy and idle times of the future it wraps and then returns those times together with the ready result of the wrapped future.

#rustlang #asyncRust

9 1 2 0

An async function, when called, returns a Future because the Future is return type. This is just returning its return type like any regular function. The only change is Future wraps the declared return type in async function, to make the full return when the async function is called. #asyncrust

1 0 0 0

The common point between Rust's standard library (std) and Tokio is the Future trait (doc.rust-lang.org/std/future/t...) .

#rust #rustlang #asyncrust #tokio_rs

1 0 1 0

An async block directly creates a Future
An async function, when called, returns a Future.
Note `when called` in async function...

#Rust #Async #Rustlang #AsyncRust

1 0 0 0

The word `await` perfectly captures async essence: actively anticipating results while staying productive!
await = waiting in anticipation
wait = passive waiting
That's why #AsyncRust (and some other languages) chose await - it's all about productive anticipation! #RustLang

1 0 0 0

In select!:Multiple branches compete/race like diverging paths;Only one branch "wins" and gets executed

In join!: Different branches merge back together; Like tributaries joining into a main river; All branches must complete to form the whole

#AsyncRust #Rustlang #tokio_rs

0 0 0 0
tokio_console - Rust tokio-console CLI

Did you know that the meaning of all the columns in Tokio Console is documented?

Someone asked about this today, and being able to point to the docs was great!

docs.rs/tokio-consol...

#rust #rustlang #asyncRust #tokioConsole

2 0 0 0
how I finally understood async/await in Rust (part 1) - hēg denu - Hayden Stainsby

Last year I wrote a series of blog posts about how I had finally understood async/await in #rustlang. If that’s a topic that you’re learning, they might help fill in some gaps.

hegdenu.net/posts/unders...

#rust #asyncRust

17 0 1 0

This leads into the new instrumentation in Tokio 1.41.0 and new lints in Tokio Console 0.1.13.

And of course there's a link to the Clippy lint that can do much of this statically!

#rust #asyncRust #tokio #tokioConsole

0 0 0 0
how big is your future? - hēg denu - Hayden Stainsby

I wrote up a post on the size of Futures in #rustlang, why they can be big, why we care and how you can check the size.

hegdenu.net/posts/how-bi...

#rust #asyncRust #tokio #tokioConsole

4 1 1 0
Post image

🌐#7Days7RustProjects Day 6: Rust TUI Chat Application 🖥️ 🦀

🔥 Difficulty Level: 🌲 Advanced

🔗Blog Post: www.genxjourney.online/blog/rust-tu...
🔗GitHub Repository: github.com/dexter-xD/7D...

#RustLang #TerminalUI #AsyncRust #Networking #CodeLearn

0 0 0 0
Post image

🌐#7Days7RustProjects Day 4: Rust Web Scraper with Actix Web 🦀

🔗 Check it out: www.genxjourney.online/blog/rust-we...
🔗 GitHub Repository: github.com/dexter-xD/7D...

🔥 Difficulty Level: 🍃 Intermediate

#RustProgramming #WebScraping #ActixWeb #AsyncRust #LearnToCode

1 0 0 0

Ohh, okay. If I just implement a tower service that understands the Embedded Zip format, I'll get integration with frameworks that understand Tokio Services for free. Huh. That... might be a lot easier. After learning a little bit more. #RustLang #AsyncRust

1 0 0 0