Tagged articles
819 articles
Page 1 of 9
Liangxu Linux
Liangxu Linux
May 19, 2026 · Fundamentals

Programming: Memorize or Create? Why Understanding Beats Rote Learning

The author argues that successful programming relies 70% on understanding, 20% on practice, and only 10% on memorization, emphasizing that developers should focus on grasping core concepts, building muscle memory through repeated coding, and using documentation as needed rather than trying to memorize every API.

CLinuxembedded
0 likes · 6 min read
Programming: Memorize or Create? Why Understanding Beats Rote Learning
Java Architect Essentials
Java Architect Essentials
May 18, 2026 · Backend Development

Meet Reqable: A Free, Cross‑Platform Postman Alternative with Superior Performance

Reqable is a free, cross‑platform API testing tool built with Flutter and C++ that offers instant startup, low memory usage, offline storage, HTTP/2‑3 support, data migration from other tools, packet‑capture debugging, and an active open‑source community, positioning it as a high‑performance replacement for Postman.

API testingCFlutter
0 likes · 7 min read
Meet Reqable: A Free, Cross‑Platform Postman Alternative with Superior Performance
21CTO
21CTO
May 17, 2026 · Fundamentals

How C++26’s Hardened Standard Library Tackles Undefined Behavior

The article explains that undefined behavior in C++ often stems from standard‑library misuse, describes the new C++26 P3471R4 hardened library that turns such UB into runtime contract violations, cites Google’s production data showing over a thousand bugs found with only 0.30% overhead and a 30% drop in segfaults, and details how to enable and use the feature.

CContractsHardening
0 likes · 8 min read
How C++26’s Hardened Standard Library Tackles Undefined Behavior
21CTO
21CTO
May 11, 2026 · Artificial Intelligence

Mojo 1.0 Beta: A New Era of Python‑C++ Performance

Mojo 1.0 beta combines familiar Python syntax with C/Rust‑level speed, introduces API‑stabilizing language changes, expands cross‑vendor GPU support, and delivers measurable AI/ML performance gains, while offering a decision framework that weighs its early‑stage ecosystem against production needs.

AICGPU
0 likes · 10 min read
Mojo 1.0 Beta: A New Era of Python‑C++ Performance
Deepin Linux
Deepin Linux
May 11, 2026 · Fundamentals

Eliminate Memory Fragmentation: Understanding Memory Pools

The article explains how frequent dynamic allocations cause external and internal memory fragmentation, illustrates the problem with C++ examples, and shows that pre‑allocating a large contiguous block as a memory pool—managed via block division, free‑list tracking, and thread‑safe operations—significantly reduces fragmentation, improves allocation speed, and boosts concurrency performance.

CMemory FragmentationPerformance Optimization
0 likes · 30 min read
Eliminate Memory Fragmentation: Understanding Memory Pools
Deepin Linux
Deepin Linux
May 3, 2026 · Backend Development

Master Lock‑Free Queues: Unlock the Core of High‑Concurrency Programming

This article demystifies lock‑free queues by explaining their low‑level implementation, atomic operations, memory barriers, and the four SPSC/MPMC models, while also covering ABA problems, false sharing avoidance, and practical C++ code examples to help developers truly understand high‑concurrency fundamentals.

CCASMPMC
0 likes · 44 min read
Master Lock‑Free Queues: Unlock the Core of High‑Concurrency Programming
21CTO
21CTO
Apr 30, 2026 · Industry Insights

Renowned Developer Chris Wellons Officially Bids Farewell to Emacs

Chris Wellons, a veteran open‑source engineer with 24 years of experience, announced his departure from Emacs after two decades, detailing his shift to Vim, the creation of stackcalc and Elfeed2 in C++ with wxWidgets, and the efficiency gains that drove the change.

CEmacsVim
0 likes · 5 min read
Renowned Developer Chris Wellons Officially Bids Farewell to Emacs
CodeTrend
CodeTrend
Apr 28, 2026 · Industry Insights

CodeTrend Daily Report – Top GitHub Repositories (April 28 2026)

The CodeTrend daily report spotlights the most‑starred GitHub projects added today, this week and this month across languages, highlighting hot repos such as Claude‑Code tools, VibeVoice, FinceptTerminal, and a range of AI, finance, and developer utilities.

CGitHubPython
0 likes · 50 min read
CodeTrend Daily Report – Top GitHub Repositories (April 28 2026)
Liangxu Linux
Liangxu Linux
Apr 26, 2026 · Backend Development

Which IDEs Do Linux C Developers Prefer? Insights from Major Companies

The article surveys the most popular IDEs for C development on Linux, compares personal preferences such as VSCode, CLion, Vim/Neovim, and Emacs, and examines how large internet firms, embedded‑software companies, fintech, and startups choose their tools based on learning curve, performance, project size, and team policies.

