Why you Should NEVER Use Malloc in Real-Time Systems

Channel:
Subscribers:
8,270
Published on ● Video Link: https://www.youtube.com/watch?v=0DXU6pYKkEk



Duration: 6:17
4,756 views
245


Well, not never, but avoid it unless it fits the scope of your design. :)
Custom allocators will always be a better option!

Dynamic Memory Allocation:
https://www.geeksforgeeks.org/dynamic-memory-allocation-in-c-using-malloc-calloc-free-and-realloc/

Article which inspired me to make this:
https://www.gamasutra.com/blogs/MichaelKissner/20151104/258271/Writing_a_Game_Engine_from_Scratch__Part_2_Memory.php

Latency Numbers:
https://gist.github.com/jboner/2841832

Follow me on Social Media!
Twitter: https://twitter.com/ZygalStudios
Facebook: https://www.facebook.com/zygalstudios/
Instagram: @jamezsgames
Twitch: jamezsGames https://www.twitch.tv/jamezsgames
Stream Schedule:
Monday, Tuesday, Wednesday 6:30 PM EST







Tags:
jamezsGames
Twitch
gamer
Zygal Studios
programming
Malloc
Calloc
C Programming
real-time systems
embedded systems
game development
dynamic memory allocation
what does malloc do
how malloc works