Tagged articles
75 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Apr 20, 2026 · Fundamentals

Unlocking the Linux Kernel: From Core Concepts to Hands‑On Module Development

This comprehensive guide explores the Linux kernel’s architecture, core subsystems, source‑tree layout, and dynamic module management while offering practical learning paths, essential command‑line tools, code examples, and curated reading material for anyone aiming to master operating‑system internals.

Learning ResourcesLinux kernelOperating System
0 likes · 56 min read
Unlocking the Linux Kernel: From Core Concepts to Hands‑On Module Development
Deepin Linux
Deepin Linux
Apr 11, 2026 · Fundamentals

Why Memory Barriers Are the Hidden Foundation of Linux Kernel Concurrency

This article explains what memory barriers are, why they are essential for correct multi‑core operation in the Linux kernel, how different barrier types work, their implementation details, and practical guidelines for using them safely in synchronization primitives and driver code.

Linux kernelSynchronizationSystem Programming
0 likes · 47 min read
Why Memory Barriers Are the Hidden Foundation of Linux Kernel Concurrency
BirdNest Tech Talk
BirdNest Tech Talk
Nov 20, 2025 · Fundamentals

From write() to recv(): Tracing a Packet Through the Linux Kernel

This article walks through every stage a packet undergoes inside the Linux kernel—from the moment an application calls write() or send() to the final recv() call—covering socket handling, routing, ARP/NDP resolution, queuing, NIC offloads, and reassembly with concrete commands and code examples.

KernelLinuxNetworking
0 likes · 19 min read
From write() to recv(): Tracing a Packet Through the Linux Kernel
Deepin Linux
Deepin Linux
Oct 30, 2025 · Fundamentals

Unlocking Linux Kernel‑User Communication: How Netlink Bridges the Gap

This article explains how Linux’s Netlink mechanism provides efficient, full‑duplex communication between kernel space and user space, overcoming the limitations of ioctl, /proc, and system calls, and details its architecture, data structures, API usage, and real‑world applications.

IPCKernelLinux
0 likes · 45 min read
Unlocking Linux Kernel‑User Communication: How Netlink Bridges the Gap
IT Services Circle
IT Services Circle
Sep 27, 2025 · Fundamentals

Why Google Is Betting on a New C++ Successor for the Next Decade

Google’s ambitious eight‑year roadmap for the experimental Carbon language aims to create a modern, safer, C++‑compatible system language, detailing its tooling, ecosystem, migration strategy via FFI, and why it’s preferred over Rust despite the long development horizon.

C++CarbonGoogle
0 likes · 6 min read
Why Google Is Betting on a New C++ Successor for the Next Decade
Deepin Linux
Deepin Linux
Sep 15, 2025 · Fundamentals

Unlock Linux IPC: Deep Dive into Pipes, Signals, Shared Memory and More

This comprehensive guide explores Linux inter‑process communication (IPC), explaining why processes need to communicate, the underlying kernel mechanisms, and detailed coverage of pipes, FIFOs, signals, files, shared memory, message queues, and sockets with practical code examples and real‑world use cases.

IPCLinuxSockets
0 likes · 48 min read
Unlock Linux IPC: Deep Dive into Pipes, Signals, Shared Memory and More
Deepin Linux
Deepin Linux
Aug 31, 2025 · Fundamentals

Master Linux Kernel Compilation: A Step‑by‑Step Guide from Basics to Custom Builds

This comprehensive guide explains why and how to compile a custom Linux kernel, covering the benefits for performance, hardware support, and security, the full build process on Ubuntu, configuration options, installation steps, debugging tools, and common troubleshooting techniques for developers and system administrators.

Custom KernelLinuxSystem Programming
0 likes · 32 min read
Master Linux Kernel Compilation: A Step‑by‑Step Guide from Basics to Custom Builds
Liangxu Linux
Liangxu Linux
Aug 7, 2025 · Fundamentals

A Complete Roadmap to Master Linux Kernel Development from Scratch