CCLionEmacs
0 likes · 5 min read
Which IDEs Do Linux C Developers Prefer? Insights from Major Companies
Liangxu Linux
Liangxu Linux
Apr 13, 2026 · Fundamentals

Master Linux Network Programming: From Echo Server to Mini HTTP Server

This guide walks beginners through progressive Linux network programming projects—starting with an Echo server, advancing to a concurrent chatroom, and culminating in a simple HTTP server—to solidify core concepts like TCP handshakes, socket I/O, and protocol handling.

CLinuxNetwork programming
0 likes · 4 min read
Master Linux Network Programming: From Echo Server to Mini HTTP Server
Deepin Linux
Deepin Linux
Apr 7, 2026 · Fundamentals

Why io_uring Is the Game‑Changer for Linux Asynchronous I/O (And How to Master It)

This article provides a comprehensive, step‑by‑step analysis of Linux's io_uring, covering its architecture, design principles, workflow, performance advantages over traditional models like epoll, practical C code examples, optimization techniques, real‑world use cases, and the challenges developers may face when adopting it.

CKernelLinux
0 likes · 52 min read
Why io_uring Is the Game‑Changer for Linux Asynchronous I/O (And How to Master It)
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Mar 27, 2026 · Backend Development

How EasySearch Rules Engine Tags Data at Ingest Time

The article walks through EasySearch's Rules plugin, showing how its high‑performance C++ rule engine can automatically match and tag documents during the ingest pipeline, enabling zero‑latency content classification for scenarios like regional, sentiment, and entity tagging.

CElasticsearchIngest Pipeline
0 likes · 9 min read
How EasySearch Rules Engine Tags Data at Ingest Time
Deepin Linux
Deepin Linux
Mar 24, 2026 · Fundamentals

Mastering Linux PCI Driver Development: From Theory to Real Code

This comprehensive guide walks readers through the Linux PCI driver architecture, explains the PCI and PCIe bus evolution, details the kernel's layered driver framework, enumerates devices, manages resources, registers drivers, and presents a full SSD driver case study with code examples and performance tuning techniques.

CDevice DriversLinux
0 likes · 30 min read
Mastering Linux PCI Driver Development: From Theory to Real Code
DeWu Technology
DeWu Technology
Mar 4, 2026 · Backend Development

How the Multiplicative Tree Framework Enables Instant Formula Deployment and Stable High‑Performance Ranking

The article details the design and evolution of the Multiplicative Tree framework—from version 1.0 to 3.0—showing how a DSL‑based, compile‑time‑checked configuration system delivers instant formula deployment, robust stability safeguards, and significant performance gains for multi‑objective ranking models.

CDSLJava
0 likes · 18 min read
How the Multiplicative Tree Framework Enables Instant Formula Deployment and Stable High‑Performance Ranking
IT Services Circle
IT Services Circle
Feb 26, 2026 · Interview Experience

Master C++ friend: 5 Levels of Usage Every Interview Candidate Should Know

This article walks through the five practical levels of using C++ friend— from a quick syntax recap to operator overloads, factory functions, iterator access, swap idiom, and the Passkey pattern—explaining when and why each scenario warrants a friend declaration and how it impacts encapsulation and interview performance.

CDesign Patternsaccess control
0 likes · 14 min read
Master C++ friend: 5 Levels of Usage Every Interview Candidate Should Know
Deepin Linux
Deepin Linux
Feb 25, 2026 · Backend Development

Master VSCode and GDB: Complete Guide to C/C++ Debugging

This comprehensive tutorial walks you through installing VSCode and GDB on Linux, macOS, and Windows, configuring launch.json and tasks.json, mastering basic and advanced debugging techniques such as breakpoints, watchpoints, multithreaded and remote debugging, and troubleshooting common issues for C/C++ development.

CDebuggingVSCode
0 likes · 26 min read
Master VSCode and GDB: Complete Guide to C/C++ Debugging
IT Services Circle
IT Services Circle
Feb 9, 2026 · Fundamentals

Why Misusing std::shared_ptr Slows Your C++ Code and How to Fix It

This article explores common pitfalls when using std::shared_ptr in C++, including unnecessary copying, extra heap allocations, cyclic references, and subtle memory retention with make_shared, provides benchmark comparisons, and offers practical guidelines such as preferring const‑reference passing, using std::make_shared, and employing weak_ptr to break cycles.

Cmemory-managementperformance
0 likes · 10 min read
Why Misusing std::shared_ptr Slows Your C++ Code and How to Fix It
Deepin Linux
Deepin Linux
Feb 7, 2026 · Fundamentals

Mastering Linux Process Synchronization: Prevent Race Conditions with Mutexes, Semaphores, and More

This comprehensive guide explains why race conditions occur in Linux processes, explores the underlying concepts of critical sections and synchronization, and provides practical examples of atomic operations, mutexes, semaphores, condition variables, read‑write locks, and spinlocks to ensure safe concurrent programming.

