Tagged articles
6 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Aug 19, 2025 · Fundamentals

How malloc and free Work: Inside Dynamic Memory Allocation

This article explains the fundamentals of malloc and free, covering their signatures, how they interact with the brk/sbrk system calls, the structure of memory control blocks, multiple allocation strategies such as explicit free lists, segregated lists, buddy systems and tcmalloc, along with code examples and their trade‑offs.

C ProgrammingFreeSystem Calls
0 likes · 15 min read
How malloc and free Work: Inside Dynamic Memory Allocation
Deepin Linux
Deepin Linux
Dec 19, 2024 · Fundamentals

Understanding the Implementation and Mechanisms of the C malloc Function

This article explains the purpose, prototype, and usage of C's malloc function, delves into its underlying implementation using free‑list mechanisms, virtual‑memory translation, system calls like brk and mmap, and compares it with related functions such as calloc, realloc and new, while providing practical code examples and best‑practice guidelines.

CFreeSystem Calls
0 likes · 32 min read
Understanding the Implementation and Mechanisms of the C malloc Function
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 14, 2021 · Artificial Intelligence

How Alibaba’s Induction Networks Enable Few-Shot Learning for Conversational AI

This article reviews Alibaba DAMO’s Conversational AI team research on low‑resource few‑shot learning, introducing induction and dynamic‑memory networks, detailing their architecture, experimental setup on ARSC, ODIC and miniRCV1 datasets, and demonstrating state‑of‑the‑art performance improvements.

Alibaba DAMOConversational AIMeta Learning
0 likes · 24 min read
How Alibaba’s Induction Networks Enable Few-Shot Learning for Conversational AI