This guide outlines a step‑by‑step roadmap for aspiring kernel developers, covering essential knowledge foundations, hands‑on teaching‑OS projects, deep‑dive strategies for reading the real Linux kernel source, and curated book recommendations to build solid OS internals expertise.

Linux kernelOS InternalsOperating System
0 likes · 15 min read
A Complete Roadmap to Master Linux Kernel Development from Scratch
Deepin Linux
Deepin Linux
Jul 7, 2025 · Fundamentals

What Happens to mmap-Mapped Files When a Program Crashes? A Deep Dive into Linux Memory Mapping

This article explains the fundamentals of the mmap system call, its internal working mechanism, zero‑copy I/O model, advantages, typical use cases, and detailed usage guidelines—including function prototypes, parameter meanings, mapping steps, and sample code—while also exploring how mmap‑mapped files behave during program crashes.

LinuxSystem Programmingfile I/O
0 likes · 29 min read
What Happens to mmap-Mapped Files When a Program Crashes? A Deep Dive into Linux Memory Mapping
php Courses
php Courses
Jul 2, 2025 · Game Development

Why C++ Dominates Game Development, Systems, and High‑Performance Computing

From powering cutting‑edge 3A games and operating system kernels to accelerating scientific simulations, high‑frequency trading, and embedded IoT devices, C++ remains the go‑to language for high‑performance, low‑level control across diverse domains, thanks to its speed, portability, and fine‑grained memory management.

C++FinTechGame Development
0 likes · 6 min read
Why C++ Dominates Game Development, Systems, and High‑Performance Computing
Deepin Linux
Deepin Linux
Jun 26, 2025 · Backend Development

Why io_uring Beats epoll: Unlocking Ultra‑Fast Asynchronous I/O on Linux

This article traces the evolution of Linux I/O from blocking and non‑blocking models through epoll to the modern io_uring framework, explains its design goals, core concepts, system‑call workflow, and provides practical code examples and performance comparisons for high‑concurrency network and storage applications.

Linux I/OPerformance OptimizationSystem Programming
0 likes · 57 min read
Why io_uring Beats epoll: Unlocking Ultra‑Fast Asynchronous I/O on Linux
Liangxu Linux
Liangxu Linux
Jun 21, 2025 · Backend Development

Boost Your Linux C/C++ Skills: 60 Hands‑On Projects from Beginner to Advanced

This article presents a comprehensive, difficulty‑ordered list of 60 small Linux C/C++ projects—ranging from basic command‑line tools to advanced system‑level components—designed to help developers practice core programming concepts, system programming, networking, concurrency, and performance optimization.

Backend DevelopmentC++System Programming
0 likes · 17 min read
Boost Your Linux C/C++ Skills: 60 Hands‑On Projects from Beginner to Advanced
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
Tencent Technical Engineering
Tencent Technical Engineering
Apr 18, 2025 · Fundamentals

I/O Multiplexing in Linux: Detailed Explanation of select, poll, and epoll

Linux treats all I/O devices as files, enabling a single thread to monitor many descriptors via I/O multiplexing; while select and poll use linear scans and suffer size limits, epoll employs an event‑driven red‑black tree with edge‑triggered mode, offering scalable, high‑performance handling for thousands of concurrent connections.

I/O MultiplexingLinuxSystem Programming
0 likes · 30 min read
I/O Multiplexing in Linux: Detailed Explanation of select, poll, and epoll
21CTO
21CTO
Feb 24, 2025 · Backend Development

Why Rust Adoption Stalls in 2024 Despite Its Safety Edge

The 2024 Rust State Survey reveals improved developer productivity but persistent challenges like slow compilation, debugging difficulty, and limited industry adoption, highlighting concerns over complexity, low usage in tech, and the uncertain future of Rust in the Linux kernel.

2024 SurveyLinux kernelProgramming Language Adoption
0 likes · 6 min read
Why Rust Adoption Stalls in 2024 Despite Its Safety Edge
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 5, 2025 · Backend Development

Master Python ctypes: Call Windows DLLs and APIs Like a Pro

This comprehensive guide explains how Python can interface with C dynamic link libraries using the ctypes module, covering installation, data types, pointer manipulation, buffer creation, DLL loading, function calling, Windows API interactions, and practical code examples for system-level programming.

