Tagged articles

C++

877 articles · Page 6 of 9
AI Cyberspace
AI Cyberspace
Mar 7, 2023 · Fundamentals

Unlocking the Secrets of C Compilation: From Source to Executable

This article explains the fundamental concepts behind C language compilation, covering lexical, syntax, and semantic analysis, GCC options, file types, static and dynamic linking, ELF structure, and the loader process that turns source code into a runnable program.

C++CompilationDynamic Linking
0 likes · 23 min read
Unlocking the Secrets of C Compilation: From Source to Executable
AI Cyberspace
AI Cyberspace
Mar 6, 2023 · Fundamentals

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

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

C++MacrosPreprocessor
0 likes · 17 min read
Master C Functions and Macros: From Basics to Advanced Preprocessor Tricks
AI Cyberspace
AI Cyberspace
Mar 5, 2023 · Fundamentals

Master C Operators and Control Flow: A Complete Guide

This article explains C language operators—including arithmetic, assignment, increment/decrement, comparison, logical, bitwise, comma, and ternary operators—covers operator precedence and associativity, and provides detailed examples of conditional and loop statements such as if/else, switch, for, while, and do/while constructs.

C++Control Flowfundamentals
0 likes · 17 min read
Master C Operators and Control Flow: A Complete Guide
AI Cyberspace
AI Cyberspace
Mar 4, 2023 · Fundamentals

Master C Variables, Constants, and Scope: From #define to static

This article explains C variables and constants, their three components, key differences, how to define symbolic constants with #define, use the const keyword, understand various scopes, the static storage class, and the distinction between declarations and definitions, all illustrated with code examples.

C++Scopeconst
0 likes · 12 min read
Master C Variables, Constants, and Scope: From #define to static
AI Cyberspace
AI Cyberspace
Mar 3, 2023 · Fundamentals

Master C Enums and Unions: Practical Guide with Code Examples

This article explains C enumeration and union types, covering their definitions, common use cases, declaration syntax, variable creation, usage in switch statements and loops, and demonstrates how to access and correctly use union members with clear code examples.

C++EnumUNION
0 likes · 8 min read
Master C Enums and Unions: Practical Guide with Code Examples
AI Cyberspace
AI Cyberspace
Mar 2, 2023 · Fundamentals

Mastering C Structures: From Declaration to Bit Fields

This article provides a comprehensive guide to C structures, covering declaration, variable definition, typedef aliases, initialization methods, pointer usage, member access, memory layout, nested structs, and bit fields, complete with code examples and visual illustrations to help readers understand and apply these concepts effectively.

C++Structbit field
0 likes · 12 min read
Mastering C Structures: From Declaration to Bit Fields
AI Cyberspace
AI Cyberspace
Mar 1, 2023 · Fundamentals

Master C Arrays, Pointers, and Strings: From Basics to Advanced Tricks

This comprehensive guide explains C arrays, their ordered and indexable nature, how to define, initialize, and access both one‑dimensional and multidimensional arrays, explores pointer arrays and array pointers, demonstrates passing arrays to functions, returning array pointers, and covers essential string handling functions such as strcpy, strlen, strcmp, and strncmp.

ArraysC++programming
0 likes · 21 min read
Master C Arrays, Pointers, and Strings: From Basics to Advanced Tricks
AI Cyberspace
AI Cyberspace
Feb 28, 2023 · Fundamentals

Mastering C Pointers: From Value Semantics to Advanced Pointer Types

This article explains C's value semantics versus reference semantics, introduces pointers as the bridge between them, details pointer definitions, types, operators, and common pitfalls such as null, dangling, and wild pointers, and demonstrates pointer arithmetic with clear code examples.

C++Memory ManagementProgramming Fundamentals
0 likes · 12 min read
Mastering C Pointers: From Value Semantics to Advanced Pointer Types
AI Cyberspace
AI Cyberspace
Feb 27, 2023 · Fundamentals

Master C Data Types: From Basics to Platform‑Specific Details

This article provides a comprehensive overview of C language data types, covering basic, derived, pointer, void, and derived types, their memory sizes, value ranges, signedness, platform‑dependent variations, and related keywords such as sizeof, size_t, and fixed‑width uintX_t types.

