Skip to content

Why malloc is banned

Hard real-time code typically forbids dynamic memory allocation after startup.

What is the objection to malloc in a task with a deadline?