C integrationSystem Programmingctypes
0 likes · 15 min read
Master Python ctypes: Call Windows DLLs and APIs Like a Pro
Java Tech Enthusiast
Java Tech Enthusiast
Jan 31, 2025 · Fundamentals

Why Most Operating Systems Are Written in C

Most operating systems are written in C because its simple, portable syntax, minimal runtime, and direct memory and hardware access let developers write bare‑metal kernels that manage resources efficiently, making C the preferred high‑level language for system programming despite other languages being better for applications.

C languageHardwareOperating Systems
0 likes · 5 min read
Why Most Operating Systems Are Written in C
Deepin Linux
Deepin Linux
Jan 20, 2025 · Backend Development

Understanding and Analyzing Linux Core Dumps with GDB

This article explains Linux core dump generation, common causes such as null pointer dereference and array overflow, configuration steps, and demonstrates how to analyze core files using GDB with practical code examples and multi‑threaded case studies.

DebuggingLinuxSystem Programming
0 likes · 24 min read
Understanding and Analyzing Linux Core Dumps with GDB
Open Source Linux
Open Source Linux
Jan 2, 2025 · Backend Development

Unlock Fast C Utilities: Struct Sizes, CPU Temp, File Size, IP & More

This article presents a collection of handy C code snippets that demonstrate how to quickly obtain struct member sizes and offsets, read CPU temperature, determine file sizes, fetch system timestamps, retrieve MAC and IP addresses, perform file I/O, display progress bars, format log output, and enable core dump generation, each accompanied by sample usage and expected results.

CCPU temperatureSystem Programming
0 likes · 15 min read
Unlock Fast C Utilities: Struct Sizes, CPU Temp, File Size, IP & More
Liangxu Linux
Liangxu Linux
Dec 9, 2024 · Fundamentals

Master Linux Zero‑Copy: Sendfile, Splice, mmap+write, and tee Explained

This article explains how Linux zero‑copy techniques—DMA, sendfile, splice, mmap + write, and tee—reduce CPU involvement in large file and network transfers by moving data directly within kernel space, detailing their workflows, code examples, performance trade‑offs, and suitable use cases.

DMALinuxSystem Programming
0 likes · 20 min read
Master Linux Zero‑Copy: Sendfile, Splice, mmap+write, and tee Explained
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 6, 2024 · Fundamentals

Developing a Bare-Metal OS for ARM64 Architecture

This guide walks developers with C and assembly experience through building a simple bare‑metal operating system that runs directly on ARM64 hardware without any existing OS or bootloader, offering a hands‑on introduction to low‑level system concepts for students, embedded engineers, and computer‑system enthusiasts.

ARM architectureARM64Bare Metal
0 likes · 9 min read
Developing a Bare-Metal OS for ARM64 Architecture
Liangxu Linux
Liangxu Linux
Nov 17, 2024 · Operations

Why Processes Need Sleep and Wakeup: Linux Kernel Mechanisms Explained

Processes represent execution contexts that include code and resources; to avoid wasteful busy‑waiting, operating systems let them sleep and later wake them, using mechanisms like schedule_timeout_interruptible, timers, and try_to_wake_up, which the Linux kernel implements through specific state changes and scheduling logic.

Linux kernelSystem Programmingprocess scheduling
0 likes · 10 min read
Why Processes Need Sleep and Wakeup: Linux Kernel Mechanisms Explained
21CTO
21CTO
Jul 24, 2024 · Information Security

Can Rust Replace C/C++ to Prevent the Next CrowdStrike‑Induced BSOD?

The article examines the recent Windows BSOD crisis caused by a faulty CrowdStrike update, argues that memory‑unsafe languages like C/C++ contributed to the failure, and explains how Microsoft and the industry are turning to the memory‑safe Rust language for system, firmware, and cloud components to improve reliability and security.

AzureMemory SafetySecurity
0 likes · 8 min read
Can Rust Replace C/C++ to Prevent the Next CrowdStrike‑Induced BSOD?
21CTO
21CTO
Jun 4, 2024 · Information Security