C++Data TypesMemory Management
0 likes · 11 min read
Master C Data Types: From Basics to Platform‑Specific Details
Liangxu Linux
Liangxu Linux
Feb 9, 2023 · Fundamentals

How Linux’s Virtual File System Turns Everything Into a File

The article explains Linux’s Virtual File System (VFS) as an interface layer that treats all objects as files, illustrates the concept with Java‑style interface examples, then details the underlying C structures—file, file_operations, dentry, inode—and shows how the kernel links them to enable diverse file systems.

C++DentryLinux
0 likes · 10 min read
How Linux’s Virtual File System Turns Everything Into a File
21CTO
21CTO
Feb 7, 2023 · Information Security

Why Bjarne Stroustrup Says the NSA’s Call to Ditch C/C++ Misses the Mark

At the end of 2022 the NSA warned that C and C++ are unsafe and urged a shift to languages like Rust or Go, but Bjarne Stroustrup counters that modern C++ offers robust static analysis, type and resource safety, and that the agency’s view overlooks these advances.

C++Programming LanguagesStatic Analysis
0 likes · 6 min read
Why Bjarne Stroustrup Says the NSA’s Call to Ditch C/C++ Misses the Mark
Xianyu Technology
Xianyu Technology
Feb 2, 2023 · Mobile Development

Integrating Flutter Applications on Windows with Modular C++ Architecture and vcpkg Dependency Management

The article explains how to integrate Flutter‑based Windows applications by encapsulating native functionality in a modular C++ XModule framework—using macro‑generated providers, a global ModuleCenter, and CMake‑configured libraries—while managing all third‑party dependencies with vcpkg and private registries to ensure clean architecture and maintainable cross‑platform code.

C++FlutterModular Architecture
0 likes · 15 min read
Integrating Flutter Applications on Windows with Modular C++ Architecture and vcpkg Dependency Management
Alibaba Terminal Technology
Alibaba Terminal Technology
Feb 1, 2023 · Backend Development

How GaiaX’s Cross‑Platform Expression Engine Achieves Fast, Stable UI Rendering

This article explains GaiaX’s cross‑platform expression engine, covering its design, LR(1) grammar‑based parsing, syntax‑tree construction, C++ core implementation, Android JNI and iOS bridge integration, unified data types, performance benchmarks, and how it ensures consistent, high‑performance UI rendering on mobile devices.

AndroidC++Expression Engine
0 likes · 16 min read
How GaiaX’s Cross‑Platform Expression Engine Achieves Fast, Stable UI Rendering
JavaEdge
JavaEdge
Jan 22, 2023 · Fundamentals

Designing a High‑Performance Sorting Function: Algorithms and Optimizations

This article examines how high‑performance sorting functions such as C's qsort() and Java's Collections.sort() are implemented, compares suitable algorithms, analyzes merge sort versus quicksort, and presents practical optimizations like median‑of‑three pivots, random pivots, recursion depth limits, and hybrid insertion sort.

AlgorithmC++Performance
0 likes · 7 min read
Designing a High‑Performance Sorting Function: Algorithms and Optimizations
MaGe Linux Operations
MaGe Linux Operations
Jan 17, 2023 · Backend Development

Why Nuitka Beats PyInstaller: Tiny 7 MB EXEs vs 3 GB Bloat

This article compares PyInstaller and Nuitka for converting Python projects into executables, highlighting Nuitka's dramatically smaller output size, faster build and startup times, and provides step‑by‑step installation and command‑line usage instructions.

C++NuitkaPerformance
0 likes · 6 min read
Why Nuitka Beats PyInstaller: Tiny 7 MB EXEs vs 3 GB Bloat
21CTO
21CTO
Jan 10, 2023 · Fundamentals

Why C++ Was Crowned TIOBE’s 2022 Language of the Year – Trends and Insights

The TIOBE Index named C++ the 2022 Language of the Year, highlighting its market‑share surge, the rise of Rust and other languages, and expert opinions on why C++ remains a high‑performance choice despite growing competition from newer languages.

C++Language PopularityProgramming Languages
0 likes · 6 min read
Why C++ Was Crowned TIOBE’s 2022 Language of the Year – Trends and Insights
MaGe Linux Operations
MaGe Linux Operations
Dec 18, 2022 · Fundamentals

Mastering Unix Signals: From Basics to Custom Handlers

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