CPOSIXcondition variable
0 likes · 39 min read
Mastering Linux Process Synchronization: Prevent Race Conditions with Mutexes, Semaphores, and More
Deepin Linux
Deepin Linux
Jan 30, 2026 · Backend Development

Master Linux TCP: System Calls, Handshakes, and Real‑World Code

This article provides a comprehensive guide to Linux TCP development, explaining the role of system calls, the three‑way handshake and four‑way termination, detailing core socket functions such as socket, bind, listen, accept, connect, read/write, recv/send, and includes complete example code for building a simple TCP server and client with troubleshooting tips.

CLinuxTCP
0 likes · 41 min read
Master Linux TCP: System Calls, Handshakes, and Real‑World Code
Wuming AI
Wuming AI
Jan 29, 2026 · Artificial Intelligence

How to Compress Long LLM Conversations with Smart Summarization and Sliding Window

This article explains how to keep essential information from lengthy AI chat histories by using an intelligent summarization prompt, injecting the summary as a system message, and applying a sliding‑window strategy that retains the last three exchanges, thereby reducing token cost and preserving context continuity.

CLLMPrompt Engineering
0 likes · 11 min read
How to Compress Long LLM Conversations with Smart Summarization and Sliding Window
Liangxu Linux
Liangxu Linux
Jan 27, 2026 · Fundamentals

Master STM32 GPIO: All 8 Modes Explained with Code Samples

This tutorial walks through STM32's eight GPIO operating modes—four inputs and four outputs—detailing their electrical behavior, typical use cases, configuration steps, and providing complete HAL code examples to help embedded developers choose the right mode for reliable designs.

CGPIOHAL
0 likes · 16 min read
Master STM32 GPIO: All 8 Modes Explained with Code Samples
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 17, 2026 · Fundamentals

The Most Stupid Embedded C Bug Ever: A Missing Space That Turned Code Into a Comment

The article walks through a seemingly simple C file‑creation snippet that fails on Windows because Microsoft's tmpfile() uses C:\, then reveals a hidden bug where a stray backslash in a comment and a missing space in an expression silently turn code into comments, illustrating how tiny syntax errors can break cross‑platform programs.

CDebuggingbug
0 likes · 7 min read
The Most Stupid Embedded C Bug Ever: A Missing Space That Turned Code Into a Comment
Zhihu Tech Column
Zhihu Tech Column
Jan 16, 2026 · Mobile Development

How a Custom C++ Native Rendering Engine Boosted Reading‑App Performance by Over 2%

The article details the design of a cross‑platform C++ rendering engine built for a mobile reading app, explaining its three‑layer architecture, file‑format support, layout and caching mechanisms, security features, and how these technical choices delivered measurable improvements in page views, reading time, and conversion rates.

CMobile DevelopmentRendering Engine
0 likes · 35 min read
How a Custom C++ Native Rendering Engine Boosted Reading‑App Performance by Over 2%
Deepin Linux
Deepin Linux
Dec 28, 2025 · Fundamentals

Understanding Linux User Stacks: How Threads Manage Memory and Calls

This article explains the role of the Linux user stack in multithreaded programs, covering its memory layout, how each thread gets a private stack, stack frame mechanics, growth and overflow handling, and practical examples of creating and debugging stacks with pthreads and gdb.

CLinuxThread
0 likes · 24 min read
Understanding Linux User Stacks: How Threads Manage Memory and Calls
Java One
Java One
Dec 26, 2025 · Fundamentals

How C/C++, Java, and Python Run: A Deep Dive into Compilation and Execution

This article compares the execution models of C/C++, Java, and Python, explaining how compiled machine code, bytecode with JVM, and interpreted bytecode with the Python virtual machine operate, and illustrates each process with example file structures and compilation steps.

CCompilationExecution Model
0 likes · 6 min read
How C/C++, Java, and Python Run: A Deep Dive into Compilation and Execution
Deepin Linux
Deepin Linux
Dec 25, 2025 · Operations

How to Optimize Linux Thread Stack Memory for High‑Concurrency Services

This article explains the fundamentals of Linux thread stack memory, identifies why default stack sizes can cause waste or overflow in high‑concurrency scenarios, and provides practical techniques—including stack‑size tuning, code refactoring, and memory‑mapping—to reduce memory usage and improve service stability.

CLinuxMemory Optimization
0 likes · 34 min read
How to Optimize Linux Thread Stack Memory for High‑Concurrency Services
Liangxu Linux
Liangxu Linux
Dec 24, 2025 · Fundamentals

Mastering C Function Pointers: From Basics to Embedded Applications

This tutorial explains what function pointers are, how to declare and use them in C, and demonstrates practical embedded‑system patterns such as callbacks, state machines, command dispatch, and advanced techniques like pointer arrays and struct members, while highlighting common pitfalls.

CCallbackscommand dispatch
0 likes · 13 min read
Mastering C Function Pointers: From Basics to Embedded Applications
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.