Why Dropping C for Rust Isn’t a Simple Security Fix

The article offers a comprehensive analysis of memory‑safety concerns, weighing the economic, technical, and practical factors that influence whether developers should replace C/C++ with safer languages like Rust, and explains why the decision is far more complex than a straightforward security upgrade.

C vs RustMemory SafetySystem Programming
0 likes · 52 min read
Why Dropping C for Rust Isn’t a Simple Security Fix
Ops Development & AI Practice
Ops Development & AI Practice
May 9, 2024 · Backend Development

Boost System and Driver Performance: Combining Go with Assembly

This article explains how integrating Go with assembly language can overcome Go's performance and low‑level control limits for system and driver development, covering basic concepts, integration methods, multi‑CPU architecture support, practical code examples, and the resulting performance and portability benefits.

AssemblyGoMulti-Architecture
0 likes · 6 min read
Boost System and Driver Performance: Combining Go with Assembly
Deepin Linux
Deepin Linux
Mar 28, 2024 · Fundamentals

Comprehensive Guide to QEMU: Architecture, Installation, and Core Components

This article provides an in‑depth overview of QEMU, covering its purpose as a virtual machine monitor and emulator, installation methods, core command‑line tools, internal architecture, TCG dynamic translation, KVM interaction, and memory‑management structures for building and running virtual machines.

EmulationKVMSystem Programming
0 likes · 20 min read
Comprehensive Guide to QEMU: Architecture, Installation, and Core Components
Liangxu Linux
Liangxu Linux
Mar 27, 2024 · Fundamentals

Where Can You Use C? 8 Major Development Areas Explained

This article outlines eight key domains where C is still widely used—including embedded systems, desktop applications, system components, operating systems, language compilers, signal processing, audio/video handling, and databases—highlighting typical projects, tools, and why C remains essential for low‑level, performance‑critical development.

C languageDatabase DevelopmentEmbedded Development
0 likes · 11 min read
Where Can You Use C? 8 Major Development Areas Explained
21CTO
21CTO
Feb 4, 2024 · Backend Development

Why Microsoft Is Recruiting Rust Architects to Rewrite Windows Core

Microsoft is accelerating the migration of its Windows core and Microsoft 365 services from C# to Rust, hiring senior architects to lead the Substrate platform team and promising massive performance and size gains for cloud‑scale systems.

Cloud ServicesMicrosoftRust
0 likes · 3 min read
Why Microsoft Is Recruiting Rust Architects to Rewrite Windows Core
Deepin Linux
Deepin Linux
Jan 9, 2024 · Fundamentals

Linux System and Kernel Interview Questions – 100+ Topics and Code Examples

A comprehensive collection of over 100 Linux system and kernel interview questions, covering topics such as distributions, package management, process monitoring, memory management, file systems, system calls, concurrency, C/C++ language features, data structures, algorithms, and practical code examples for developers preparing for technical interviews.

C++LinuxOperating Systems
0 likes · 88 min read
Linux System and Kernel Interview Questions – 100+ Topics and Code Examples
Architect's Guide
Architect's Guide
Dec 5, 2023 · Fundamentals

Why Zig Is the Best C Alternative: Features, Toolchain, and Code Examples

This article explains why Zig, with its built‑in build system, package manager, safety features, and modern language design, is emerging as the most compelling replacement for C in system programming, offering high performance, easy C interop, and a promising future for developers.

C alternativeSystem ProgrammingToolchain
0 likes · 11 min read
Why Zig Is the Best C Alternative: Features, Toolchain, and Code Examples
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 22, 2023 · Fundamentals

18th China Linux Kernel Developer Conference (CLK 2023) Call for Papers

The 18th China Linux Kernel Developer Conference (CLK 2023) will be held in Shenzhen on October 28, 2023, hosted by OPPO, and invites Linux kernel developers to submit technical papers (open call from September 22, deadline October 10) on topics such as architecture, scheduling, memory, storage, networking, virtualization, performance, testing and kernel use in IoT, mobile, automotive, cloud and AI, with required author bio, title and abstract.

