Tagged articles
38 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
May 16, 2026 · Fundamentals

Why is C considered the hardest programming language?

The article explains that C’s steep learning curve stems from its low‑level environment setup, opaque debugging, complex pointer syntax, and manual memory management, while also arguing that mastering C is valuable for low‑level development and deep understanding of computer fundamentals.

C languageMemory Managementlow-level development
0 likes · 7 min read
Why is C considered the hardest programming language?
Liangxu Linux
Liangxu Linux
Dec 23, 2025 · Fundamentals

Why char s1[] and char *s2 Aren’t the Same: Deep Dive into C Arrays vs Pointers

This article explains the fundamental differences between C arrays and pointers by examining memory layout, mutability, sizeof behavior, function parameter handling, multidimensional arrays, and practical best‑practice guidelines, providing clear code examples that reveal why declarations like char s1[] = "liangxu" and char *s2 = "liangxu" behave differently.

Embedded Cbest practicesc++
0 likes · 14 min read
Why char s1[] and char *s2 Aren’t the Same: Deep Dive into C Arrays vs Pointers
Code Wrench
Code Wrench
Sep 9, 2025 · Fundamentals

Master Go Pointers: Best Practices, Performance Tips, and Code Review Checklist

This guide explains why Go pointers matter, covers their definition, memory model, and safe usage, provides practical best‑practice checklists, performance comparisons, and code examples—including handling large structs, optional fields, and complex data structures—while highlighting scenarios where pointers should be avoided.

Code reviewGobest practices
0 likes · 8 min read
Master Go Pointers: Best Practices, Performance Tips, and Code Review Checklist
Liangxu Linux
Liangxu Linux
Sep 6, 2025 · Fundamentals

13 Typical C Segmentation Fault Cases Every Programmer Should Know

This guide enumerates thirteen classic C segmentation fault patterns—including null pointer dereference, illegal memory access, stack overflow, buffer overrun, and misuse of dynamic memory—provides concise code examples for each, explains the underlying cause, and offers practical tips to prevent such crashes.

Memory Managementc++pointers
0 likes · 9 min read
13 Typical C Segmentation Fault Cases Every Programmer Should Know
Liangxu Linux
Liangxu Linux
Aug 27, 2025 · Fundamentals

Master C Pointers: Definition, Usage, and Practical Examples

This article explains what pointers are in the C language, how to define and use them, common scenarios such as dynamic memory allocation and array handling, and provides a complete, annotated example that demonstrates accessing and modifying variable values through pointers.

Memory Managementc++fundamentals
0 likes · 4 min read
Master C Pointers: Definition, Usage, and Practical Examples
Liangxu Linux
Liangxu Linux
Aug 26, 2025 · Fundamentals

17 Common C Segmentation Fault Pitfalls and How to Avoid Them

This article walks through seventeen classic C programming mistakes that cause segmentation faults—such as null pointers, out‑of‑bounds array access, wild pointers, double frees, and format string bugs—and provides safe, production‑ready code examples to prevent each crash.

Memory Managementc++pointers
0 likes · 18 min read
17 Common C Segmentation Fault Pitfalls and How to Avoid Them
php Courses
php Courses
Jul 22, 2025 · Fundamentals

When Should You Use Pass‑by‑Value, Reference, or Pointer in C++?

Understanding C++ parameter passing—by value, by reference, and by pointer—is essential for optimizing performance, memory usage, and data safety, and this guide explains each method’s characteristics, provides code examples, and offers practical advice on selecting the appropriate technique for different scenarios.

Function ParametersPass by Referencec++
0 likes · 6 min read
When Should You Use Pass‑by‑Value, Reference, or Pointer in C++?
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 ProgrammingSystem Programminghardware control
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
Liangxu Linux
Liangxu Linux
May 20, 2025 · Fundamentals

Why Pointers Exist: A Storytelling Guide to Mastering C Pointers

This article explains the historical reasons behind the invention of pointers, walks through early memory manipulation, variable abstraction, the need for shared data, and demonstrates how pointers enable address passing, dynamic memory allocation, and complex data structures such as linked lists and trees, all with clear C code examples.

Memory Managementc++dynamic allocation
0 likes · 15 min read
Why Pointers Exist: A Storytelling Guide to Mastering C Pointers
Liangxu Linux
Liangxu Linux
Oct 10, 2024 · Fundamentals

How Pointers Were Invented: From Memory Addresses to C Variables

This article explains how memory addresses are numbered, why direct writes are risky, how symbolic variables simplify programming, the limitations of pass‑by‑value in C, and how introducing pointers provides the necessary indirection to manipulate memory safely and efficiently.

C languageMemoryVariables
0 likes · 7 min read
How Pointers Were Invented: From Memory Addresses to C Variables
21CTO
21CTO
Jun 15, 2024 · Fundamentals

Exploring Virgil: A Lightweight High‑Performance Systems Language with Cross‑Compilation

This article introduces the Virgil programming language, highlighting its goal as a lightweight high‑performance system language with powerful cross‑compilation, comparing it to Zig and Rust, and provides step‑by‑step installation, code examples, algebraic data types, and pointer usage for developers.