CEmbedded Cbest practices
0 likes · 14 min read
Why char s1[] and char *s2 Aren’t the Same: Deep Dive into C Arrays vs Pointers
Liangxu Linux
Liangxu Linux
Nov 30, 2025 · Fundamentals

How MuditaOS Brings Service‑Oriented Architecture to Embedded Phones

This article introduces MuditaOS, an open‑source embedded operating system for the minimalist Mudita Pure phone, detailing its FreeRTOS‑based service architecture, type‑safe message passing, lifecycle management, and the technical stack that enables a low‑power, E‑Ink‑optimized mobile experience.

CFreeRTOSMuditaOS
0 likes · 5 min read
How MuditaOS Brings Service‑Oriented Architecture to Embedded Phones
Deepin Linux
Deepin Linux
Nov 30, 2025 · Fundamentals

When Does C++ Generate a Default Copy Constructor? A Deep Dive

This article explains the role of copy constructors in C++, when the compiler automatically provides a default one, the situations that trigger copy construction, why bitwise copying can be unsafe, and how to implement proper deep‑copy semantics with clear code examples.

CCopy ConstructorDefault Constructor
0 likes · 31 min read
When Does C++ Generate a Default Copy Constructor? A Deep Dive
21CTO
21CTO
Nov 29, 2025 · Fundamentals

Why GCC’s Switch to C++20 Matters for Every C++ Developer

GCC has officially made C++20 the default language standard, a shift that reshapes codebases, tooling, and developer habits, requiring both newcomers and seasoned programmers to adapt to new features like modules, concepts, and coroutines while managing potential build issues.

CC++20compiler
0 likes · 5 min read
Why GCC’s Switch to C++20 Matters for Every C++ Developer
Liangxu Linux
Liangxu Linux
Nov 24, 2025 · Fundamentals

Understanding Struct Alignment and Over‑Aligned Types in C/C++

This article explains the natural alignment requirements of C/C++ data types, how structs are padded and aligned based on member alignments, the hardware, cache and compiler reasons for alignment, and the concept of over‑aligned types with practical examples and usage guidelines.

CC++compiler
0 likes · 11 min read
Understanding Struct Alignment and Over‑Aligned Types in C/C++
IT Services Circle
IT Services Circle
Nov 16, 2025 · Fundamentals

Will C# Overtake Java in 2025? Deep Dive into the TIOBE Index

The November 2025 TIOBE ranking shows Python still on top, but C# is rapidly gaining ground and may surpass Java for the first time in history, driven by cross‑platform .NET, open‑source momentum, modern language features, and strong backing from Microsoft and the cloud ecosystem.

2025CJava
0 likes · 7 min read
Will C# Overtake Java in 2025? Deep Dive into the TIOBE Index
Liangxu Linux
Liangxu Linux
Nov 16, 2025 · Fundamentals

Convert Serial Bytes to Float in Embedded C with Unions and Endianness

This article explains how to reconstruct a 32‑bit floating‑point value from four serial bytes in embedded C by using a union or struct overlay, demonstrates the code, shows the resulting little‑endian byte order, and provides a simple function to detect system endianness.

CSerial CommunicationUNION
0 likes · 5 min read
Convert Serial Bytes to Float in Embedded C with Unions and Endianness
Liangxu Linux
Liangxu Linux
Nov 13, 2025 · Fundamentals

How to Define a Custom read() in C Without Hiding the System Call

This article explains how to create a user‑defined read() function in C that coexists with the standard library read() by using the static keyword and separate translation units, providing code examples, compilation steps, and execution results.

CLinuxfunction-overriding
0 likes · 6 min read
How to Define a Custom read() in C Without Hiding the System Call
Liangxu Linux
Liangxu Linux
Nov 12, 2025 · Fundamentals

Mastering Button Management in Embedded C with lwbtn: A Deep Dive

This article introduces the lightweight lwbtn library for embedded C, explains its core features, shows how to integrate it on STM32 with a complete demo, and provides an in‑depth analysis of its architecture, state‑machine processing, click detection algorithm, configuration options, and practical usage tips.

CGPIOSTM32
0 likes · 13 min read
Mastering Button Management in Embedded C with lwbtn: A Deep Dive
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Nov 5, 2025 · Fundamentals

Why static_cast Beats C‑Style Casts in Modern C++

This article explains how static_cast provides compile‑time type safety, clearer intent, and zero runtime overhead compared to C‑style casts, covering basic arithmetic, pointer, and enum conversions, the compiler’s processing steps, practical examples, and best‑practice recommendations for safe C++ coding.

Cbest practicescompile-time safety
0 likes · 14 min read
Why static_cast Beats C‑Style Casts in Modern C++
Deepin Linux
Deepin Linux
Nov 5, 2025 · Fundamentals

Unlocking the Secrets of TCP/IP: From Basics to Real-World Applications