ARM64CLK 2023RISC-V
0 likes · 4 min read
18th China Linux Kernel Developer Conference (CLK 2023) Call for Papers
21CTO
21CTO
Aug 31, 2023 · Backend Development

Why Zig Is Emerging as the Best C Alternative for Modern System Programming

Zig combines a lightweight, C‑compatible syntax with a built‑in build system, package manager, and safety features, positioning it as a compelling, hardware‑friendly successor to C for system programming, cross‑compilation, and modern software development, while offering seamless C interop and robust tooling.

C alternativeSystem ProgrammingZig
0 likes · 13 min read
Why Zig Is Emerging as the Best C Alternative for Modern System Programming
Top Architect
Top Architect
Aug 3, 2023 · Operations

Using nsenter to Access Container Namespaces: Syntax, Options, and Examples

This article explains the nsenter command, its purpose for entering Linux container namespaces, detailed option flags, usage syntax, and practical examples for debugging container networking and other namespaces, while also covering the underlying concepts of namespaces, clone, and setns.

ContainersDockerLinux
0 likes · 10 min read
Using nsenter to Access Container Namespaces: Syntax, Options, and Examples
21CTO
21CTO
Jul 31, 2023 · Fundamentals

What Is VAL? The New System Programming Language Aiming to Rival Rust

VAL is a newly created high‑level programming language designed for system and edge computing, offering near‑Rust performance while avoiding references, and targeting applications like operating systems, games, and image processing that cannot afford virtual machines or garbage collectors.

Programming LanguageRust alternativeSystem Programming
0 likes · 6 min read
What Is VAL? The New System Programming Language Aiming to Rival Rust
Tencent Architect
Tencent Architect
Jul 20, 2023 · Fundamentals

Explore, Build, and Contribute: A Beginner’s Guide to the Linux Kernel

This comprehensive guide walks beginners through the Linux kernel’s architecture, source acquisition, configuration, compilation, installation, key subsystems, essential programming knowledge, and how to join the kernel community, providing practical code examples and curated learning resources.

Linux kernelSystem Programmingkernel-development
0 likes · 11 min read
Explore, Build, and Contribute: A Beginner’s Guide to the Linux Kernel
MaGe Linux Operations
MaGe Linux Operations
Jul 12, 2023 · Fundamentals

Mastering Linux Kernel Basics: A Practical Guide to Core Concepts

This article explains what the Linux kernel is, explores its different architectures—including microkernel, monolithic, and hybrid designs—covers kernel file locations, module handling, and offers a comprehensive learning roadmap with recommended books and hands‑on advice for anyone wanting to understand operating system fundamentals.

Linux kernelOS fundamentalsSystem Programming
0 likes · 26 min read
Mastering Linux Kernel Basics: A Practical Guide to Core Concepts
Liangxu Linux
Liangxu Linux
Jul 3, 2023 · Fundamentals

What Exactly Is a Socket? From Plug Analogy to Kernel Implementation

This article explains the concept of sockets using a plug analogy, details their usage in TCP/UDP communication, explores the kernel's sock structures and inheritance tricks, and describes how sockets expose network functionality to user‑space programs through file descriptors and queues.

Linux kernelNetwork programmingSocket
0 likes · 17 min read
What Exactly Is a Socket? From Plug Analogy to Kernel Implementation
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 12, 2023 · Mobile Development

eBPF Technology and Its Application on Android Platform

The article explains Android’s emerging eBPF support, detailing how to write, compile, load, attach, and debug BPF programs—including map handling, permission controls, perf‑event reporting, and practical debugging steps—while highlighting its current preliminary status and vast potential for kernel‑level monitoring on mobile devices.

AndroidBPF mapsKernel Extension
0 likes · 9 min read
eBPF Technology and Its Application on Android Platform
DeWu Technology
DeWu Technology
Apr 12, 2023 · Fundamentals

Linux I/O Models and io_uring Performance Overview

Linux I/O models range from synchronous native operations to asynchronous kernel‑bypass techniques, with APIs such as open, read, write, mmap, sendfile and splice, while the modern io_uring interface—supporting interrupt, polling, and kernel‑polling modes via liburing—delivers superior performance, especially at high queue depths, compared to traditional libaio.

