uz
Feedback

Firibgarlarga uchmang! Telemetrio bunday kanallarni topadi va belgilaydi 👉 Belgini ko‘rmoqchi bo‘lsangiz, obuna bo‘ling

Блог*

Блог*

Kanalga Telegram’da o‘tish

Блог со звёздочкой. Много репостов, немножко программирования. Небольшое прикольное комьюнити: @decltype_chat_ptr_t Автор: @insert_reference_here

Ko'proq ko'rsatish
1 983
Obunachilar
Ma'lumot yo'q24 soatlar
+37 kun
-530 kun
Postlar arxiv
Repost from RWPS::Mirror
photo content
17 Okt 2022, 12:34

#prog #cpp #meme
17 Okt 2022, 12:34

photo content
17 Okt 2022, 11:59

Собянин заявил, что мобилизация в Москве прекращена. Ваше мнение?
Anonymous voting
17 Okt 2022, 05:38

Repost from N/a
Ещё один классный день, сегодня увидел как даже с одним мютексом люди умудряются залочить код, хотя казалось бы рекурсия и мютексы очевидно плохая идея. Код привести не могу, но есть сниппет https://play.golang.org/p/XHpMUm9l-M-
16 Okt 2022, 17:09

#prog #go
16 Okt 2022, 17:09

Repost from Двач
Чел написал годный гайд о том, как вести себя при облавах, когда менты и прочие пытаются незаконно вручить вам повестку в вое
+7
Чел написал годный гайд о том, как вести себя при облавах, когда менты и прочие пытаются незаконно вручить вам повестку в военкомат. Распространите.
16 Okt 2022, 14:56

Repost from N/a
photo content
16 Okt 2022, 14:52

Мне, кстати, недавно художница сказала, что у меня красивые руки 👉👈
16 Okt 2022, 12:34

#prog #rust #article Прекрасная серия статей про, фактически, имплементацию схем рекурсии в Rust. Чувствуется нехватка GAT. === Elegant and performant recursion in Rust This is a post about writing elegant and performant recursive algorithms in Rust. It makes heavy use of a pattern from Haskell called recursion schemes, but you don't need to know anything about that; it's just an implementation detail. Instead, as motivation, I have benchmarks showing a 14-34% improvement over the typical boxed pointer representation of recursive data structures in Rust. === Fully generic recursion in Rust Previously, we introduced a method for writing performant stack safe recursion in Rust for a single recursive data structure. This post uses the same ideas to implement a single recursion backend that can collapse or expand any recursive data structure. === Single Pass Recursion in Rust This is the third post in a three-post series. In the first post we developed a stack-safe, ergonomic, and concise method for working with recursive data structures (using a simple expression language as an example). In the second post we made it fully generic, providing a set of generic tools for expanding and collapsing any recursive data structure in Rust. In this post we will see how to combine these two things - expanding a structure and collapsing it at the same time, performing both operations in a single pass. In the process, we will gain the ability to write arbitrary recursive functions over traditional boxed-pointer recursive structures (instead of the novel RecursiveTree type introduced in my previous post) while retaining stack safety.
16 Okt 2022, 12:15

15 Okt 2022, 12:45

Repost from FrequentFlyers
photo content
15 Okt 2022, 09:48

Repost from N/a
извинити
извинити
15 Okt 2022, 04:42

— Наша команда разработки — это одна большая семья! — Аааа, так вот почему у вас нету девопса, tech writer в запое, а глава QA-отдела постоянно срётся с тимлидом!
14 Okt 2022, 21:49

Repost from N/a
photo content
14 Okt 2022, 18:27

#prog #cpp #meme
14 Okt 2022, 18:27

Repost from N/a
photo content
14 Okt 2022, 17:01

#meme
14 Okt 2022, 17:01

#prog #rust Хозяйке на заметку Если нужно выяснить, указывают ли два экземляра Rc<T> на одно и то же место в куче, вместо Rc::as_ptr(&a) == Rc::as_ptr(&b) можно написать Rc::ptr_eq(&a, &b) И, кстати, у слабых указателей такой метод тоже есть. std::rc::Rc::ptr_eq std::rc::Weak::ptr_eq std::sync::Arc::ptr_eq std::sync::Weak::ptr_eq
14 Okt 2022, 14:05