This comprehensive guide explains how TCP/IP functions as the Internet's traffic rules, details each protocol in the suite, explores the four‑layer model, showcases practical C++ socket examples, and provides troubleshooting tips for real‑world networking scenarios.

CNetwork ProtocolsTCP
0 likes · 45 min read
Unlocking the Secrets of TCP/IP: From Basics to Real-World Applications
Liangxu Linux
Liangxu Linux
Nov 4, 2025 · Fundamentals

Top Open‑Source MCU Libraries and Projects for Embedded Development

This article curates a collection of popular open‑source microcontroller projects, covering practical software modules such as MultiButton, QueueForMcu, and StateMachine, complete hardware projects like TinyGameEngine and HomeAutomation, IoT platforms, creative gadgets, and debugging tools, each with repository links, feature highlights, usage examples, and code snippets.

CHardwareIoT
0 likes · 13 min read
Top Open‑Source MCU Libraries and Projects for Embedded Development
Liangxu Linux
Liangxu Linux
Oct 30, 2025 · Fundamentals

Boost Embedded Performance with the Lightweight C Event Library lwevt

This article introduces lwevt, a lightweight C event‑management library for embedded systems, covering its design goals, key features, X‑Macro‑based type definitions, thread‑safety considerations, and step‑by‑step usage examples with full source code snippets.

CEvent-drivenX-Macro
0 likes · 6 min read
Boost Embedded Performance with the Lightweight C Event Library lwevt
Liangxu Linux
Liangxu Linux
Oct 28, 2025 · Fundamentals

8 Must‑Know Embedded Interview Questions and How to Ace Them

This article presents eight high‑frequency embedded‑system interview questions, explains the underlying concepts such as boot process, interrupt handling, stack overflow detection, struct alignment, bit‑banding, dynamic memory risks, volatile usage, and provides concise C code examples and best‑practice answers to help candidates succeed in technical interviews.

CCortex-MInterrupts
0 likes · 8 min read
8 Must‑Know Embedded Interview Questions and How to Ace Them
Dunmao Tech Hub
Dunmao Tech Hub
Oct 21, 2025 · Backend Development

How to Compile and Deploy ZLMediaKit for GB28181 Video Services

This guide walks you through installing prerequisites, cloning the ZLMediaKit source, compiling it on Linux, configuring it to work with WVP, and launching the server, plus troubleshooting tips and a Docker deployment alternative for GB28181 video integration.

CGB28181Linux
0 likes · 7 min read
How to Compile and Deploy ZLMediaKit for GB28181 Video Services
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Oct 20, 2025 · Fundamentals

Why Does a C++ Program Crash on free() Even When It Looks Correct?

Even when a C++ program appears to run correctly, writing beyond allocated memory can corrupt heap metadata, causing a delayed crash at free(); this article explains the underlying malloc/free mechanisms, demonstrates the issue with code examples, and offers debugging tools and defensive programming practices to prevent such errors.

CDebuggingFree
0 likes · 9 min read
Why Does a C++ Program Crash on free() Even When It Looks Correct?
Liangxu Linux
Liangxu Linux
Oct 18, 2025 · Fundamentals

Essential C Coding Style Guide: Rules for Clean, Consistent Code

This guide outlines comprehensive C coding style rules, covering indentation, naming conventions, whitespace, comments, function prototypes, variable declarations, structures, enums, control flow, macros, and documentation, with clear examples to help developers write clean, maintainable, and consistent code across projects.

CCode FormattingDocumentation
0 likes · 23 min read
Essential C Coding Style Guide: Rules for Clean, Consistent Code
Liangxu Linux
Liangxu Linux
Oct 15, 2025 · Fundamentals

Unlock Cross‑Platform C Development with TBOX: A Comprehensive Library Overview

TBOX is an open‑source C library offering a unified, cross‑platform API that simplifies common development tasks across Windows, macOS, Linux, Android, iOS and BSD, featuring modules for streams, coroutines, memory, containers, algorithms, networking, databases, and more, with build instructions via xmake.

CLibrarySystems Programming
0 likes · 12 min read
Unlock Cross‑Platform C Development with TBOX: A Comprehensive Library Overview
IT Services Circle
IT Services Circle
Oct 15, 2025 · Fundamentals

Why Python Dominates and C Struggles for 2nd Place in the 2025 TIOBE Index

The October 2025 TIOBE index shows Python retaining the top spot while C reclaims second place, with C++, Java, and C# fiercely contesting the rankings, highlighting each language’s unique strengths and the shifting popularity driven by new standards, ecosystem growth, and emerging technology demands.

CLanguage PopularityPython
0 likes · 6 min read
Why Python Dominates and C Struggles for 2nd Place in the 2025 TIOBE Index
Liangxu Linux
Liangxu Linux
Oct 12, 2025 · Fundamentals

Mastering Strong and Weak Functions in C for Flexible Embedded Design

This article explains the concept of strong and weak functions in C, shows how to declare them with GCC and other compilers, outlines the linker selection rules, and demonstrates practical uses such as library overrides, interrupt handlers, callbacks, test stubs, plugin systems, and related pitfalls.