I/OLinuxSystem Programming
0 likes · 20 min read
Linux I/O Models and io_uring Performance Overview
MaGe Linux Operations
MaGe Linux Operations
Feb 1, 2023 · Fundamentals

Understanding Linux Kernel Types: Micro, Monolithic, and Hybrid Explained

This article introduces the Linux kernel, explains its role and different architectures—including microkernel, monolithic, and hybrid designs—covers their advantages and disadvantages, describes kernel file locations, modules, and offers practical learning tips and reference resources for system programmers.

Hybrid KernelLinux kernelMonolithic Kernel
0 likes · 25 min read
Understanding Linux Kernel Types: Micro, Monolithic, and Hybrid Explained
MaGe Linux Operations
MaGe Linux Operations
Dec 18, 2022 · Fundamentals

Mastering Unix Signals: From Basics to Custom Handlers

This article explains what Unix signals are, categorizes reliable and unreliable signals, describes how they are generated by hardware and software, and details registration, blocking, pending states, handling functions, and practical code examples for custom signal processing.

CLinuxSystem Programming
0 likes · 16 min read
Mastering Unix Signals: From Basics to Custom Handlers
Liangxu Linux
Liangxu Linux
Nov 8, 2022 · Fundamentals

Essential Linux Commands, File Types, and Embedded System Basics Explained

This guide covers core Linux commands, supported file types, inter‑process communication methods, ARM exception categories, interrupt handling steps, GPIO concepts, I2C and SPI pin functions, as well as driver inspection commands, character device creation, synchronization primitives, and key kernel subsystems.

ARMDevice DriversI2C
0 likes · 10 min read
Essential Linux Commands, File Types, and Embedded System Basics Explained
21CTO
21CTO
Aug 24, 2022 · Fundamentals

Why Rust Is Shaping the Future of Safe System Programming

An interview with Rust creator Graydon Hoare explores the language's origins, its emphasis on speed, memory safety and concurrency, its adoption by major tech firms, and his perspective on the current state and future challenges of system programming security.

Memory SafetyRustSoftware Security
0 likes · 6 min read
Why Rust Is Shaping the Future of Safe System Programming
Python Programming Learning Circle
Python Programming Learning Circle
Aug 1, 2022 · Information Security

Implementing Windows Hooks in Python Using ctypes

This tutorial explains how to create a Windows key‑logging spy program by registering low‑level hooks through the user32 and kernel32 DLLs, using Python's ctypes library to call the required WinAPI functions, define callback prototypes, and manage hook installation and removal.

HookKeyloggerPython
0 likes · 8 min read
Implementing Windows Hooks in Python Using ctypes
Architects' Tech Alliance
Architects' Tech Alliance
Jun 17, 2022 · Fundamentals

Understanding the Linux Kernel: Concepts, Types, Files, Modules, and Learning Strategies

This article provides a comprehensive overview of the Linux kernel, explaining its purpose, different kernel architectures (microkernel, monolithic, hybrid), file locations, loadable modules, and offers practical learning advice and resource recommendations for anyone seeking to grasp operating‑system fundamentals.

Kernel TypesLearning ResourcesLinux kernel
0 likes · 24 min read
Understanding the Linux Kernel: Concepts, Types, Files, Modules, and Learning Strategies
IT Services Circle
IT Services Circle
Apr 28, 2022 · Fundamentals

Introducing Hare: A New System Programming Language for Low‑Level High‑Performance Development

Hare is a newly announced system programming language by Drew DeVault that combines a static type system, manual memory management, and a minimal runtime to target operating systems, system tools, compilers, and other high‑performance low‑level tasks, with C‑like syntax but greater simplicity.

HareProgramming LanguageSystem Programming
0 likes · 5 min read
Introducing Hare: A New System Programming Language for Low‑Level High‑Performance Development
21CTO
21CTO
Apr 26, 2022 · Fundamentals

Meet Hare: The New C‑Alternative System Language Redefining Low‑Level Development

