home.social

#push_back — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #push_back, aggregated by home.social.

fetched live
  1. 🐢🔍 Brace yourselves, folks! Yet another "deep dive" into the riveting world of #C++ minutiae 🤯. Marvel at the endless fascination of the "push_back" operation in SmallVector—because nothing screams excitement like stack realignment and trivially copyable element types! 🎉🤦‍♂️
    maskray.me/blog/2026-06-27-a-d #SmallVector #push_back #techdeepdive #codingexcitement #programminghumor #stackrealignment #HackerNews #ngated

  2. 🐢🔍 Brace yourselves, folks! Yet another "deep dive" into the riveting world of #C++ minutiae 🤯. Marvel at the endless fascination of the "push_back" operation in SmallVector—because nothing screams excitement like stack realignment and trivially copyable element types! 🎉🤦‍♂️
    maskray.me/blog/2026-06-27-a-d #SmallVector #push_back #techdeepdive #codingexcitement #programminghumor #stackrealignment #HackerNews #ngated

  3. Move‑семантика в C++: пять задач, в которых легко ошибиться

    В C++ часть ошибок выглядит слишком безобидно, чтобы сразу насторожиться: std::move в return , emplace_back «для скорости», перемещение из const , move‑конструктор без noexcept . Код компилируется, тесты могут проходить, а потом внезапно появляются лишние копирования, просадки производительности и странное поведение объектов. Разберём пять типичных ловушек move‑семантики на небольших задачах и посмотрим, где именно ожидания разработчика расходятся с тем, что реально делает язык. Разобраться в move

    habr.com/ru/companies/otus/art

    #moveсемантика #NRVO #copy_elision #selfmoveassignment #emplace_back #push_back #noexcept #управление_памятью #время_жизни_объектов