CLinkerembedded
0 likes · 9 min read
Mastering Strong and Weak Functions in C for Flexible Embedded Design
Liangxu Linux
Liangxu Linux
Oct 8, 2025 · Fundamentals

Master STM32 ADC Sampling and Filtering: From Basics to Advanced Algorithms

This tutorial walks through STM32F103ZET6 ADC fundamentals, explains key parameters, demonstrates how to use the VOFA+ PC tool for data visualization, and provides step‑by‑step implementations of several filtering algorithms—including first‑order complementary, median, arithmetic average, moving average, limit‑average, and Kalman filters—complete with code examples and performance analysis.

ADCCSTM32
0 likes · 16 min read
Master STM32 ADC Sampling and Filtering: From Basics to Advanced Algorithms
Deepin Linux
Deepin Linux
Oct 6, 2025 · Fundamentals

Mastering Placement New in C++: When and How to Use It Safely

This article explains the concept, syntax, and practical use cases of C++ placement new, compares it with ordinary new, discusses memory‑pool and stack allocations, highlights alignment and lifetime management issues, and provides interview‑style Q&A with code examples.

CObject Constructioncustom allocator
0 likes · 35 min read
Mastering Placement New in C++: When and How to Use It Safely
Deepin Linux
Deepin Linux
Oct 5, 2025 · Fundamentals

Why Stack Memory Is Faster Than Heap: Deep Dive into Allocation Mechanics

This article explains the fundamental differences between stack and heap memory allocation, covering their mechanisms, performance characteristics, common pitfalls such as overflow and leaks, and practical coding examples in C and C++, helping developers choose the right memory strategy for efficient software design.

Callocationperformance
0 likes · 63 min read
Why Stack Memory Is Faster Than Heap: Deep Dive into Allocation Mechanics
Deepin Linux
Deepin Linux
Oct 3, 2025 · Fundamentals

When to Use Mutex vs Spinlock: Performance Guide and Best Practices

Choosing the right lock—mutex or spinlock—can dramatically affect program performance; this article explains their underlying waiting mechanisms, compares CPU usage, context‑switch costs, and suitability across multi‑core versus single‑core, high‑contention versus low‑contention scenarios, and provides practical C++ code examples.

CSpinlockmutex
0 likes · 29 min read
When to Use Mutex vs Spinlock: Performance Guide and Best Practices
IT Services Circle
IT Services Circle
Oct 2, 2025 · Backend Development

Cracking Baidu's C++/PHP Interview: Key Questions, Answers, and QuickSort Code

This article examines the diminishing premium of overseas degrees, suggests one‑year master programs for career advancement, and then provides a comprehensive Baidu interview guide covering C++/PHP fundamentals, memory allocation, networking protocols, process vs thread, Redis performance, and a complete quicksort implementation in C++.

CMemory ManagementQuickSort
0 likes · 13 min read
Cracking Baidu's C++/PHP Interview: Key Questions, Answers, and QuickSort Code
Deepin Linux
Deepin Linux
Oct 1, 2025 · Fundamentals

Why Deque Beats Vector and List: Inside the Double‑Ended Queue’s Magic

This article explains how the C++ deque combines the random‑access speed of a vector with the constant‑time double‑ended insertions of a list by using a segmented storage architecture, detailing its internal map, iterator mechanics, core operations, performance comparisons, practical use cases, and common pitfalls.

CData Structurealgorithm
0 likes · 47 min read
Why Deque Beats Vector and List: Inside the Double‑Ended Queue’s Magic
Liangxu Linux
Liangxu Linux
Sep 27, 2025 · Fundamentals

10 Proven Strategies to Make Embedded C/C++ Code Truly Portable

This article presents twelve practical guidelines—ranging from layered design and adapter patterns to careful handling of standard functions and platform quirks—that help embedded developers write C/C++ code that can be reliably moved across different hardware and operating systems.

CC++Portability
0 likes · 10 min read
10 Proven Strategies to Make Embedded C/C++ Code Truly Portable
Liangxu Linux
Liangxu Linux
Sep 27, 2025 · Fundamentals

Boost C Performance: Proven Tricks to Speed Up Your Code

This article gathers practical C‑language optimization techniques—ranging from integer declarations and branch reduction to loop unrolling and lookup‑table usage—to help developers improve execution speed and reduce memory consumption on resource‑constrained devices.

CInlineLoop Unrolling
0 likes · 30 min read
Boost C Performance: Proven Tricks to Speed Up Your Code
Deepin Linux
Deepin Linux
Sep 24, 2025 · Fundamentals

Mastering GDB: Essential Techniques for Memory Debugging and Analysis

This comprehensive guide explores GDB as a powerful debugging tool for memory analysis, covering installation, startup methods, core commands, breakpoint strategies, memory inspection, stack tracing, advanced features, remote debugging, and best practices for production environments, complete with practical code examples and step‑by‑step instructions.

