#prog #rust #rustasync #article
Making Async Rust Reliable
О том, чего не хватает текущему асинку в расте.
И нет, речь не о том, что основа асинка сама по себе ненадёжная — скорее о том, что различные фичи имеют неочевидное совместное поведение.
Making Async Rust Reliable
О том, чего не хватает текущему асинку в расте.
И нет, речь не о том, что основа асинка сама по себе ненадёжная — скорее о том, что различные фичи имеют неочевидное совместное поведение.
Tyler Mandry
Making Async Rust Reliable
Last year was an important year for Async Rust, culminating in the release of async fn in traits, one of Rust’s most long-awaited language features. I’m really proud of the work and expertise the Async Working Group has put in to this effort, and for the…
#prog #rust #rustlib #abnormalprogramming
analog-literals
Поддерживаются также двухмерные и трёхмерные литералы (см. (а лучше не см.) документацию)
analog-literals
assert_eq!(
analog_literal! { I----I }
+ analog_literal! { I------I },
analog_literal! { I----------I },
);
Поддерживаются также двухмерные и трёхмерные литералы (см. (а лучше не см.) документацию)
docs.rs
analog_literals - Rust
Inspired by the abhorrent incredible Multi-Dimensional Analog Literals library created by Eelis back in 2006, I am proud to present `analog_literal!` - a Rust macro that enables embedding analog literals directly into Rust code.
#prog #rust #rustasync #article
The bane of my existence: Supporting both async and sync code in Rust
TL;DR: средства для этого есть, но ни одно из них не является удовлетворительным.
The bane of my existence: Supporting both async and sync code in Rust
TL;DR: средства для этого есть, но ни одно из них не является удовлетворительным.
NullDeref
The bane of my existence: Supporting both async and sync code in Rust
Sit beside me and hear this crazy old man's tale of when I asked Rust for too much
#prog
Вероятно, в ближайшее время в std #rust вместо пачки NonZero-типов будет один обобщённый тип NonZero
Вероятно, в ближайшее время в std #rust вместо пачки NonZero-типов будет один обобщённый тип NonZero
GitHub
Tracking Issue for generic `NonZero` · Issue #120257 · rust-lang/rust
Feature gate: #![feature(generic_nonzero)] This is a tracking issue for replacing the distinct NonZero* types with a generic NonZero<T> type. This allows using NonZero with FFI type aliases i...
❤🔥16🔥1🎉1