C++LinuxSystem Programming
0 likes · 16 min read
Mastering Unix Signals: From Basics to Custom Handlers
Baidu Geek Talk
Baidu Geek Talk
Dec 16, 2022 · Fundamentals

Exploring ptmalloc: Memory Management in Linux C++ Programs

The article explains how glibc’s default ptmalloc allocator structures memory into main and non‑main arenas, uses chunk‑based bins (fast, unsorted, small, large) for allocation and deallocation, details its locking and OS‑interaction mechanisms, and evaluates its design trade‑offs versus modern allocators.

C++LinuxMemory Management
0 likes · 12 min read
Exploring ptmalloc: Memory Management in Linux C++ Programs
Programmer DD
Programmer DD
Dec 12, 2022 · Game Development

How to Build the Open‑Source Ryujinx Switch Emulator with .NET 7

This guide introduces Ryujinx, an open‑source Nintendo Switch emulator written in C#, outlines its development history and compatibility stats, and provides three clear steps—installing .NET 7 SDK, cloning the repo, and building the project—to get the emulator up and running.

.NETBuild guideC++
0 likes · 3 min read
How to Build the Open‑Source Ryujinx Switch Emulator with .NET 7
DaTaobao Tech
DaTaobao Tech
Dec 9, 2022 · Fundamentals

Frida-gum Based Non-intrusive C++ Mock Framework

This open‑source C++ mock framework leverages Frida‑gum to replace any function—including static, member, virtual, and library calls—at runtime without source changes, offering simple MOCK and MOCK_RETURN macros, call‑count expectations, automatic scope‑based rollback, and cross‑platform support for reliable, non‑intrusive unit testing.

C++FridaMocking
0 likes · 11 min read
Frida-gum Based Non-intrusive C++ Mock Framework
NiuNiu MaTe
NiuNiu MaTe
Dec 8, 2022 · Backend Development

C++ vs Go: Which Language Boosts Your Job Prospects?

The article argues that for most developers, especially those from ordinary schools, learning C++ is costly and inefficient, while Go can be mastered quickly and aligns better with current hiring demands that prioritize practical backend skills and project experience.

C++GoProgramming Languages
0 likes · 5 min read
C++ vs Go: Which Language Boosts Your Job Prospects?
Liangxu Linux
Liangxu Linux
Nov 29, 2022 · Fundamentals

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

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

ArraysC++Memory Management
0 likes · 12 min read
Master C Pointers: From Basics to Multi‑Level and Array Techniques
IT Services Circle
IT Services Circle
Nov 29, 2022 · Fundamentals

Using GDB Watchpoints to Detect Memory Modifications in C/C++ Programs

This article explains how to use GDB watchpoints to monitor specific memory locations in C/C++ programs, demonstrates setting hardware watchpoints, shows example code with a thread modifying a variable, and details the underlying CPU debug registers that enable real‑time detection of memory reads and writes.

C++Memoryhardware-watchpoint
0 likes · 9 min read
Using GDB Watchpoints to Detect Memory Modifications in C/C++ Programs
MaGe Linux Operations
MaGe Linux Operations
Nov 19, 2022 · Fundamentals

Mastering Unix Signals: Types, Handling, and Practical Code Examples

This article explains what Unix signals are, categorizes reliable and unreliable signals, describes how they are generated by hardware and software, and provides detailed examples of registration, blocking, pending states, and custom handling using C functions such as kill, sigprocmask, sigaction, and signal.

C++LinuxSignal Handling
0 likes · 18 min read
Mastering Unix Signals: Types, Handling, and Practical Code Examples
21CTO
21CTO
Nov 13, 2022 · Fundamentals

How Horizon Quantum Computing Plans to Democratize Quantum Software Development

The article profiles Joe Fitzsimons, founder and CEO of Horizon Quantum Computing, detailing his vision to bridge traditional software development with quantum computing by creating an IDE that lets C and C++ programmers build quantum applications, and compares Horizon's approach with competitors while outlining future industry use cases.

C++HorizonIDE
0 likes · 9 min read
How Horizon Quantum Computing Plans to Democratize Quantum Software Development
21CTO
21CTO
Nov 4, 2022 · Fundamentals

Can Google’s Carbon Become the Next Evolution After C++?

The article examines Google’s Carbon language as a modern successor to C++, discussing its goals, design principles, interoperability with existing C++ code, and how it compares to other successor languages like Rust, Kotlin, and TypeScript.