CDebuggingLinux
0 likes · 55 min read
Mastering GDB: Essential Techniques for Memory Debugging and Analysis
Liangxu Linux
Liangxu Linux
Sep 23, 2025 · Fundamentals

15 Hidden C Language Traps Every Developer Must Avoid

Discover the 15 most common C programming pitfalls—from operator precedence and case sensitivity to pointer misuse and multithreading errors—each illustrated with code examples and practical solutions to help you write safer, more reliable C code.

CDebuggingbest practices
0 likes · 13 min read
15 Hidden C Language Traps Every Developer Must Avoid
php Courses
php Courses
Sep 22, 2025 · Fundamentals

Boost C++ Performance: Proven Memory Management Techniques You Must Use

This article explores why efficient memory management is crucial for C++ performance and presents practical strategies—including stack allocation, RAII, smart pointers, custom memory pools, optimal containers, move semantics, and diagnostic tools—to write faster, more robust programs.

CPerformance OptimizationRAII
0 likes · 9 min read
Boost C++ Performance: Proven Memory Management Techniques You Must Use
Deepin Linux
Deepin Linux
Sep 17, 2025 · Fundamentals

Why new/delete Beats malloc/free: A Deep Dive into C/C++ Memory Management

This article explains the core differences between C's malloc/free and C++'s new/delete, covering allocation mechanisms, object construction and destruction, error handling, common pitfalls, and best practices—including smart pointers—to help developers choose the right memory management approach for various programming scenarios.

Callocationmalloc
0 likes · 32 min read
Why new/delete Beats malloc/free: A Deep Dive into C/C++ Memory Management
php Courses
php Courses
Sep 16, 2025 · Fundamentals

Mastering std::mutex in C++: Prevent Data Races with Simple Examples

Learn why mutexes are essential for safe multithreaded C++ programming, explore the basic std::mutex API, see practical code examples, and discover advanced lock management with std::lock_guard and other mutex types to avoid data races and deadlocks.

Cconcurrencylock_guard
0 likes · 9 min read
Mastering std::mutex in C++: Prevent Data Races with Simple Examples
php Courses
php Courses
Sep 15, 2025 · Fundamentals

Mastering std::thread: Create, Manage, and Synchronize C++ Threads

This tutorial explains the fundamentals of C++11 std::thread, covering thread creation with functions and lambdas, the use of join() and detach(), argument passing techniques, and essential best practices for safe and portable multithreaded programming.

CJOINLambda
0 likes · 10 min read
Mastering std::thread: Create, Manage, and Synchronize C++ Threads
Liangxu Linux
Liangxu Linux
Sep 14, 2025 · Fundamentals

Why C’s void* Pointer Is the Secret to Generic Programming

The article explains how C’s strong type system limits flexibility, how the void* pointer serves as a universal type enabling generic programming, with examples like qsort, malloc, memcpy, and pthread_create, while also discussing the trade‑offs such as loss of type safety and readability.

CType SafetyVoid
0 likes · 6 min read
Why C’s void* Pointer Is the Secret to Generic Programming
Deepin Linux
Deepin Linux
Sep 13, 2025 · Fundamentals

Why the volatile Keyword Matters in C/C++: The Hidden Hero of Concurrency and Hardware

This article explains the purpose, mechanics, and practical use cases of the C/C++ volatile qualifier, showing how it forces memory accesses, prevents harmful compiler optimizations, and ensures correct behavior in multithreaded, interrupt-driven, and hardware‑interfacing programs while also highlighting its limitations and performance impact.

CHardwareMemory Model
0 likes · 32 min read
Why the volatile Keyword Matters in C/C++: The Hidden Hero of Concurrency and Hardware
php Courses
php Courses
Sep 12, 2025 · Backend Development

Boost Your C++ Apps with RapidJSON and pugixml: A Practical Guide

This article explains why C++ developers should adopt third‑party libraries like RapidJSON for high‑performance JSON handling and pugixml for lightweight XML processing, covering integration steps, core APIs, and detailed code examples for parsing, generating, and traversing data structures.

CJSONLibrary
0 likes · 10 min read
Boost Your C++ Apps with RapidJSON and pugixml: A Practical Guide
Deepin Linux
Deepin Linux
Sep 11, 2025 · Fundamentals

Mastering C++ Smart Pointers: unique_ptr, shared_ptr, and weak_ptr Explained

This article introduces C++ smart pointers—unique_ptr, shared_ptr, and weak_ptr—explaining their RAII‑based automatic memory management, usage patterns, performance considerations, common pitfalls such as cyclic references, and practical examples including factory patterns and GUI data sharing, while also covering size and custom deleters.

CMemory Managementshared_ptr
0 likes · 24 min read
Mastering C++ Smart Pointers: unique_ptr, shared_ptr, and weak_ptr Explained
Deepin Linux
Deepin Linux
Sep 11, 2025 · Fundamentals

