Блог со звёздочкой.
Много репостов, немножко программирования.
Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Post #10615
5.31K
БЛ @dereference_pointer_there
Showing posts older than #10616 · Back to latest

Exposing asynchrony in our programming model does create a distinction between two different kinds of functions. But that distinction always existed, it just wasn’t visible. It was just always handled on our behalf.
Forwarded from HN Best Comments
Forwarded from шитпостинг.

Forwarded from Добрый вечер, я диспетчер

(This is not super surprising when you think about it, but it bit me recently so I figured I'd write it up.)
TL;DR: Be careful when using&'a stror&'a [u8]with serde deserializers; serde has no way to produce an appropriate compile-time error when zero-copy deserialization isn't possible or just isn't supported. Instead, you'll get a runtime error indefinitely later.
Cow<'a, str> с #[serde(borrow)]