C++CarbonProgramming Language
0 likes · 8 min read
Can Google’s Carbon Become the Next Evolution After C++?
phodal
phodal
Oct 31, 2022 · Frontend Development

How Perspective Delivers Real‑Time Financial Visualizations with WASM and Apache Arrow

The article examines the open‑source Perspective library—originating from J.P. Morgan’s FinOS—and its multi‑language architecture that combines C++/WASM, Rust, JavaScript, and Python to deliver high‑performance, framework‑free data visualizations for real‑time financial analytics, highlighting its use of Apache Arrow, Web Components, and Jupyter integration.

Apache ArrowC++Python
0 likes · 8 min read
How Perspective Delivers Real‑Time Financial Visualizations with WASM and Apache Arrow
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 31, 2022 · Databases

Resolving MySQL 8.0.21 Client Segmentation Fault Caused by Missing ncurses and Implicit Function Declarations

This article details the investigation and resolution of a MySQL 8.0.21 client segmentation fault on CentOS 8.4, covering missing ncurses libraries, implicit function declaration warnings, pointer truncation on 64‑bit systems, core‑file generation, gdb analysis, and the steps required to rebuild the client without crashes.

C++ClientDebugging
0 likes · 13 min read
Resolving MySQL 8.0.21 Client Segmentation Fault Caused by Missing ncurses and Implicit Function Declarations
Liangxu Linux
Liangxu Linux
Oct 24, 2022 · Fundamentals

How to Build a Real‑Time Console Progress Bar and Countdown in C

This tutorial explains the difference between newline and carriage‑return, the three buffering modes of stdio, and shows step‑by‑step C code that uses fflush, format specifiers, and a custom loop to create a live console progress bar and countdown timer.

BufferingC++Countdown
0 likes · 7 min read
How to Build a Real‑Time Console Progress Bar and Countdown in C
Sohu Tech Products
Sohu Tech Products
Oct 19, 2022 · Information Security

Secure Software Development: SDL, Tool Configurations, and Safe Coding Practices

This article outlines essential practices for secure software development, covering Microsoft's Security Development Lifecycle, Visual Studio security features, and comprehensive secure coding guidelines—including safe APIs, SafeInt library usage, trust boundaries, type casting, and file operation safeguards—to reduce vulnerabilities such as buffer overflows and memory errors.

C++SDLSecure Coding
0 likes · 10 min read
Secure Software Development: SDL, Tool Configurations, and Safe Coding Practices
IT Services Circle
IT Services Circle
Sep 24, 2022 · Fundamentals

Understanding Function Pointers, Closures, and std::function in C/C++

This article explains how C/C++ function pointers work, demonstrates their compiled address, shows why they lack context, introduces a closure struct to bundle code with data, and relates this pattern to C++'s std::function for storing callables with captured environment.

C++Function Pointercallback
0 likes · 6 min read
Understanding Function Pointers, Closures, and std::function in C/C++
Code Ape Tech Column
Code Ape Tech Column
Sep 9, 2022 · Backend Development

Understanding Netty’s Asynchronous Model, Epoll, and IO Multiplexing – From Theory to a Hand‑Written Server

This article explains Netty’s reactor‑based asynchronous architecture, compares classic multithread, select, poll and epoll models, demonstrates JNI integration with C code, and provides a complete hand‑written epoll server example to illustrate high‑performance backend networking in Java.

C++IO MultiplexingJNI
0 likes · 34 min read
Understanding Netty’s Asynchronous Model, Epoll, and IO Multiplexing – From Theory to a Hand‑Written Server
21CTO
21CTO
Sep 1, 2022 · Frontend Development

Boost Your Coding Efficiency with Visual Studio’s Rainbow Braces Extension

The new Rainbow Braces extension for Visual Studio highlights matching brackets in customizable colors, helping developers quickly identify code blocks, reduce syntax errors, and improve navigation across languages like C#, JavaScript, and TypeScript.

C++Code navigationIDE extension
0 likes · 5 min read
Boost Your Coding Efficiency with Visual Studio’s Rainbow Braces Extension
IT Architects Alliance
IT Architects Alliance
Aug 30, 2022 · Backend Development

Understanding Netty’s Asynchronous Model, Linux epoll, and JNI: Theory, Code Walkthrough, and Hand‑written Server Implementation