Hare is a newly announced system programming language that aims to replace C with a simple, stable, and robust design, offering static typing, manual memory management, a batteries‑included standard library, and support for multiple architectures and operating systems.

C alternativeHare languageSystem Programming
0 likes · 6 min read
Meet Hare: The New C‑Alternative System Language Redefining Low‑Level Development
Liangxu Linux
Liangxu Linux
Apr 10, 2022 · Fundamentals

Master Linux Process Management: fork, vfork, exec, wait, and more

This tutorial explains Linux process concepts, how to view and identify processes, the differences between programs and processes, and provides detailed examples of using fork, vfork, wait, exec family functions, system, and popen to create, control, and monitor child processes, including handling zombies and orphans.

System Programmingexecfork
0 likes · 29 min read
Master Linux Process Management: fork, vfork, exec, wait, and more
Tencent Cloud Developer
Tencent Cloud Developer
Mar 10, 2022 · Fundamentals

How to Build a Stackful C++ Coroutine from Scratch: Deep Dive into Context Switching

This article provides a step‑by‑step technical guide to implementing C++ stackful coroutines, covering the design of the owl.context API, low‑level context‑switch principles, register saving conventions on 32‑bit ARM, and complete source code for co_getcontext, co_setcontext, co_swapcontext and co_makecontext with illustrative examples and diagrams.

ARMAssemblyC
0 likes · 15 min read
How to Build a Stackful C++ Coroutine from Scratch: Deep Dive into Context Switching
IT Services Circle
IT Services Circle
Mar 6, 2022 · Fundamentals

Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel

This article explains how Linux handles local network I/O for 127.0.0.1, detailing the differences from cross‑machine communication, the routing decisions, the loopback device driver, soft‑interrupt processing, and the complete kernel execution flow for both sending and receiving packets.

KernelLinuxNetwork IO
0 likes · 15 min read
Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 11, 2022 · Operations

Overview and Implementation of eBPF for Android Network Statistics and Control

The article explains how Android’s shift to Linux kernel 4.x/5.x introduced the eBPF framework, detailing its advantages over iptables, the programming model with helper macros and maps, and its implementation in netd and HAL to collect network statistics, enforce traffic control, and support power‑saving Doze policies.

AndroidBPFNetwork Monitoring
0 likes · 8 min read
Overview and Implementation of eBPF for Android Network Statistics and Control
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2021 · Backend Development

How Rust Is Shaping the Future of Linux Kernel Development

At the recent Linaro Connect virtual conference, Linux kernel maintainer Miguel Ojeda, a Google employee, detailed the ongoing Rust for Linux project, noting existing RFC patches for Rust infrastructure and a basic virtual driver, the progress of three compiler back‑ends, and the roadmap toward integrating Rust into the kernel.

Linux kernelRustSystem Programming
0 likes · 3 min read
How Rust Is Shaping the Future of Linux Kernel Development
Refining Core Development Skills
Refining Core Development Skills
May 27, 2021 · Fundamentals

Deep Dive into Linux Localhost Network I/O: Kernel-Level Packet Transmission and Reception on 127.0.0.1

This article provides a comprehensive analysis of the Linux kernel's handling of localhost network I/O, detailing how packets destined for 127.0.0.1 bypass physical network interfaces, traverse the routing table, and utilize the loopback virtual device and soft interrupts for efficient intra-machine communication.

Kernel RoutingLinux kernelLoopback Interface
0 likes · 12 min read
Deep Dive into Linux Localhost Network I/O: Kernel-Level Packet Transmission and Reception on 127.0.0.1
Liangxu Linux
Liangxu Linux
Apr 25, 2020 · Fundamentals

Inside Lei’s 1994 RAMinit TSR: Full Assembly Source and Analysis

This article presents the complete assembly source of the RAMinit TSR program written by Lei in 1994, explains its purpose as a hot‑key‑driven memory‑management utility for DOS, describes its interrupt‑vector handling, memory‑copy routines, and includes detailed comments that reveal the inner workings of this historic piece of system software.

