Tag

pointers

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
Jun 10, 2025 · Fundamentals

How C Directly Controls Hardware: Registers, Memory, and Inline Assembly Explained

This article explores how the C language enables low‑level hardware control by detailing the roles of CPU registers and physical memory, illustrating direct register access via inline assembly, and explaining pointer usage for memory manipulation, highlighting the trust C places in programmers and the responsibilities it entails.

C Programminghardware controlinline assembly
0 likes · 9 min read
How C Directly Controls Hardware: Registers, Memory, and Inline Assembly Explained
php中文网 Courses
php中文网 Courses
May 30, 2025 · Fundamentals

Understanding Pointers and Memory Management in Go

This comprehensive Go tutorial explains what pointers are, their basic syntax, common uses such as avoiding copies and modifying external variables, memory management including stack vs. heap and escape analysis, and outlines common pitfalls and best practices for safe and efficient pointer usage.

Escape AnalysisGoMemory Management
0 likes · 8 min read
Understanding Pointers and Memory Management in Go
Deepin Linux
Deepin Linux
Apr 18, 2024 · Fundamentals

C++ Memory Management: Concepts, Pitfalls, and Best Practices

This article provides a comprehensive overview of C++ memory management, covering stack vs heap allocation, deep vs shallow copying, common errors such as leaks, dangling pointers, double frees, and offers practical techniques like custom new/delete overloads, smart pointers, RAII, and tools for detecting memory problems.

C++Leak DetectionMemory Management
0 likes · 92 min read
C++ Memory Management: Concepts, Pitfalls, and Best Practices
DaTaobao Tech
DaTaobao Tech
Apr 1, 2024 · Fundamentals

Fundamentals of Modern C++: Types, Pointers, Functions, and Classes

The article offers a concise, modern C++ (C++11+) tutorial covering fundamental built‑in types, variable declaration with auto and uniform initialization, pointer and array handling, function definitions, overloading, templates, class design—including constructors, move semantics, inheritance, virtual functions—and essential standard‑library utilities such as smart pointers and std::function.

C++ClassesFunctions
0 likes · 48 min read
Fundamentals of Modern C++: Types, Pointers, Functions, and Classes
Deepin Linux
Deepin Linux
Dec 3, 2023 · Fundamentals

Comprehensive Guide to Common C Language Interview Questions and Concepts

This article provides a thorough overview of essential C language concepts frequently asked in interviews, covering topics such as language basics, keywords, variables, pointers, arrays, memory management, functions, recursion, data structures, preprocessor directives, and practical code examples to help readers master high‑frequency C interview questions.

C ProgrammingData StructuresMemory Management
0 likes · 70 min read
Comprehensive Guide to Common C Language Interview Questions and Concepts
Deepin Linux
Deepin Linux
Nov 24, 2023 · Fundamentals

Embedded Software Interview Experience and Technical Review

This article shares a comprehensive embedded software interview guide, covering written‑test topics such as structs vs. unions, linked lists, pointer safety, endianness detection, and a strcpy implementation, followed by technical interview tips, HR interview advice, and concluding remarks.

C++Data StructuresInterview
0 likes · 22 min read
Embedded Software Interview Experience and Technical Review
IT Services Circle
IT Services Circle
Oct 25, 2023 · Fundamentals

Understanding Memory, Variables, and Pointers in a Minimal 8‑Byte Environment

The article explains how to read and write a tiny 8‑byte memory without an operating system or high‑level language, introducing the concepts of memory addresses, store/load instructions, variables, references, pointers, indirect addressing, and their role in building data structures like linked lists.

Low-level programmingVariablesassembly
0 likes · 8 min read
Understanding Memory, Variables, and Pointers in a Minimal 8‑Byte Environment
Tencent Cloud Developer
Tencent Cloud Developer
Nov 4, 2022 · Fundamentals

Understanding Complex C++ Syntax and Language Features: A Comprehensive Guide

The guide thoroughly explains C++’s intricate syntax and language features—from historic C inheritance, array handling, and implicit conversions to enums, macros, and const correctness—while detailing modern C++11 concepts like rvalue references, move semantics, reference collapsing, perfect forwarding, and auto deduction to help developers avoid pitfalls and write cleaner, efficient code.

C++ProgrammingSyntax
0 likes · 50 min read
Understanding Complex C++ Syntax and Language Features: A Comprehensive Guide
Python Programming Learning Circle
Python Programming Learning Circle
Aug 3, 2022 · Fundamentals

Why Python Has No Pointers and How to Simulate Them

This article explains why native pointers do not exist in Python, describes the underlying object model, immutable versus mutable objects, the distinction between variables and names, and demonstrates several practical ways to emulate pointer behavior using mutable containers, custom classes, and the ctypes module.

Memory ManagementMutable TypesObject Model
0 likes · 18 min read
Why Python Has No Pointers and How to Simulate Them
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 14, 2020 · Fundamentals

Why Zero‑Based Indexing Is Preferred in Programming Languages

The article explains the historical and technical reasons why most programming languages adopt zero‑based indexing for arrays and loops, illustrating the concept with C, Python and early languages, and showing how zero‑based offsets simplify pointer arithmetic and enable elegant slice syntax.

C languagePythonarrays
0 likes · 8 min read
Why Zero‑Based Indexing Is Preferred in Programming Languages