Systems ProgrammingVirgilalgebraic data types
0 likes · 8 min read
Exploring Virgil: A Lightweight High‑Performance Systems Language with Cross‑Compilation
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++RAIIdynamic allocation
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
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 25, 2024 · Fundamentals

Master Modern C++: Essential Syntax, Types, and Best Practices

This comprehensive guide introduces modern C++ fundamentals, covering core language features such as basic types, memory management, pointers, arrays, functions, object‑oriented concepts, templates, and best‑practice idioms to help developers refresh or build a solid C++ foundation.

Tutorialbasicsc++
0 likes · 51 min read
Master Modern C++: Essential Syntax, Types, and Best Practices
Liangxu Linux
Liangxu Linux
Dec 25, 2023 · Fundamentals

Mastering C Pointers: From Memory Basics to Advanced Usage

This comprehensive guide explains the fundamentals of pointers in C, covering memory layout, variable storage, address arithmetic, const and void pointers, pointer arrays, function pointers, and common pitfalls, with clear diagrams and runnable code examples to deepen your understanding of low‑level programming.

Code ExamplesData Typesc++
0 likes · 30 min read
Mastering C Pointers: From Memory Basics to Advanced Usage
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 ProgrammingInterview PreparationRecursion
0 likes · 70 min read
Comprehensive Guide to Common C Language Interview Questions and Concepts
Liangxu Linux
Liangxu Linux
Oct 25, 2023 · Fundamentals

Master C Pointers: From Memory Basics to Advanced Techniques

This tutorial explains C pointers in depth, covering memory addresses, declaration, initialization, dereferencing, pointer arithmetic, function pointers, passing by reference, and dynamic memory allocation, with clear code examples and practical usage tips.

c++pointers
0 likes · 8 min read
Master C Pointers: From Memory Basics to Advanced Techniques
Liangxu Linux
Liangxu Linux
Oct 21, 2023 · Fundamentals

Master C Pointers: From Memory Basics to Advanced Usage

This article explains C pointers in depth, covering memory layout, declaration, initialization, dereferencing, pointer arithmetic, function pointers, passing by reference, dynamic memory allocation, and common use cases, with clear code examples for each concept.

Code Examplesc++pointers
0 likes · 9 min read
Master C Pointers: From Memory Basics to Advanced Usage
Open Source Linux
Open Source Linux
Sep 1, 2023 · Fundamentals

Mastering C Pointers: From Basics to Advanced Function Passing

This article explains the fundamentals of C pointer variables, covering their memory layout, declaration, initialization, pointer arithmetic with arrays, passing pointers between functions, and using arrays as function parameters, illustrated with clear code examples and diagrams.

ArraysMemoryc++
0 likes · 8 min read
Mastering C Pointers: From Basics to Advanced Function Passing
AI Cyberspace
AI Cyberspace
Mar 6, 2023 · Fundamentals

Master C Functions and Macros: From Basics to Advanced Preprocessor Tricks

This article provides a comprehensive guide to C functions—including their categories, signatures, parameter passing, pointer parameters, variadic arguments, callbacks, and recursion—and delves into the C preprocessor, covering directives, macro definitions, operators, and practical macro examples for safer and more expressive code.

MacrosPreprocessorc++
0 likes · 17 min read
Master C Functions and Macros: From Basics to Advanced Preprocessor Tricks
Liangxu Linux
Liangxu Linux
Nov 29, 2022 · Fundamentals

Master C Pointers: From Basics to Multi‑Level and Array Techniques

This guide explains C pointers, covering their definition, basic syntax, pointer arithmetic, multi‑level pointers, the relationship between pointers and multi‑dimensional arrays, and the distinction between array pointers and pointer arrays, supplemented with clear code examples and visual analogies.

ArraysMemory ManagementMulti-level Pointers
0 likes · 12 min read
Master C Pointers: From Basics to Multi‑Level and Array Techniques
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++language featurespointers
0 likes · 50 min read
Understanding Complex C++ Syntax and Language Features: A Comprehensive Guide
MaGe Linux Operations
MaGe Linux Operations
Aug 12, 2022 · Fundamentals

Why Go Pointers Trip You Up: Common Pitfalls and Deep Dive

This article explains how Go pointers work, why they differ from C pointers, and highlights frequent mistakes such as struct pointer assignments, for‑range loop quirks, closure captures, and memory‑escape scenarios, providing clear code examples and runtime insights.

Runtimeclosuresfor-range
0 likes · 13 min read
Why Go Pointers Trip You Up: Common Pitfalls and Deep Dive
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 TypesPython
0 likes · 18 min read
Why Python Has No Pointers and How to Simulate Them
System Architect Go
System Architect Go
Jul 29, 2019 · Backend Development

10 Common Go Mistakes That Can Sabotage Your Code

This article enumerates ten frequent Go programming errors—from unknown enum handling and benchmark mis‑optimizations to pointer misuse, slice initialization, context pitfalls, and error‑handling practices—explaining why they occur, showing reproducible code examples, and offering concrete fixes to write more reliable Go code.

Error HandlingGobenchmark
0 likes · 14 min read
10 Common Go Mistakes That Can Sabotage Your Code