Gauss Weekday

Три стакана на двоих: самая эффективная коммуникация

Речь пойдет о достаточно типичном для приложений реального времени шаблоне взаимодействия между поставщиком и потребителем информации. Поставщик (писатель) пописывает, потребитель (читатель) почитывает. Асинхронно по отношению друг к другу, каждый — в своём темпе. Обмен происходит отдельными сообщениями, и, как это часто бывает с информацией, привязанной к текущему времени, читателю интересна только самая свежая информация, то есть только последнее сообщение, отправленное писателем. Если какое-то из предыдущих сообщений пропущено — не страшно, всё равно пропущенные данные непоправимо устарели. Наиболее эффективная техника, реализующая подобное взаимодействие, известна как тройная буферизация (Triple Buffering). Именно о ней и о её небольших обобщениях пойдет речь в данной статье.

https://habr.com/ru/articles/1002764/

#atomic #c++ #c++20 #realtime #lockfree #algorithm

Три стакана на двоих: самая эффективная коммуникация

Речь пойдет о достаточно типичном для приложений реального времени шаблоне взаимодействия между поставщиком и потребителем информации. Поставщик (писатель) пописывает, потребитель (читатель)...

Хабр
Bottom-up Merge Sort with Hungarian (Kalotaszegi) Folk Dance

YouTube
In this video, Leslie Lamport, winner of the 2013 #Turing Award, best known for his seminal work in #distributed #systems, speaks about the key differences between #programming and #coding. #System #writing #thinking #algorithm https://www.youtube.com/watch?v=4RptzbNNoU0
What's the difference between programming and coding - Leslie Lamport @ HLF 2019

YouTube

Isn't it funny how people from the legacy "social" media post "links in the comments" here because they still fear being punished by an #algorithm for posting them openly?

#Meta #Twitter #Facebook

“There’s no #algorithm with the #iPod. You’re not getting pinged with #notifications. It doesn’t even connect to #Wi-Fi. There are no #advertisements. It’s like a balm against a life that’s very much otherwise #online.”

RE: https://bsky.app/profile/did:plc:5zca2ola2zxpkw37w4f3wxtu/post/3mfka3q2lkc2z
🚀 Ah, yes, another #groundbreaking #algorithm that will remain forever buried in the #GitHub graveyard of forgotten #C99 #experiments. 🤖 But fear not, the #AI #overlords at GitHub have blessed us with #Copilot to tutor us through yet another round of "Experimental" coding—because who needs practical code when you can have theoretical perfection? 📚
https://github.com/danalec/DMMSY-SSSP #experimental #coding #HackerNews #ngated
GitHub - danalec/DMMSY-SSSP: Experimental C implementation of “Breaking the Sorting Barrier for Directed Single-Source Shortest Paths” by Ran Duan, Jiayi Mao, Xiao Mao, Xinkai Shu, and Longhui Yin (STOC 2025)

Experimental C implementation of “Breaking the Sorting Barrier for Directed Single-Source Shortest Paths” by Ran Duan, Jiayi Mao, Xiao Mao, Xinkai Shu, and Longhui Yin (STOC 2025) - danalec/DMMSY-SSSP

GitHub