This article explains Netty’s high‑performance asynchronous architecture, the evolution of I/O multiplexing models from select to poll and epoll, demonstrates Java‑C integration via JNI with detailed code examples, and provides a complete hand‑written epoll server in C for achieving million‑connection concurrency.

C++IO MultiplexingJNI
0 likes · 32 min read
Understanding Netty’s Asynchronous Model, Linux epoll, and JNI: Theory, Code Walkthrough, and Hand‑written Server Implementation
21CTO
21CTO
Aug 24, 2022 · Fundamentals

C# 11 Highlights: Generic Math, Required Members, and Raw String Literals

Following the recent .NET Conf, this article outlines the key C# 11 enhancements—including generic math support, required class members, and raw string literals—explaining their purpose, usage, and the upcoming .NET 7 release schedule, while also noting community reactions and future .NET 8 LTS plans.

.NETC# 11C++
0 likes · 6 min read
C# 11 Highlights: Generic Math, Required Members, and Raw String Literals
OPPO Amber Lab
OPPO Amber Lab
Aug 23, 2022 · Information Security

Master CodeQL: From Setup to Advanced Vulnerability Queries

This guide introduces CodeQL, explains how to install the required tools, shows how to generate a source‑code database, and walks through basic and advanced rule syntax with practical C/C++ examples, enabling security researchers to efficiently discover vulnerabilities in large codebases.

C++CodeQLCodeQL Queries
0 likes · 13 min read
Master CodeQL: From Setup to Advanced Vulnerability Queries
vivo Internet Technology
vivo Internet Technology
Aug 17, 2022 · Backend Development

Can JNI Supercharge Your Java Services? A Hands‑On Performance Journey

Facing heavy GC overhead and slow model inference in a Java compute service, the authors explore using Java Native Interface to offload file loading and regression calculations to C++, detailing environment setup, Maven integration, native method implementation, common pitfalls, performance testing with JMH, and achieving up to 80% latency reduction.

C++JNIJava
0 likes · 20 min read
Can JNI Supercharge Your Java Services? A Hands‑On Performance Journey
Python Programming Learning Circle
Python Programming Learning Circle
Aug 15, 2022 · Fundamentals

Why Modern Programming Languages Have Dropped ++/-- Operators: A Design‑Philosophy Perspective

This article examines the historical origin of the ++ and -- operators, explains why they were introduced, demonstrates that modern compilers no longer gain performance from them, and argues that functional‑style design, iterator‑based loops, and operator‑overloading concerns have led many contemporary languages to remove or deprecate these operators.

C++Functional ProgrammingIterators
0 likes · 25 min read
Why Modern Programming Languages Have Dropped ++/-- Operators: A Design‑Philosophy Perspective
DaTaobao Tech
DaTaobao Tech
Aug 4, 2022 · Fundamentals

Practical C++ Unit Testing Practices and Lessons Learned

The article details a large‑scale C++ team's unit‑testing workflow, explaining why tests matter, how they set up cross‑platform macOS/Linux environments, adopt Google gtest/gmock with a custom Frida‑based mock, enforce coverage via gcov/lcov, compute incremental coverage, integrate Valgrind, follow deterministic test design principles, avoid common pitfalls, and embed the stable pipeline into CI gates and notifications.

C++code coveragecontinuous integration
0 likes · 12 min read
Practical C++ Unit Testing Practices and Lessons Learned
DaTaobao Tech
DaTaobao Tech
Aug 2, 2022 · Frontend Development

Componentization in the QianNiu PC Cross‑Platform Framework

The QianNiu PC cross‑platform framework adopts a COM‑style component architecture—defining interfaces, implementations, and MVP‑based UI modules, with automated code generation and lifecycle management—to achieve consistent Windows/macOS features, improve extensibility and reusability, lower development cost, and boost maintainability and efficiency.

C++ComponentizationUI
0 likes · 17 min read
Componentization in the QianNiu PC Cross‑Platform Framework
DaTaobao Tech
DaTaobao Tech
Jul 25, 2022 · Backend Development

Cross‑Platform C++ Message SDK Architecture and Development Practices

Over three years the team built a lightweight, C++‑based cross‑platform messaging SDK for a large e‑commerce group, choosing C++ for performance, creating a custom 43‑KB/116‑KB foundation library, organizing five modular layers, employing a pure‑asynchronous thread model, and automating development with the Eyas scaffolding, language‑binding generation and unified GN builds to simplify multi‑OS deployment and reduce engineering effort.

C++DevelopmentMessage
0 likes · 15 min read
Cross‑Platform C++ Message SDK Architecture and Development Practices
HomeTech
HomeTech
Jul 5, 2022 · Backend Development

Introduction to CodeSmith: Template‑Based Code Generation and Practical Usage Guide

This article introduces CodeSmith, a template‑driven code generation tool, explains why code generators improve efficiency and consistency, demonstrates how to write and reuse templates—including Java bean generation and data‑type conversion—and shares practical tips for automating model, SQL, and UI code creation.

C++CodeSmithJava
0 likes · 8 min read
Introduction to CodeSmith: Template‑Based Code Generation and Practical Usage Guide
21CTO
21CTO
Jun 30, 2022 · Backend Development

Top Backend Frameworks in 2024: Features, Pros, and Use Cases

This article compiles a curated list of popular backend development frameworks across various programming languages, detailing each framework’s key features, advantages, and typical use cases to help developers choose the right tool for modern web applications.

C++FrameworksJavaScript
0 likes · 8 min read
Top Backend Frameworks in 2024: Features, Pros, and Use Cases
21CTO
21CTO
Jun 17, 2022 · Backend Development

Microsoft's Closed‑Source C# Extension for VS Code: Impact on .NET Developers

Microsoft announced a proprietary C# extension for Visual Studio Code to replace the open‑source OmniSharp, sparking criticism from developers like Miguel de Icaza, while promising tighter integration with Visual Studio features, raising concerns about .NET openness and the future of VS Code's C# tooling.

.NETC++Microsoft
0 likes · 6 min read
Microsoft's Closed‑Source C# Extension for VS Code: Impact on .NET Developers
Liangxu Linux
Liangxu Linux
Jun 10, 2022 · Operations

How Linux epoll Boosts I/O Performance: Inside the Kernel’s Eventpoll Mechanism

This article explains why traditional select and poll struggle with many file descriptors, how epoll redesigns the workflow by registering descriptors once via epoll_ctl, the kernel data structures (eventpoll, epitem) that manage events, and walks through the core functions epoll_create, epoll_ctl, epoll_wait, and their callbacks.

C++I/O multiplexingepoll
0 likes · 22 min read
How Linux epoll Boosts I/O Performance: Inside the Kernel’s Eventpoll Mechanism
Laravel Tech Community
Laravel Tech Community
Jun 8, 2022 · Fundamentals

Comprehensive Programming and IT Knowledge Quiz with Multiple‑Choice and Coding Questions

This timed programmer quiz combines single‑choice, short‑answer, and coding problems that test a broad spectrum of IT topics—from programming history and algorithms to Linux commands, networking layers, Helm chart concepts, and practical Python and C coding tasks—providing a holistic assessment of technical fundamentals.

AlgorithmC++Python
0 likes · 9 min read
Comprehensive Programming and IT Knowledge Quiz with Multiple‑Choice and Coding Questions
Open Source Linux
Open Source Linux
Jun 6, 2022 · Fundamentals

Unlock 50,000 Words of C/C++ Mastery: Key Concepts, Code & Tips

This comprehensive C/C++ knowledge base covers everything from basic syntax, const, static, and this pointers to advanced topics like inline functions, virtual methods, smart pointers, STL containers, data structures, algorithms, operating system concepts, networking layers, and common interview problems, complete with code examples and diagrams.

AlgorithmsC++Data Structures
0 likes · 66 min read
Unlock 50,000 Words of C/C++ Mastery: Key Concepts, Code & Tips
php Courses
php Courses
May 27, 2022 · Backend Development

Understanding the PHP zval Structure in the Source Code

This article examines how PHP stores variables internally by analyzing the zval structure defined in the C source code, detailing its fields, type flags, memory layout, and associated macros, and explains why each variable occupies 16 bytes at runtime.

C++backendinternals
0 likes · 8 min read
Understanding the PHP zval Structure in the Source Code
Java Architect Essentials
Java Architect Essentials
May 21, 2022 · Fundamentals

How to Compute an Unsigned Integer Average Without Overflow

This article explores why the naïve (a + b) / 2 formula overflows for 32‑bit unsigned integers and presents several safe techniques—including subtraction‑first, bitwise‑based, wide‑type casting, and carry‑rotate instructions—complete with C++ code and assembly examples.

AssemblyC++average
0 likes · 11 min read
How to Compute an Unsigned Integer Average Without Overflow
DeWu Technology
DeWu Technology
May 13, 2022 · Game Development

Design and Implementation of a PBR Material Editing Tool for the Filament Engine

The article presents a Filament‑based PBR material editor that unifies PC and mobile workflows by providing real‑time ImGui previews, JSON‑driven persistence, model optimization, texture compression, and export/import of mobile‑ready material packages, thereby lowering authoring barriers, accelerating iteration, and ensuring visual consistency across platforms.

C++FilamentGraphics
0 likes · 19 min read
Design and Implementation of a PBR Material Editing Tool for the Filament Engine
Tencent Cloud Developer
Tencent Cloud Developer
Mar 29, 2022 · Fundamentals

Deep Dive into the Linux epoll Mechanism and Its Kernel Implementation

The article dissects Linux’s epoll I/O multiplexing, tracing the flow from socket creation with accept through epoll_create, epoll_ctl registration, and epoll_wait sleeping, detailing the kernel’s eventpoll object, red‑black tree, per‑socket wait‑queue callbacks that enable O(log N) registration and O(1) event delivery for tens of thousands of connections.

C++IO MultiplexingLinux
0 likes · 24 min read
Deep Dive into the Linux epoll Mechanism and Its Kernel Implementation
360 Quality & Efficiency
360 Quality & Efficiency
Mar 25, 2022 · Information Security

Collection of Prominent C/C++ Security and Coding Standards

This article compiles a curated list of major C and C++ security and coding guidelines—including 360 Safe Rules, Tencent Security Guide, Huawei Secure Coding Specification, Google C++ Style Guide, C++ Core Guidelines, SEI CERT, MISRA, and High Integrity C++—providing brief descriptions and direct repository links for each.

C++Style Guidecoding standards
0 likes · 5 min read
Collection of Prominent C/C++ Security and Coding Standards
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 23, 2022 · Backend Development

Essential C++ Cross‑Platform Pitfalls and How to Avoid Them

This guide shares practical C++ cross‑platform development tips, covering version selection, include guards, path handling, character encoding, inline functions, type definitions, template usage, compiler differences, and build‑time strategies to keep code portable and maintainable across Windows, macOS, and Linux.

C++best practicescoding guidelines
0 likes · 18 min read
Essential C++ Cross‑Platform Pitfalls and How to Avoid Them
IT Services Circle
IT Services Circle
Mar 20, 2022 · Fundamentals

Understanding Enum Size and Compiler Options in C (gcc)

This article examines how the memory size of C enum types varies with declared value ranges and compiler options such as -fshort-enums, showing default and shortened sizes across different compilers and illustrating the impact of adding larger constant values.

C++EnumGCC
0 likes · 4 min read
Understanding Enum Size and Compiler Options in C (gcc)
Open Source Linux
Open Source Linux
Mar 18, 2022 · Fundamentals

How to Build a Real-Time Console Progress Bar in C

This article explains how to implement a console progress bar and countdown timer in C by covering carriage returns, newline handling, output buffering strategies, and the use of fflush to force immediate screen updates, complete with sample code and visual demonstrations.

BufferingC++Countdown
0 likes · 5 min read
How to Build a Real-Time Console Progress Bar in C
政采云技术
政采云技术
Mar 17, 2022 · Databases

InnoDB Lock System: Types, Modes, Structures, and Compatibility

This article explains InnoDB's lock system in MySQL, covering lock granularity, intent, shared, exclusive and auto‑increment locks, row‑lock types, the underlying C++ structures, lock mode and type encoding, and the compatibility and strength matrices that govern lock acquisition and waiting.

C++DatabaseInnoDB
0 likes · 13 min read
InnoDB Lock System: Types, Modes, Structures, and Compatibility
Tencent Cloud Developer
Tencent Cloud Developer
Mar 10, 2022 · Fundamentals

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

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

ARMAssemblyC++
0 likes · 15 min read
How to Build a Stackful C++ Coroutine from Scratch: Deep Dive into Context Switching
Liangxu Linux
Liangxu Linux
Mar 9, 2022 · Fundamentals

How to Build a Real‑Time Console Progress Bar in C

This guide explains the differences between carriage return and newline, explores C output buffering strategies, and provides step‑by‑step C code to create a countdown and a dynamic progress bar that updates smoothly in the terminal.

BufferingC++console
0 likes · 6 min read
How to Build a Real‑Time Console Progress Bar in C
MaGe Linux Operations
MaGe Linux Operations
Mar 6, 2022 · Fundamentals

How to Build a Real-Time Console Progress Bar in C

This tutorial explains how to create a console progress bar in C by covering newline versus carriage return handling, output buffering strategies, using fflush to force screen updates, and adapting the code for multi‑digit countdowns.

C++CountdownOutput Buffering
0 likes · 6 min read
How to Build a Real-Time Console Progress Bar in C
Liangxu Linux
Liangxu Linux
Mar 2, 2022 · Backend Development

Unlocking Linux SO_REUSEPORT: How Multiple Processes Can Share the Same Port

Linux kernels 3.9+ introduce the SO_REUSEPORT option, allowing multiple processes to bind and listen on the same port, with the kernel handling load‑balancing and security checks; this article explains the problem it solves, the underlying implementation, and provides practical C examples and verification steps.

C++SO_REUSEPORTload balancing
0 likes · 16 min read
Unlocking Linux SO_REUSEPORT: How Multiple Processes Can Share the Same Port
Cloud Native Technology Community
Cloud Native Technology Community
Mar 2, 2022 · Backend Development

Envoy Outbound Request Flow: Listener Startup, ReusePort Configuration, and Connection Establishment

This article provides an in‑depth analysis of Envoy's outbound request processing, covering listener initialization, the use of SO_REUSEPORT for load distribution, original destination handling, and the detailed steps of connection creation and filter chaining within the Envoy proxy architecture.

C++EnvoyService Mesh
0 likes · 12 min read
Envoy Outbound Request Flow: Listener Startup, ReusePort Configuration, and Connection Establishment
IT Architects Alliance
IT Architects Alliance
Feb 27, 2022 · Backend Development

Inside Redis: How Its Single‑Threaded Event Loop Works

This article walks through Redis’s annotated source code to explain how its single‑threaded architecture initializes the server, loads configuration and data, and continuously processes file and time events within a while‑loop, revealing why Redis achieves high performance without spawning additional worker threads.

C++Redisbackend development
0 likes · 9 min read
Inside Redis: How Its Single‑Threaded Event Loop Works
21CTO
21CTO
Feb 22, 2022 · Fundamentals

Which Programming Languages Power Today’s Major Software? A Comprehensive Survey

This article surveys the programming languages and technologies underlying a wide range of operating systems, user interfaces, desktop tools, databases, browsers, servers, and other software, illustrating how C, C++, Java, and other languages dominate different components across the software ecosystem.

C++Programming Languagesc++
0 likes · 14 min read
Which Programming Languages Power Today’s Major Software? A Comprehensive Survey
DaTaobao Tech
DaTaobao Tech
Feb 14, 2022 · Fundamentals

Cross‑Platform C++ Development Pitfalls Guide

This guide outlines practical best‑practice recommendations—such as using C++17, proper header guards, forward‑slash paths, UTF‑8 encoding, restrained inline functions, standard fixed‑width types, careful char handling, readable nested templates, conditional compilation, Clang compiler, thin conversion layers, custom asserts, composition over inheritance, safe static initialization, and limited template use—to help developers write portable, maintainable, efficient C++ code across Windows, macOS, Linux, desktop and mobile platforms.

C++Code GuidelinesDevelopment
0 likes · 17 min read
Cross‑Platform C++ Development Pitfalls Guide
Yiche Technology
Yiche Technology
Jan 27, 2022 · Backend Development

C++ Multithreaded Service Architecture for High‑Throughput AI Inference

The article explains how to design a C++‑based multithreaded service that uses Pthreads, channels, and TensorRT to parallelize deep‑learning inference tasks, thereby reducing latency and dramatically increasing throughput for AI applications such as facial‑recognition access control systems.

AI InferenceC++Performance
0 likes · 11 min read
C++ Multithreaded Service Architecture for High‑Throughput AI Inference