Tag

system programming

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
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 multiplexingLinuxSELECT *
0 likes · 30 min read
I/O Multiplexing in Linux: Detailed Explanation of select, poll, and epoll
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.

C ProgrammingCore DumpGDB
0 likes · 24 min read
Understanding and Analyzing Linux Core Dumps with GDB
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 architectureARM64Hardware Interaction
0 likes · 9 min read
Developing a Bare-Metal OS for ARM64 Architecture
Python Programming Learning Circle
Python Programming Learning Circle
Oct 29, 2024 · Fundamentals

Implementing a Windows Keyboard Hook in Python Using ctypes

This tutorial explains how to use Python's ctypes library to register, implement, and remove a low‑level keyboard hook on Windows by calling the necessary WinAPI functions from user32.dll and kernel32.dll, providing complete example code and step‑by‑step guidance.

Keyboard MonitoringPythonWindows Hook
0 likes · 8 min read
Implementing a Windows Keyboard Hook in Python Using ctypes
Deepin Linux
Deepin Linux
Sep 9, 2024 · Backend Development

Understanding epoll: Level‑Triggered vs Edge‑Triggered Modes and Kernel Implementation

This article explains the concepts of level‑triggered (LT) and edge‑triggered (ET) event notification in Linux epoll, describes epoll's core data structures such as the red‑black tree and ready‑list, details the three main APIs (epoll_create, epoll_ctl, epoll_wait), and examines the locking and internal kernel mechanisms that enable efficient I/O multiplexing.

I/O multiplexingLinux kerneledge-triggered
0 likes · 69 min read
Understanding epoll: Level‑Triggered vs Edge‑Triggered Modes and Kernel Implementation
Refining Core Development Skills
Refining Core Development Skills
Aug 5, 2024 · Fundamentals

Deep Dive into Linux Processes and Memory: A Comprehensive Guide

This article introduces a new book 'Deep Understanding of Linux Processes and Memory' that systematically explains CPU, memory, and process scheduling principles, covering hardware fundamentals, virtual memory, Golang coroutines, container resource management, and performance optimization techniques.

CPU architectureLinuxProcesses
0 likes · 5 min read
Deep Dive into Linux Processes and Memory: A Comprehensive Guide
Architecture Development Notes
Architecture Development Notes
May 10, 2024 · Fundamentals

Master Rust Arrays: Declaration, Access, Iteration, and Advanced Uses

Explore Rust arrays in depth—from declaration syntax and element access to iteration, mutable updates, built‑in methods, multidimensional structures, and a practical fixed‑size stack implementation—highlighting their performance‑focused design and safety guarantees for system programming.

RustTutorialarrays
0 likes · 6 min read
Master Rust Arrays: Declaration, Access, Iteration, and Advanced Uses
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.

EmulationKVMQEMU
0 likes · 20 min read
Comprehensive Guide to QEMU: Architecture, Installation, and Core Components
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++InterviewLinux
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.

ToolchainZigc-alternative
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 2023Conference
0 likes · 4 min read
18th China Linux Kernel Developer Conference (CLK 2023) Call for Papers
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.

DockerLinuxNamespaces
0 likes · 10 min read
Using nsenter to Access Container Namespaces: Syntax, Options, and Examples
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 kernelkernel developmentopen source
0 likes · 11 min read
Explore, Build, and Contribute: A Beginner’s Guide to the Linux Kernel
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.

BPF mapsKernel ExtensionLinux kernel
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/OLinuxPerformance
0 likes · 20 min read
Linux I/O Models and io_uring Performance Overview
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 17, 2023 · Fundamentals

Fundamental Overview of Linux cgroup Architecture and Initialization (Kernel 5.10)

The article explains Linux cgroup architecture and initialization in kernel 5.10, covering its hierarchical composition, key data structures like css_set, the two‑phase boot‑time setup, creation of cgroups, and task assignment mechanisms for both cgroup v1 and v2.

Linuxcgroupkernel
0 likes · 14 min read
Fundamental Overview of Linux cgroup Architecture and Initialization (Kernel 5.10)
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.

HookKeyloggerWindows API
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