AssemblyDoSLegacy Code
0 likes · 27 min read
Inside Lei’s 1994 RAMinit TSR: Full Assembly Source and Analysis
360 Tech Engineering
360 Tech Engineering
Dec 20, 2019 · Fundamentals

Deep Dive into Linux epoll: Data Structures, Core Functions, and Implementation Details

This article provides a comprehensive analysis of Linux's epoll mechanism, covering its fundamental data structures, key kernel functions, wait‑queue handling, event insertion, wake‑up logic, and the differences between edge‑triggered and level‑triggered modes, while including full source code excerpts for reference.

Event-drivenI/O MultiplexingKernel
0 likes · 21 min read
Deep Dive into Linux epoll: Data Structures, Core Functions, and Implementation Details
Efficient Ops
Efficient Ops
Jul 31, 2019 · Fundamentals

Unlock Faster Linux I/O: Master Zero‑Copy Techniques and Boost Performance

Zero‑copy techniques in Linux eliminate unnecessary data copying between user and kernel space, dramatically reducing CPU overhead and boosting throughput; this article explains why zero‑copy is needed, outlines several methods—including user‑space I/O, mmap, sendfile, DMA‑assisted sendfile, splice, copy‑on‑write, buffer sharing, and netmap—plus their trade‑offs.

I/O optimizationLinuxSystem Programming
0 likes · 13 min read
Unlock Faster Linux I/O: Master Zero‑Copy Techniques and Boost Performance
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2019 · Fundamentals

How to Master the Linux Kernel: A Practical Study Blueprint

This article shares a comprehensive, experience‑based approach to learning the Linux kernel, emphasizing building a high‑level framework first, using key textbooks strategically, balancing theory with hands‑on coding, and understanding API design and hardware interactions to accelerate mastery.

Learning MethodologyLinux kernelSystem Programming
0 likes · 18 min read
How to Master the Linux Kernel: A Practical Study Blueprint
MaGe Linux Operations
MaGe Linux Operations
Jul 15, 2018 · Fundamentals

Unlock Fast Interprocess Communication: Master Linux Shared Memory IPC

This article explains Linux shared memory IPC, covering its data structures, system limits, essential API calls for creating, controlling, attaching, and detaching memory segments, conventions between parent and child processes, and provides a complete C example demonstrating interprocess communication.

C programmingIPCLinux
0 likes · 7 min read
Unlock Fast Interprocess Communication: Master Linux Shared Memory IPC
Architects' Tech Alliance
Architects' Tech Alliance
May 12, 2017 · Fundamentals

Using KGDB for Linux Kernel and Module Debugging: Environment Setup and Step‑by‑Step Guide

This article provides a comprehensive tutorial on configuring KGDB on Linux, covering target and host machine preparation, kernel recompilation with debugging options, module installation, boot‑loader adjustments, and detailed remote‑gdb debugging procedures for both the kernel image and loadable modules.

KGDBLinuxSystem Programming
0 likes · 10 min read
Using KGDB for Linux Kernel and Module Debugging: Environment Setup and Step‑by‑Step Guide
MaGe Linux Operations
MaGe Linux Operations
Aug 12, 2016 · Operations

Mastering File Locks in Linux: flock vs lockf vs fcntl Explained

This article compares Linux file locking mechanisms—flock, lockf, and fcntl—detailing their prototypes, lock types, behavior with forks, dup, exec, and NFS, and provides practical code examples illustrating differences in lock scope, recursion, and interaction between advisory and POSIX locks.

LinuxSystem Programmingfcntl
0 likes · 13 min read
Mastering File Locks in Linux: flock vs lockf vs fcntl Explained
ITPUB
ITPUB
May 31, 2016 · Fundamentals

Can the 2038 Unix Bug Threaten Linux? A Deep Dive into the Time Overflow

The article revisits the historic Y2K panic and explains how the same kind of overflow, known as the 2038 Unix bug, threatens Linux systems as their 32‑bit time counters will roll over on January 19, 2038, potentially causing widespread date‑related failures.

2038 bugLinux kernelSystem Programming
0 likes · 4 min read
Can the 2038 Unix Bug Threaten Linux? A Deep Dive into the Time Overflow