Горькая правда: производительность Python 3.11, Cython и C++ ддля симуляций
https://medium.com/agents-and-robots/the-bitter-truth-python-3-11-vs-cython-vs-c-performance-for-simulations-babc85cdfef5
👉 @cpp_lib
https://medium.com/agents-and-robots/the-bitter-truth-python-3-11-vs-cython-vs-c-performance-for-simulations-babc85cdfef5
👉 @cpp_lib
👍4👎2
C elements that are not supported in C++🚫
https://dev.to/mariamarsh/c-elements-that-are-not-supported-in-c-4i6n
👉 @cpp_lib
https://dev.to/mariamarsh/c-elements-that-are-not-supported-in-c-4i6n
👉 @cpp_lib
🔥3👍1
Making C++ primitive types meaningfully movable when they have sentinel values
https://devblogs.microsoft.com/oldnewthing/20230116-00/?p=107717
👉 @cpp_lib
https://devblogs.microsoft.com/oldnewthing/20230116-00/?p=107717
👉 @cpp_lib
Microsoft News
Making C++ primitive types meaningfully movable when they have sentinel values
The value actually moves now.
👍4
Media is too big
VIEW IN TELEGRAM
Forbidden C++
The unimaginable evil of C++ is unleashed. Be afraid. Global Variables, Macros, Void*, Goto, Namespace STD, New & Delete, all the tools every C++ programmer needs... right?
2:00 Global variables
8:00 Macros
12:36 Goto
16:20 Void *
22:17 Using namespace std
27:19 New and Delete
👉 @cpp_lib
The unimaginable evil of C++ is unleashed. Be afraid. Global Variables, Macros, Void*, Goto, Namespace STD, New & Delete, all the tools every C++ programmer needs... right?
2:00 Global variables
8:00 Macros
12:36 Goto
16:20 Void *
22:17 Using namespace std
27:19 New and Delete
👉 @cpp_lib
👍5
Media is too big
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
Тетрис / Tetris на языке С++
Часть 1. Введение
Часть 2. Падение чёрного квадрата
Часть 3. Ограничение перемещения фигуры в рамках игрового поля
Часть 4. Удаление заполненных рядов
Часть 5. Рефакторинг кода
Часть 6. Фигура на стенку или стенка на фигуру? Генерация новых фигур
Часть 7. Поворот фигуры
Часть 8. Проверка столкновения фигуры с границами игрового поля после поворота
Часть 9. Простая анимация удаления заполненных рядов
Часть 10. Автоматический сдвиг фигуры после поворота
источник
👉 @cpp_lib
Часть 1. Введение
Часть 2. Падение чёрного квадрата
Часть 3. Ограничение перемещения фигуры в рамках игрового поля
Часть 4. Удаление заполненных рядов
Часть 5. Рефакторинг кода
Часть 6. Фигура на стенку или стенка на фигуру? Генерация новых фигур
Часть 7. Поворот фигуры
Часть 8. Проверка столкновения фигуры с границами игрового поля после поворота
Часть 9. Простая анимация удаления заполненных рядов
Часть 10. Автоматический сдвиг фигуры после поворота
источник
👉 @cpp_lib
👍6
Просто о RCU (Read–Copy-Update)
Lock-free структуры данных в общем и целом неплохо описаны в различной литературе, но на мой взгляд порог вхождения в эту тему высок. Приведу простой кейс использования одной из разновидностей данной технологии под названием RCU (Read–Copy-Update). В двух словах, это механизм неблокирующего обновления структуры данных у которой много читателей и всего один писатель. Wikipedia.
https://habr.com/ru/post/712882/
👉 @cpp_lib
Lock-free структуры данных в общем и целом неплохо описаны в различной литературе, но на мой взгляд порог вхождения в эту тему высок. Приведу простой кейс использования одной из разновидностей данной технологии под названием RCU (Read–Copy-Update). В двух словах, это механизм неблокирующего обновления структуры данных у которой много читателей и всего один писатель. Wikipedia.
https://habr.com/ru/post/712882/
👉 @cpp_lib
Хабр
Просто о RCU (Read–Copy-Update)
Введение Lock-free структуры данных в общем и целом неплохо описаны в различной литературе, но на мой взгляд порог вхождения в эту тему высок. Приведу простой кейс использования одной из...
👍1
C++ Brace Pair Colorization and More in Visual Studio
https://devblogs.microsoft.com/cppblog/brace-pair-colorization-and-more-in-visual-studio/
👉 @cpp_lib
https://devblogs.microsoft.com/cppblog/brace-pair-colorization-and-more-in-visual-studio/
👉 @cpp_lib
Microsoft News
C++ Brace Pair Colorization and More in Visual Studio
Visual Studio 17.5 brings you several new improvements in the C++ editing experience. Now we are excited to announce that C++ Brace Pair Colorization, Spell Checker, All-In-One Search, Reimagined Member List, and Macro Expansion Improvements are released…
114 стандартных алгоритмов C++. Введение.
Добро пожаловать в новую серию статей об алгоритмах стандарта C++. Стандартные алгоритмы предлагают безопасные и оптимизированные блоки для создания программ, которые могут заменить удивительно большое количество кода пользователя.
https://itnext.io/the-114-standard-c-algorithms-introduction-2a75a2df4300
👉 @cpp_lib
Добро пожаловать в новую серию статей об алгоритмах стандарта C++. Стандартные алгоритмы предлагают безопасные и оптимизированные блоки для создания программ, которые могут заменить удивительно большое количество кода пользователя.
https://itnext.io/the-114-standard-c-algorithms-introduction-2a75a2df4300
👉 @cpp_lib
👍8
Media is too big
VIEW IN TELEGRAM
C++ Mythbusters - Victor Ciura - Meeting C++ 2022
The C++ community is very large and quite vocal when it comes to controversial issues.
We’re very fragmented on many topics, based on the breadth of the C++ ecosystem and the background/experience we each bring from our C++ niche.
From CppCoreGuidelines to opinionated best practices to established idioms, there’s a lot of good information easily available. Mixed up with all of this there are also plenty of myths. Some myths stem from obsolete information, some from bad teaching materials.
In this presentation, I will dissect a few of the most popular C++ myths to a level of detail not possible on Twitter… and without the stigma of newb/duplicate/eyeroll one might experience when asking these questions on StackOverflow.
Expect the familiar “Busted”, “Plausible”, or “Confirmed” verdicts on each myth and come prepared to chat about these.
источник
👉 @cpp_lib
The C++ community is very large and quite vocal when it comes to controversial issues.
We’re very fragmented on many topics, based on the breadth of the C++ ecosystem and the background/experience we each bring from our C++ niche.
From CppCoreGuidelines to opinionated best practices to established idioms, there’s a lot of good information easily available. Mixed up with all of this there are also plenty of myths. Some myths stem from obsolete information, some from bad teaching materials.
In this presentation, I will dissect a few of the most popular C++ myths to a level of detail not possible on Twitter… and without the stigma of newb/duplicate/eyeroll one might experience when asking these questions on StackOverflow.
Expect the familiar “Busted”, “Plausible”, or “Confirmed” verdicts on each myth and come prepared to chat about these.
источник
👉 @cpp_lib
👍4
Practical Parallelism in C++
Introduction
Mutex Basics
Windows Threads
Basic Pthreads
Broadcast Parallel Gaussian Elimination
Broadcast-Parallel Gaussian Elimination with Cyclic Mapping
MPI Basics
MPI Synchronization
MPI Gaussian Elimination Naive
MPI Gaussian Elimination Cyclic Striped
Все видео доступны на youtube
👉 @cpp_lib
Introduction
Mutex Basics
Windows Threads
Basic Pthreads
Broadcast Parallel Gaussian Elimination
Broadcast-Parallel Gaussian Elimination with Cyclic Mapping
MPI Basics
MPI Synchronization
MPI Gaussian Elimination Naive
MPI Gaussian Elimination Cyclic Striped
Все видео доступны на youtube
👉 @cpp_lib
👍4