Mastering C++ Memory: When to Use new/delete vs malloc/free

This article explains the fundamental differences between C's malloc/free and C++'s new/delete, covering their underlying mechanisms, proper usage patterns, common pitfalls, error‑handling strategies, and best‑practice recommendations such as smart pointers and memory‑pool techniques.

CMemory Managementmalloc
0 likes · 29 min read
Mastering C++ Memory: When to Use new/delete vs malloc/free
Liangxu Linux
Liangxu Linux
Sep 10, 2025 · Fundamentals

Why Void Pointers Matter in C: Flexibility and Generic Programming

The article explains that the C language’s void* type serves as a universal pointer, detailing its strong versatility, role as a common interface for memory‑management functions, foundation for generic programming, support for object‑oriented patterns, and usage considerations such as required casting, inability to dereference directly, and type‑safety trade‑offs.

Cgeneric programmingtype casting
0 likes · 7 min read
Why Void Pointers Matter in C: Flexibility and Generic Programming
Deepin Linux
Deepin Linux
Sep 10, 2025 · Fundamentals

Unlocking C++ Polymorphism: How Virtual Tables Enable Runtime Flexibility

This article explains how C++ implements polymorphism through virtual functions and vtables, covering static and dynamic polymorphism, memory layout, multiple inheritance, practical code examples, design‑pattern applications, and the importance of virtual destructors for safe resource cleanup.

CDesign PatternsOOP
0 likes · 35 min read
Unlocking C++ Polymorphism: How Virtual Tables Enable Runtime Flexibility
IT Services Circle
IT Services Circle
Sep 10, 2025 · Fundamentals

How to Solve LeetCode 757: Minimum Set Intersection of Size Two with a Greedy Approach

The article first discusses common interview pitfalls before presenting a detailed greedy solution for LeetCode problem 757—finding the smallest set that intersects each interval in at least two points—complete with problem description, algorithmic reasoning, complexity analysis, and implementations in Java, C++, Python, and TypeScript.

CJavaLeetCode 757
0 likes · 11 min read
How to Solve LeetCode 757: Minimum Set Intersection of Size Two with a Greedy Approach
php Courses
php Courses
Sep 10, 2025 · Fundamentals

Mastering C++11 Concurrency: std::thread, std::async, and Best Practices

This guide explains why modern C++ programs need concurrency, introduces the core C++11 tools std::thread and std::async, demonstrates basic usage, parameterized threads, lambda expressions, async task handling, synchronization with mutexes, exception safety, parallel data processing, and provides best‑practice tips for efficient and safe multithreaded development.

CParallelismstd::async
0 likes · 10 min read
Mastering C++11 Concurrency: std::thread, std::async, and Best Practices
IT Services Circle
IT Services Circle
Sep 8, 2025 · Fundamentals

How to Count Subarrays with Sum K Using Prefix Sum and HashMap

This article first highlights Ctrip's employee benefits, then presents the LeetCode 560 subarray sum problem with detailed explanations and multi-language implementations using prefix sum and hash map, including Java, C++, Python, and TypeScript solutions, and discusses time and space complexities.

CJavaLeetCode
0 likes · 6 min read
How to Count Subarrays with Sum K Using Prefix Sum and HashMap
php Courses
php Courses
Sep 8, 2025 · Fundamentals

Mastering C++ Move Semantics: From Lvalues to Efficient Resource Transfer

This article explains C++11 move semantics, covering the distinction between lvalues and rvalues, the role of rvalue references, how std::move enables resource stealing, and how to implement move constructors and move assignment operators for high‑performance code.

CResource Managementmove semantics
0 likes · 11 min read
Mastering C++ Move Semantics: From Lvalues to Efficient Resource Transfer
Code Wrench
Code Wrench
Sep 6, 2025 · Backend Development

Mastering High-Performance Timers: Heap vs Timing Wheel in Go and C#

This article explains the core principles of timers, compares heap‑based and timing‑wheel algorithms, analyzes Go's built‑in timer implementation versus C#'s approach, and provides practical optimization techniques for high‑concurrency, high‑precision scenarios.

CGoHeap
0 likes · 10 min read
Mastering High-Performance Timers: Heap vs Timing Wheel in Go and C#
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.

CMemory Managementpointers
0 likes · 9 min read
13 Typical C Segmentation Fault Cases Every Programmer Should Know
php Courses
php Courses
Sep 5, 2025 · Fundamentals

Mastering C++ Lambdas: From Basics to Advanced Techniques

This article explains what C++ lambda expressions are, their syntax, capture mechanisms, mutable keyword, return type deduction, generic and template lambdas, and demonstrates practical uses with STL algorithms, event handling, and asynchronous programming, while offering best‑practice guidelines.

Anonymous FunctionsCC++11
0 likes · 12 min read
Mastering C++ Lambdas: From Basics to Advanced Techniques