logoalt Hacker News

spacechild1 • yesterday at 9:43 AM • 0 replies • view on HN

Not really. Case in point: (soft)realtime audio programming. If you need to allocate memory in the audio callback (or DSP helper threads), you must use a real-time safe allocator (bounded worst case, no mutexes). For the rest of the program you may still use the default system allocator.