What Programmers Should Know About Memory Allocation - S. Al Bahra, H. Sowa, P. Khuong - CppCon 2019

  Рет қаралды 27,409

CppCon

CppCon

Күн бұрын

Пікірлер
@debajyotimajumder472
@debajyotimajumder472 Жыл бұрын
Learnt something useful. 👍🏻
@Mallchad
@Mallchad 4 ай бұрын
One very important thing he missed. He said that calloc is faster than malloc because it will not be allocated in memory until written, but is guranteed to be zero. Wait. You allocated memory but you have 0 bytes of physical memory? Oh. Great. It's disingenious to even talk about the "performance" of using memset + malloc that way- any performance you gain back using malloc is paid later when you page fault. Don't do it like that if you care about performance. Memset / MAP_POPULATE / mlock (or Win32 equivilent) if you want performance and get physical memory and DON'T keep calling malloc.
@srgsanky
@srgsanky 7 ай бұрын
"My data or yours?: Orchestrating the movement and placement of data on large multicore systems" kzbin.info/www/bejne/b4rJn4dphM2CY8k
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
All about MEMORY // Code Review
33:42
The Cherno
Рет қаралды 171 М.
"Clean" Code, Horrible Performance
22:41
Molly Rocket
Рет қаралды 936 М.
What's a Memory Allocator Anyway? - Benjamin Feng
48:30
Zig SHOWTIME
Рет қаралды 59 М.
Garbage Collection (Mark & Sweep) - Computerphile
16:22
Computerphile
Рет қаралды 252 М.
CppCon 2019: Jason Turner “The Best Parts of C++"
58:36
CppCon
Рет қаралды 92 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН