Tagged articles

C++

877 articles · Page 1 of 9
Deepin Linux
Deepin Linux
Aug 20, 2026 · Fundamentals

Mastering C++ Allocators and PMR: Build Robust, High‑Performance Memory Management

The article explains why ordinary heap allocation can cause fragmentation and slowdown, introduces the C++ allocator interface and its allocate/deallocate functions, shows how to implement a custom stack‑based allocator, compares traditional allocators with C++17 polymorphic memory resources (PMR), and provides practical code examples, performance benchmarks, and best‑practice guidelines.

C++Memory ManagementPMR
0 likes · 30 min read
Mastering C++ Allocators and PMR: Build Robust, High‑Performance Memory Management
21CTO
21CTO
Aug 17, 2026 · Fundamentals

MSVC Build Tools Preview Updated for Visual Studio v14.52 (August 2026)

The August 2026 preview of MSVC Build Tools for Visual Studio v14.52 introduces extensive front‑end, module, optimizer, debugger, static analysis, and linker enhancements, along with dozens of bug fixes, and can be obtained via the Stable or Insiders channel.

Build ToolsC++Debugging
0 likes · 4 min read
MSVC Build Tools Preview Updated for Visual Studio v14.52 (August 2026)
Deepin Linux
Deepin Linux
Aug 15, 2026 · Fundamentals

Analyzing New Heap Allocation Overhead in Linux Virtual Address Space

This article explains Linux process virtual address spaces, details the multi‑step internals of the C++ new operator, and analyzes its memory‑fragmentation, time, and space overheads through code examples and benchmarks, then offers practical mitigation techniques such as memory pools and smart pointers.

C++Linuxmemory fragmentation
0 likes · 26 min read
Analyzing New Heap Allocation Overhead in Linux Virtual Address Space
samdeepthink
samdeepthink
Aug 14, 2026 · Fundamentals

Why Our C++ Inventory Service Restarted Every Night: Memory Management Lessons

The article recounts how a C++‑based real‑time inventory system on 30 machines was forced to reboot nightly to free memory, illustrating the pitfalls of manual memory management and arguing that languages offering safer resource handling improve developer productivity and reduce error‑prone code.

C++Java migrationMemory Management
0 likes · 3 min read
Why Our C++ Inventory Service Restarted Every Night: Memory Management Lessons
21CTO
21CTO
Aug 11, 2026 · Artificial Intelligence

antirez’s Pure‑C MiniMax‑H3 Engine Generates 512×512 Video in 3.5 s on M5 Max

The article details how antirez rebuilt a zero‑dependency, high‑throughput MiniMax‑H3 video/audio inference engine entirely in C for Apple Silicon, achieving 22‑frame 512×512 video rendering in about 3.5 seconds on an M5 Max, and explains the engineering tricks, benchmark results, adjustable quality settings, terminal UI, community feedback, and upcoming sparse‑attention support.

Apple SiliconC++INT8 quantization
0 likes · 7 min read
antirez’s Pure‑C MiniMax‑H3 Engine Generates 512×512 Video in 3.5 s on M5 Max
Deepin Linux
Deepin Linux
Aug 11, 2026 · Backend Development

Big Tech C++ Interview: Deep Dive into Linux Signal Mechanism

This article explains Linux signal fundamentals—including generation, registration, dispatch, masking, and handling—covers standard and real‑time signals, common pitfalls like non‑reentrancy and EINTR, and provides concrete C/C++ code examples for each scenario.

C++LinuxPOSIX
0 likes · 44 min read
Big Tech C++ Interview: Deep Dive into Linux Signal Mechanism
21CTO
21CTO
Aug 7, 2026 · Fundamentals

5 Bad C++ Practices: OOP, Design Patterns, and Heap Allocation

The article critiques five common C++ misconceptions—overusing OOP, treating books as a coding substitute, obsessing over advanced language features, indiscriminately applying templates, and needlessly allocating small objects on the heap—using concrete game‑dev examples and detailed reasoning.

C++Design PatternsGame Development
0 likes · 10 min read
5 Bad C++ Practices: OOP, Design Patterns, and Heap Allocation
IT Services Circle
IT Services Circle
Aug 4, 2026 · Fundamentals

Why Understanding Lock‑Free Queues Is Essential for High Concurrency

The article explains that locks are not the root cause of performance bottlenecks, examines how locked and lock‑free queues work, compares their trade‑offs with concrete benchmarks, and provides a decision guide to choose the right queue implementation for different concurrency and latency requirements.

C++CASbenchmark
0 likes · 23 min read
Why Understanding Lock‑Free Queues Is Essential for High Concurrency
Golang Shines
Golang Shines
Aug 1, 2026 · Backend Development

7 Reasons a 10‑Year Java Veteran Switched to Go

The author, a veteran Java and C# developer, outlines seven practical reasons—faster development, rapid builds, consistent code style, tiny Docker images, a rich standard library, lightweight goroutines, and a simple web server—that convinced him to abandon Java and C# for Go, boosting productivity.

Binary SizeC++Docker
0 likes · 10 min read
7 Reasons a 10‑Year Java Veteran Switched to Go
Deepin Linux
Deepin Linux
Jul 29, 2026 · Fundamentals

Why Stack Memory Allocation Is Faster Than Heap Allocation

The article explains that stack memory allocation is quicker than heap allocation because the stack uses a simple pointer move and LIFO order, while the heap must search for free blocks, manage fragmentation, and often requires explicit deallocation, leading to higher overhead and potential leaks.

C++heap memoryinterview
0 likes · 65 min read
Why Stack Memory Allocation Is Faster Than Heap Allocation
Deepin Linux
Deepin Linux
Jul 27, 2026 · Fundamentals

Master C++ Inc/Dec, Move, Copy, Reset, Destroy to Avoid Interview Pitfalls

This article systematically explains C++ reference‑count changes, the precise moments when ++/-- operators trigger in shared_ptr, move, copy, reset and destroy operations, and illustrates common mistakes with concrete code examples, helping developers and interviewees avoid subtle bugs and logic errors.

C++copy constructorincrement operator
0 likes · 20 min read
Master C++ Inc/Dec, Move, Copy, Reset, Destroy to Avoid Interview Pitfalls
ITPUB
ITPUB
Jul 20, 2026 · R&D Management

How One Engineer’s Pragmatism Built Four Blockbuster Languages Over 40 Years

The article examines Anders Hejlsberg’s four‑decade journey from Turbo Pascal to Go, showing how his focus on cutting developer wait time, embracing platform realities, and minimizing migration cost created lasting language successes rather than relying on pure technical elegance.

Anders HejlsbergC++Delphi
0 likes · 24 min read
How One Engineer’s Pragmatism Built Four Blockbuster Languages Over 40 Years
Deepin Linux
Deepin Linux
Jul 18, 2026 · Fundamentals

Mastering C++ Virtual Tables: Demystify Polymorphism and Avoid Pitfalls

This article explains how C++ implements polymorphism through virtual tables and vptrs, walks through single‑ and multiple‑inheritance examples, compares compile‑time and runtime polymorphism, and shows practical scenarios and guidelines for when to use or avoid polymorphic designs.

C++inheritancepolymorphism
0 likes · 26 min read
Mastering C++ Virtual Tables: Demystify Polymorphism and Avoid Pitfalls
Deepin Linux
Deepin Linux
Jul 16, 2026 · Fundamentals

Why STL Containers Crash in Linux Shared Memory: Underlying Causes Explained

The article analyzes why placing STL containers such as std::map, std::string, or std::vector directly in Linux shared memory leads to segmentation faults, detailing memory continuity, cross‑process pointer invalidation, and lifecycle issues, and then presents safe alternatives like fixed‑size arrays, manual memory management, and Boost.Interprocess.

C++IPCLinux
0 likes · 17 min read
Why STL Containers Crash in Linux Shared Memory: Underlying Causes Explained
IT Services Circle
IT Services Circle
Jul 15, 2026 · Fundamentals

Which 3–5 Programming Languages Should Multi‑Language Developers Master?

The author, drawing on experience with C, Python, Shell, and Go, explains why these four languages together cover most development scenarios—C for low‑level embedded work, Python for rapid scripting and data tasks, Shell for Linux automation, and Go for high‑performance cloud services—while noting each language’s trade‑offs.

C++GoLanguage Selection
0 likes · 7 min read
Which 3–5 Programming Languages Should Multi‑Language Developers Master?
Liangxu Linux
Liangxu Linux
Jul 13, 2026 · Fundamentals

Can C++ Thrive in Embedded Systems? Practical Guidelines and Pitfalls

The article examines whether C++ can be used in resource‑constrained embedded environments, explains that a lightweight "C with classes" approach works, warns against heavy features like STL and exceptions, and provides concrete examples and best‑practice recommendations for safe adoption.

C++Object-OrientedRTOS
0 likes · 7 min read
Can C++ Thrive in Embedded Systems? Practical Guidelines and Pitfalls
Deepin Linux
Deepin Linux
Jul 13, 2026 · Fundamentals

What Hidden Costs Does C++ new Add to Heap Allocation?

The article reveals that using C++ new or malloc is far from cost‑free, detailing how Linux virtual address space, system‑call overhead, memory‑header metadata, fragmentation, and page‑fault latency all contribute to hidden performance penalties, and it offers concrete techniques such as stack allocation, memory pools, restrained PImpl usage, and startup pre‑allocation to mitigate these costs.

C++Linuxheap
0 likes · 23 min read
What Hidden Costs Does C++ new Add to Heap Allocation?
Deepin Linux
Deepin Linux
Jul 11, 2026 · Backend Development

Kernel Perspective: Accelerating C++ File Transfer via System Call Optimizations

The article explains why conventional read/write loops cause excessive user‑kernel switches and data copies that inflate CPU usage and limit throughput for large or high‑frequency file transfers, and it presents zero‑copy and asynchronous I/O techniques with complete C++ examples to eliminate these bottlenecks.

Async I/OC++File I/O
0 likes · 20 min read
Kernel Perspective: Accelerating C++ File Transfer via System Call Optimizations
IT Services Circle
IT Services Circle
Jun 29, 2026 · Game Development

What Programming Languages Power Genshin Impact?

Genshin Impact combines Unity's C# scripting, C++ engine cores, Go or Java for servers, Python for tooling, and even hand‑written assembly for critical paths, illustrating how a modern AAA game relies on a multi‑language stack to balance performance and development speed.

C++C++Game Development
0 likes · 7 min read
What Programming Languages Power Genshin Impact?
Deepin Linux
Deepin Linux
Jun 26, 2026 · Fundamentals

Mastering C++ vtable internals: Demystifying polymorphism

This article explains how C++ implements polymorphism through virtual tables and virtual pointers, walks through their generation, memory layout, single‑ and multiple‑inheritance scenarios, distinguishes compile‑time and runtime polymorphism, and shows practical guidelines for when to use or avoid polymorphic designs.

C++compile-time polymorphisminheritance
0 likes · 28 min read
Mastering C++ vtable internals: Demystifying polymorphism
Deepin Linux
Deepin Linux
Jun 25, 2026 · Fundamentals

Understanding C/C++ Process Memory Layout: Code, Global, Stack, and Heap

This article explains how an operating system divides a C/C++ program's virtual address space into four distinct regions—code, global, stack, and heap—detailing their lifetimes, permissions, management rules, and common pitfalls such as memory leaks, dangling pointers, and stack overflow.

C++Memory Managementcode segment
0 likes · 13 min read
Understanding C/C++ Process Memory Layout: Code, Global, Stack, and Heap
Big Data Technology Tribe
Big Data Technology Tribe
Jun 24, 2026 · Backend Development

Detecting C++ Memory Errors with AddressSanitizer

AddressSanitizer (ASan) is a fast runtime memory error detector for C/C++ that uses compiler instrumentation and shadow memory to catch heap, stack, and global out‑of‑bounds accesses, use‑after‑free, double‑free and leaks, with detailed reports and configurable options for debugging and CI.

C++addresssanitizermemory debugging
0 likes · 10 min read
Detecting C++ Memory Errors with AddressSanitizer
Deepin Linux
Deepin Linux
Jun 24, 2026 · Fundamentals

Master Compile‑Time Polymorphism: Ditch Obscure SFINAE with C++20 Concepts

The article explains compile‑time polymorphism in C++, shows why traditional SFINAE is hard to read and debug, and demonstrates how C++20 Concepts provide clearer syntax, precise errors, and better multi‑condition support, backed by side‑by‑side code examples and a detailed feature comparison.

C++ConceptsMetaprogramming
0 likes · 12 min read
Master Compile‑Time Polymorphism: Ditch Obscure SFINAE with C++20 Concepts
Deepin Linux
Deepin Linux
Jun 23, 2026 · Fundamentals

How Type Traits Rescue a Broken C++ Object Pool and Enable Type‑Adaptive Pooling

The author recounts how a naïve generic C++ object pool caused data residue, construction failures, and incompatibility with primitive types, then demonstrates a refactored, thread‑safe pool that leverages compile‑time Type Traits, std::enable_if, and constexpr if to apply distinct creation, reset, and destruction logic for trivial, Clear‑able, and non‑trivial types, eliminating the earlier bugs.

C++Template MetaprogrammingThread Safety
0 likes · 11 min read
How Type Traits Rescue a Broken C++ Object Pool and Enable Type‑Adaptive Pooling
Deepin Linux
Deepin Linux
Jun 22, 2026 · Backend Development

Memory Pool vs Object Pool: When to Choose and How to Build One from Scratch

The article explains why high‑concurrency programs suffer from memory fragmentation and system‑call overhead, compares memory pools and object pools, outlines their distinct use‑cases, provides step‑by‑step C and C++ implementations, and highlights optimization tips and common pitfalls.

C++Memory poolThread Safety
0 likes · 20 min read
Memory Pool vs Object Pool: When to Choose and How to Build One from Scratch
Deepin Linux
Deepin Linux
Jun 21, 2026 · Backend Development

Why Off‑Heap Memory Can Leak on Linux—and How to Avoid It

The article explains how off‑heap memory and mmap enable zero‑copy I/O for high‑performance Linux services, but because the JVM does not manage it, careless allocation or missing releases can cause off‑heap memory leaks that lead to OOM, and it provides concrete detection and mitigation techniques.

C++JavaLinux
0 likes · 24 min read
Why Off‑Heap Memory Can Leak on Linux—and How to Avoid It
IT Services Circle
IT Services Circle
Jun 19, 2026 · Fundamentals

Understanding C++ Multiple Inheritance: What Goes Into the A and B Parts of a vtable

The article explains how clang can dump the exact vtable layout for a class with multiple inheritance, revealing that a single vtable is actually a virtual table group composed of a primary and secondary table, each containing its own offset_to_top, RTTI entries, function slots and thunks, and shows why new virtual functions appear only in the primary part while the secondary part holds adjusted thunks for overridden base functions.

C++Itanium ABIMultiple Inheritance
0 likes · 21 min read
Understanding C++ Multiple Inheritance: What Goes Into the A and B Parts of a vtable
Deepin Linux
Deepin Linux
Jun 15, 2026 · Backend Development

Understanding Linux PCI Drivers: A Complete Beginner’s Guide

This article walks readers through the fundamentals of Linux PCI/PCIe buses, explains the kernel PCI subsystem, details core data structures such as struct pci_dev, struct pci_driver, and struct pci_device_id, and provides step‑by‑step code examples for device enumeration, driver matching, resource allocation, and practical driver implementation.

C++DeviceLinux
0 likes · 25 min read
Understanding Linux PCI Drivers: A Complete Beginner’s Guide
21CTO
21CTO
Jun 13, 2026 · Industry Insights

Beyond Fuel: Inside SpaceX’s Four Core Software Battlefields

The article examines how SpaceX’s software teams—covering flight control, enterprise information systems, ground launch‑pad software, and avionics testing—use a diverse tech stack to ensure real‑time reliability, illustrating that rockets rely on both fuel and code to reach orbit.

C++Real-time ControlSpaceX
0 likes · 10 min read
Beyond Fuel: Inside SpaceX’s Four Core Software Battlefields
Deepin Linux
Deepin Linux
Jun 12, 2026 · Interview Experience

Avoid the Top 4 Static Keyword Traps in C/C++ Interviews and Secure Your Offer

The article explains the four most frequently tested static keyword pitfalls in C/C++ interviews—local variable initialization, thread‑unsafe functions, file‑level global scope, and class member sharing—detailing their underlying lifetime and scope rules, common misconceptions, and a concise answer template to prevent losing an offer.

C++ScopeThread Safety
0 likes · 11 min read
Avoid the Top 4 Static Keyword Traps in C/C++ Interviews and Secure Your Offer
Rust High-Frequency Quantitative Trading
Rust High-Frequency Quantitative Trading
Jun 9, 2026 · Interview Experience

How to Build a Low‑Latency C++ Trading System for a Million‑Dollar Quant Interview

This article explains what interviewers expect when they ask about implementing a low‑latency C++ trading system, covering hardware‑level concepts such as cache hierarchy, false sharing, NUMA, kernel bypass, CPU pinning, lock‑free programming, memory‑order semantics, and modern C++ techniques that together achieve microsecond‑ or nanosecond‑scale determinism.

C++Lock-FreeMemory Model
0 likes · 34 min read
How to Build a Low‑Latency C++ Trading System for a Million‑Dollar Quant Interview
IT Services Circle
IT Services Circle
Jun 7, 2026 · Fundamentals

Why Switching Linux Page Size to 2 MiB Can Skyrocket Performance

The article explains how the default 4 KiB pages cause frequent TLB misses, how using 2 MiB huge pages expands a single TLB entry’s coverage by 512×, reduces page‑walk depth and page‑table overhead, and provides C++ examples for both hugetlbfs and Transparent Huge Pages.

C++Huge PagesLinux
0 likes · 7 min read
Why Switching Linux Page Size to 2 MiB Can Skyrocket Performance
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 5, 2026 · Industry Insights

Can Rust Replace C in Embedded Firmware? An Industrial Study from ST and Academia

A ten‑week side‑by‑side study by ST, Inria and university researchers shows that Rust firmware for an STM32U585 microcontroller uses 45 % less RAM than an equivalent C implementation while matching performance, highlighting Rust's zero‑heap model, portability advantages and the remaining limitations for low‑end MCUs.

Ariel OSC++Embedded Firmware
0 likes · 12 min read
Can Rust Replace C in Embedded Firmware? An Industrial Study from ST and Academia
Geek Labs
Geek Labs
Jun 4, 2026 · Product Management

Vicinae: Open‑Source C++ Desktop Launcher with Millisecond Response and Raycast Plugin Compatibility

Vicinae is an open‑source, C++‑native desktop command panel for macOS and Windows that launches in under a millisecond, offers built‑in functions like app search, clipboard history, file indexing, and supports React/TypeScript Raycast plugins, script commands, and dmenu mode, positioning itself as a fast, extensible alternative to Alfred, Raycast and uTools.

C++ProductivityRaycast plugins
0 likes · 6 min read
Vicinae: Open‑Source C++ Desktop Launcher with Millisecond Response and Raycast Plugin Compatibility
AI Agent Super App
AI Agent Super App
May 29, 2026 · Databases

Why SQLite Is the World's Most Deployed Database—and How to Use It End‑to‑End

SQLite, the server‑less, single‑file database engine, is the most widely deployed database on the planet, powering Android, iOS, browsers and countless desktop apps; this article walks through its core features, Linux installation, command‑line CRUD, language bindings for Python, C, Java and Go, plus practical backup and performance tricks.

C++CLIDatabase
0 likes · 21 min read
Why SQLite Is the World's Most Deployed Database—and How to Use It End‑to‑End
Open Source Tech Hub
Open Source Tech Hub
May 23, 2026 · Backend Development

Achieving Single‑Thread Peak Performance: How TrueAsync Server Rewrites the PHP Server Landscape in C

TrueAsync Server is a high‑performance HTTP/1.1, HTTP/2 and HTTP/3 server written in C that embeds directly into the PHP process, runs entirely on a single thread, eliminates inter‑thread communication, supports multi‑protocol on one port, and offers a suite of low‑level optimizations and a clear API for developers.

C++HTTP/3PHP
0 likes · 17 min read
Achieving Single‑Thread Peak Performance: How TrueAsync Server Rewrites the PHP Server Landscape in C
Deepin Linux
Deepin Linux
May 22, 2026 · Fundamentals

What is nullptr and why should it replace NULL in modern C++?

The article explains that NULL is a macro equal to integer 0, which can cause type‑mixing errors in overload resolution and template deduction, while the C++11 keyword nullptr has its own std::nullptr_t type, providing strict pointer semantics, eliminating overload ambiguities, improving safety, readability, and integration with modern C++ features.

C++NULLfunction overload
0 likes · 24 min read
What is nullptr and why should it replace NULL in modern C++?
IT Services Circle
IT Services Circle
May 21, 2026 · Fundamentals

When `const auto& r = cond ? a : b;` Becomes a Dangling Reference – 3 C++ Lifetime‑Extension Pitfalls

The article explains that although C++ extends the lifetime of temporaries bound to a const reference, this rule has three critical edge cases—returning const references from functions, binding references in member initializer lists, and using the ternary operator—each of which can produce a dangling reference and cause obscure runtime crashes.

C++best practicescompiler warnings
0 likes · 13 min read
When `const auto& r = cond ? a : b;` Becomes a Dangling Reference – 3 C++ Lifetime‑Extension Pitfalls
TonyBai
TonyBai
May 20, 2026 · Artificial Intelligence

Why Go and Rust Outperform C++ in AI‑Generated Code: Insights from ProgramBench

A comprehensive analysis of the ProgramBench study reveals that top‑tier AI models like Claude excel at recreating Go and Rust projects, while GPT‑based models struggle, highlighting language‑specific engineering advantages and exposing AI coding habits that shape future software development.

AI codingC++Claude
0 likes · 14 min read
Why Go and Rust Outperform C++ in AI‑Generated Code: Insights from ProgramBench
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.

C++LearningLinux
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 testingC++Flutter
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.

C++ContractsP3471R4
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.

AIC++GPU
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.

C++Memory poolallocation
0 likes · 30 min read
Eliminate Memory Fragmentation: Understanding Memory Pools
IT Services Circle
IT Services Circle
May 7, 2026 · Fundamentals

Beyond Static Polymorphism: 3 Practical CRTP Uses – Object Counting, Interface Injection, and Cloning

The article explains CRTP’s core mechanism—each template instantiation creates an independent type—and demonstrates three real‑world patterns (object counting, interface injection, and a type‑safe clone) with complete C++ code, pitfalls, and performance comparisons to virtual‑function alternatives.

C++CRTPClone Pattern
0 likes · 11 min read
Beyond Static Polymorphism: 3 Practical CRTP Uses – Object Counting, Interface Injection, and Cloning
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.

C++CASMPMC
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.

C++EmacsVim
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.

C++GitHubPython
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.

C++CLionEmacs
0 likes · 5 min read
Which IDEs Do Linux C Developers Prefer? Insights from Major Companies
TonyBai
TonyBai
Apr 15, 2026 · Industry Insights

Modern C++: Productivity Revolution or Added Complexity? Community Deep Dive

A recent r/cpp discussion reveals three distinct C++ developer mindsets—legacy‑code loyalists, modern‑feature enthusiasts, and mixed‑approach pragmatists—debating whether C++20/23 innovations boost productivity or merely pile on complexity, and proposes incremental modernization as a balanced path forward.

C++C++20C++23
0 likes · 11 min read
Modern C++: Productivity Revolution or Added Complexity? Community Deep Dive
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.

C++LinuxSocket
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.

C++Linuxasynchronous I/O
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.

C++ElasticsearchIngest 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.

C++LinuxPCI
0 likes · 30 min read
Mastering Linux PCI Driver Development: From Theory to Real Code
IT Services Circle
IT Services Circle
Mar 8, 2026 · Fundamentals

Why C++17 Fold Expressions Turn Variadic Templates into One‑Liners

This article explains how C++17 fold expressions replace verbose recursive variadic template tricks with concise one‑line constructs, covering their four syntactic forms, practical examples such as summing, printing, compile‑time checks, and common pitfalls to avoid.

C++C++17Fold Expressions
0 likes · 14 min read
Why C++17 Fold Expressions Turn Variadic Templates into One‑Liners
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.

Algorithm EngineeringC++DSL
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.

C++Design 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.

C++DebuggingRemote Debugging
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.

C++memory-managementperformance
0 likes · 10 min read
Why Misusing std::shared_ptr Slows Your C++ Code and How to Fix It
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.

C++LinuxSystem Calls
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.

C++LLMPrompt 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.

C++GPIOHAL
0 likes · 16 min read
Master STM32 GPIO: All 8 Modes Explained with Code Samples
Programmer1970
Programmer1970
Jan 20, 2026 · Industry Insights

Top 10 Chinese IT Companies Powering the Securities Industry

The securities sector relies heavily on a handful of specialized fintech firms for core infrastructure such as trading systems, market terminals, quantitative platforms, and risk‑control engines, and this article profiles ten leading companies, detailing their founding dates, employee counts, core domains, and programmer‑focused considerations.

AIC++FinTech
0 likes · 9 min read
Top 10 Chinese IT Companies Powering the Securities Industry
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.

C++Debuggingbug
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.

C++Rendering EngineSkia
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.

C++LinuxUser Stack
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.

C++CompilationJava
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.

C++LinuxPOSIX
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.

C++callbackscommand 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.

C++Embedded 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.

C++FreeRTOSMuditaOS
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.

C++Default ConstructorShallow Copy
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.

C++C++20GCC
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.

C++C++Struct
0 likes · 11 min read
Understanding Struct Alignment and Over‑Aligned Types in C/C++