Dynamic Storage Management

C dynamic memory allocation

C dynamic memory allocation is a manual memory management technique in the C programming language that involves using functions like malloc, realloc, calloc, aligned_alloc, and free. These functions are also available in C++, but new and delete operators are recommended instead. Different implementations of the memory allocation mechanism used by malloc have varying performance in terms of execution time and required memory.

2 courses cover this concept

CS 140: Operating Systems

Stanford University

Spring 2020

This course provides an in-depth understanding of the basic facilities provided by modern operating systems. It's structured into three major sections: concurrency, memory management, and file systems, followed by some smaller topics like virtual machines. The class includes one problem set and four programming projects based on the Pintos kernel, requiring a significant commitment of time.

No concepts data

+ 21 more concepts

CS 111 Operating Systems Principles

Stanford University

Autumn 2022

An introductory course to operating systems, CS 111 builds upon programming experience to explore how operating systems function. The course provides an understanding of OS design challenges, such as filesystems, system calls, concurrency, virtual memory, demand paging, and others. Knowledge in C/C++ and Unix/Linux environment is prerequisite.

No concepts data

+ 20 more concepts