Tagged articles
366 articles
Page 2 of 4
JD Retail Technology
JD Retail Technology
Dec 3, 2024 · Frontend Development

Designing a Cross‑Language Event System for Taro on HarmonyOS

This article explains how Taro leverages C++ and the HarmonyOS C‑API to build a high‑performance, multi‑language event system that bridges ArkTS, JavaScript and native components, detailing architecture considerations, implementation details, and future directions for improving cross‑language event handling.

C++Cross-languageEvent System
0 likes · 10 min read
Designing a Cross‑Language Event System for Taro on HarmonyOS
JD Tech Talk
JD Tech Talk
Nov 28, 2024 · Mobile Development

JD's Self‑Developed HarmonyOS Image Library: Architecture, Implementation, and Performance Optimizations

This article details JD's custom HarmonyOS image library built with C++ and Taro, covering its background, technical design, core modules, performance monitoring, optimization techniques, quality assurance mechanisms, and future development plans to achieve high‑performance cross‑platform image loading for mobile applications.

C++HarmonyOSImage Library
0 likes · 15 min read
JD's Self‑Developed HarmonyOS Image Library: Architecture, Implementation, and Performance Optimizations
JD Tech Talk
JD Tech Talk
Nov 25, 2024 · Frontend Development

Designing a Multi‑Language Event System for Taro on Harmony OS

This article explains how Taro leverages C‑API to move runtime logic to C++ and builds a cross‑language event system that unifies ArkTS, JavaScript and C++ on Harmony OS, improving rendering performance, lifecycle management, and developer productivity.

C++Cross-languageEvent System
0 likes · 11 min read
Designing a Multi‑Language Event System for Taro on Harmony OS
Liangxu Linux
Liangxu Linux
Nov 21, 2024 · Fundamentals

When to Use Spin Locks and How They Work in Multithreaded Code

This article explains the concept of spin locks, compares them with mutexes, shows how to use the pthread API and C++ atomic_flag to implement them, outlines suitable scenarios, highlights CPU‑usage pitfalls, and provides practical code examples.

C++Synchronizationconcurrency
0 likes · 10 min read
When to Use Spin Locks and How They Work in Multithreaded Code
21CTO
21CTO
Nov 17, 2024 · Fundamentals

Why C++26 Is the Most Transformative Update Since C++11

Herb Sutter, ISO C++ chair and former Microsoft veteran, announced at CppCon that the upcoming C++26 standard will introduce four major features—enhanced std::execution, stronger type and memory safety, powerful reflection and code generation, and contracts—aimed at boosting concurrency, safety, and compile‑time programming.

C++C++26Contracts
0 likes · 5 min read
Why C++26 Is the Most Transformative Update Since C++11
21CTO
21CTO
Nov 5, 2024 · Fundamentals

Can Safe C++ Bring Memory Safety Without Dropping the Language?

The article examines the Safe C++ proposal—a collaborative effort by Sean Baxter and Christian Mazakas to add Rust‑inspired ownership and borrowing checks to C++ through a safe standard library—while discussing its 18‑month development timeline, toolchain extensions, community reactions, and broader implications for memory‑safe programming.

C++Memory SafetyRust
0 likes · 11 min read
Can Safe C++ Bring Memory Safety Without Dropping the Language?
Deepin Linux
Deepin Linux
Nov 2, 2024 · Fundamentals

Curated List of C++ Open‑Source Projects for Learning from Beginner to Advanced

This article presents a curated collection of C++ open‑source projects ranging from beginner-friendly tutorials and simple games to intermediate libraries and advanced frameworks, offering detailed descriptions, difficulty levels, and GitHub links to help developers progressively enhance their coding skills and understand complex system design.

AdvancedBeginnerC++
0 likes · 29 min read
Curated List of C++ Open‑Source Projects for Learning from Beginner to Advanced
Liangxu Linux
Liangxu Linux
Nov 2, 2024 · Fundamentals

When Does Shallow Copy Break? Mastering Deep vs Shallow Copy in C++

This article explains the difference between shallow and deep copying in C++, shows why the default copy constructor can cause double‑deletion when a class holds pointers, and demonstrates how to implement a proper deep‑copy constructor with clear code examples.

C++Copy ConstructorMemory Management
0 likes · 5 min read
When Does Shallow Copy Break? Mastering Deep vs Shallow Copy in C++
Liangxu Linux
Liangxu Linux
Oct 24, 2024 · Fundamentals

Deep vs. Shallow Copy in C++: Why Proper Copy Constructors Matter

This guide explains the difference between shallow and deep copying in C++, shows how the compiler‑generated copy constructor performs a shallow copy, demonstrates the pitfalls with pointer members, and provides a custom copy constructor example that safely implements deep copying.

C++programming fundamentals
0 likes · 6 min read
Deep vs. Shallow Copy in C++: Why Proper Copy Constructors Matter
Java Tech Enthusiast
Java Tech Enthusiast
Oct 20, 2024 · Backend Development

Why C++ Candidates Struggle in Backend Development Jobs and How to Improve

C++ graduates often fail backend interviews at major internet firms because those companies favor Java or Go and expect experience with databases, caches, and message queues, so candidates should either acquire those backend skills, switch to the dominant languages, or target C++‑friendly domains such as embedded, AV, gaming, or client‑side networking.

Backend DevelopmentC++Go
0 likes · 8 min read
Why C++ Candidates Struggle in Backend Development Jobs and How to Improve
Java Tech Enthusiast
Java Tech Enthusiast
Oct 17, 2024 · Fundamentals

Technical Interview Insights: Networking, TCP, HTTP, MySQL Locks, and C++ Level‑Order Traversal

The article explains why network protocols use layered design, details TCP's reliability and congestion‑control mechanisms, outlines HTTP status‑code categories, reviews MySQL lock scopes from global to row‑level, provides a C++ breadth‑first binary‑tree traversal example, and describes a three‑step weighing puzzle to find an odd ball.

AlgorithmsC++HTTP
0 likes · 15 min read
Technical Interview Insights: Networking, TCP, HTTP, MySQL Locks, and C++ Level‑Order Traversal
21CTO
21CTO
Oct 16, 2024 · Information Security

Will Safe C++ Extensions Make C++ Memory‑Safe? Insights from Rust and NSA

Amid rising memory‑safety concerns highlighted by Chrome’s vulnerabilities and high‑profile attacks, the C++ community proposes a Safe C++ Extension to add memory‑safety features, while experts compare it to Rust and discuss challenges, adoption pressures, and DARPA’s AI‑driven code‑conversion efforts.

C++Memory SafetyRust
0 likes · 6 min read
Will Safe C++ Extensions Make C++ Memory‑Safe? Insights from Rust and NSA
IT Services Circle
IT Services Circle
Oct 15, 2024 · Backend Development

Why C++ Graduates Struggle to Land Backend Development Jobs in Internet Companies and How to Improve Their Prospects

The article analyzes why C++‑focused graduates receive few backend interview opportunities at major internet firms, highlights the mismatch between C++ skill sets and common backend components, and offers practical advice on switching languages or augmenting projects to better align with industry demands.

Backend DevelopmentC++Go
0 likes · 10 min read
Why C++ Graduates Struggle to Land Backend Development Jobs in Internet Companies and How to Improve Their Prospects
Java Tech Enthusiast
Java Tech Enthusiast
Oct 4, 2024 · Fundamentals

Safe C++ Extension Proposal Adds Memory Safety to C++

The C++ Alliance and engineer Sean Baxter have proposed a “Safe C++” extension, to be submitted to ISO, that introduces memory‑safety checks and a Safe Standard Library with secure data structures, responding to industry and government calls for safer code and echoing DARPA’s Rust‑translation efforts.

C++Memory SafetySafe C++
0 likes · 5 min read
Safe C++ Extension Proposal Adds Memory Safety to C++
Deepin Linux
Deepin Linux
Sep 26, 2024 · Fundamentals

Understanding CPU Cache Hierarchy, Write‑Back Strategy, and Memory Ordering in Multithreaded Programming

This article explains the structure and operation of modern CPU multi‑level caches, the write‑back caching policy, cache‑coherence mechanisms, atomic operations, and various memory‑ordering models in C++ multithreaded programs, providing detailed concepts, hardware and software solutions, and practical code examples.

C++atomic operationsmemory ordering
0 likes · 32 min read
Understanding CPU Cache Hierarchy, Write‑Back Strategy, and Memory Ordering in Multithreaded Programming
JD Tech Talk
JD Tech Talk
Sep 24, 2024 · Frontend Development

Optimizing Long List Rendering on HarmonyOS: ArkTS and C++ Solutions

This article examines the challenges of rendering long lists on HarmonyOS across iOS, Android, and Web platforms, explains the ForEach and LazyForEach mechanisms, and presents practical ArkTS and C++ solutions—including cacheCount, component reuse, and performance optimizations—to achieve smoother UI and lower memory usage.

C++HarmonyOSLazyForEach
0 likes · 19 min read
Optimizing Long List Rendering on HarmonyOS: ArkTS and C++ Solutions
Software Development Quality
Software Development Quality
Sep 24, 2024 · Fundamentals

Mastering C++: Hungarian Notation, Modular Design, and Coding Style Guidelines

These guidelines detail C++ client-side naming conventions using Hungarian notation, modular and component-based development principles, and comprehensive coding style rules—including variable prefixes, class naming, indentation, brace placement, macro safety, and interface design—to promote readable, maintainable, and robust software.

C++Software Engineeringcoding standards
0 likes · 7 min read
Mastering C++: Hungarian Notation, Modular Design, and Coding Style Guidelines
IT Services Circle
IT Services Circle
Sep 23, 2024 · Fundamentals

Safe C++: A Revolutionary Extension Proposal for Memory Safety in C++

An overview of the Safe C++ extension proposal, developed by the C++ Alliance and Sean Baxter, which aims to add memory‑safety features to C++, includes example code, discusses its significance for software security, and references industry and governmental interest in safer programming languages.

C++ISO StandardMemory Safety
0 likes · 5 min read
Safe C++: A Revolutionary Extension Proposal for Memory Safety in C++
21CTO
21CTO
Sep 21, 2024 · Fundamentals

Will Safe C++ Extensions Bring Rust‑Level Memory Safety to C++?

The C++ community has unveiled a groundbreaking “Safe C++ Extensions” proposal that borrows Rust’s borrow‑checking and initialization analysis to add memory‑safety features, sparking debate over its impact on C++’s identity while addressing industry demand for safer code.

C++Memory Safetylanguage design
0 likes · 3 min read
Will Safe C++ Extensions Bring Rust‑Level Memory Safety to C++?
Deepin Linux
Deepin Linux
Sep 19, 2024 · Backend Development

Comprehensive Guide to gRPC: Concepts, C++ Implementation, and Real‑World Use Cases

This article explains the limitations of traditional RPC, introduces gRPC and Protocol Buffers, details their architecture and performance advantages, provides step‑by‑step C++ server and client code, and discusses practical scenarios such as microservices, real‑time data processing, and a file‑storage service example.

C++Distributed SystemsMicroservices
0 likes · 29 min read
Comprehensive Guide to gRPC: Concepts, C++ Implementation, and Real‑World Use Cases
Liangxu Linux
Liangxu Linux
Sep 15, 2024 · Backend Development

Top Free C/C++ Compilers: GCC, Clang/LLVM, TCC, MSVC, and Digital Mars

This article introduces five widely used, free C/C++ compilers—GCC, Clang/LLVM, Tiny C Compiler, Microsoft Visual C++, and Digital Mars—detailing their main features, platform support, typical usage commands, and ideal application scenarios for developers seeking lightweight or powerful compilation tools.

C++ClangMSVC
0 likes · 12 min read
Top Free C/C++ Compilers: GCC, Clang/LLVM, TCC, MSVC, and Digital Mars
Deepin Linux
Deepin Linux
Sep 12, 2024 · Fundamentals

Comprehensive C++ Interview Preparation: Core Concepts, Syntax, OOP, Memory Management, Algorithms, and Multithreading

This extensive guide covers essential C++ interview topics, including process/thread/coroutine differences, new vs new[], C++11 multithreading primitives, C++20 features, static and const usage, inline functions, object‑oriented principles, pointer vs reference, struct nuances, memory management techniques, common algorithms for selecting top elements, sorting complexities, linked‑list cycle detection, and multithreading fundamentals such as thread pools, lifecycle states, and synchronization mechanisms.

AlgorithmsC++interview
0 likes · 66 min read
Comprehensive C++ Interview Preparation: Core Concepts, Syntax, OOP, Memory Management, Algorithms, and Multithreading
Deepin Linux
Deepin Linux
Sep 10, 2024 · Fundamentals

Comprehensive Embedded Software Interview Guide: Memory Management, IPC, DMA, Kernel Allocation, and Core Concepts

This article provides an extensive overview of embedded software fundamentals, covering heap vs. stack differences, wild pointers, DMA roles, inter‑process communication methods, memory allocation strategies, malloc vs. new, volatile usage, pointer concepts, Linux kernel locks, FreeRTOS mechanisms, stack overflow prevention, compilation stages, quick‑sort algorithm, header inclusion, CAN identifiers, struct memory optimization, STM32 interrupt handling, user‑to‑kernel transitions, and condition‑variable thundering‑herd effects.

C++CompilationDMA
0 likes · 121 min read
Comprehensive Embedded Software Interview Guide: Memory Management, IPC, DMA, Kernel Allocation, and Core Concepts
Deepin Linux
Deepin Linux
Sep 4, 2024 · Fundamentals

Comprehensive Overview of C/C++ Language Features, Standard Library, and Object‑Oriented Concepts

This article provides an extensive guide to C/C++ fundamentals, covering static and const qualifiers, references versus pointers, memory‑management techniques, STL container implementations, iterator behavior, object‑oriented principles, virtual functions, smart pointers, and modern C++11 features for both beginner and experienced developers.

C++C++11STL
0 likes · 44 min read
Comprehensive Overview of C/C++ Language Features, Standard Library, and Object‑Oriented Concepts
IT Services Circle
IT Services Circle
Aug 30, 2024 · Backend Development

Technical Interview Q&A: C++ vs Go, Thread Communication, Goroutine, TCP Handshake, SQL, and More

This article compiles a series of technical interview questions and answers covering C++ and Go language differences, thread communication methods on Linux and Windows, stack versus heap memory, orphan processes, read‑write locks, Go goroutine concurrency, TCP three‑way handshake, and a sample SQL query for gender‑based grouping.

Backend DevelopmentC++Go
0 likes · 12 min read
Technical Interview Q&A: C++ vs Go, Thread Communication, Goroutine, TCP Handshake, SQL, and More
Deepin Linux
Deepin Linux
Aug 29, 2024 · Fundamentals

Comprehensive C++ Interview Guide: Syntax, OOP, Memory Management, STL, and Concurrency

This guide provides an extensive overview of essential C++ concepts for interview preparation, covering variable definitions, static and const keywords, type conversions, pointers versus references, scope, exception handling, function overloading, templates, initialization lists, as well as memory management techniques, STL containers and algorithms, as well as multithreading and concurrency mechanisms.

C++STLfundamentals
0 likes · 93 min read
Comprehensive C++ Interview Guide: Syntax, OOP, Memory Management, STL, and Concurrency
Deepin Linux
Deepin Linux
Aug 26, 2024 · Fundamentals

Understanding and Preventing Memory Leaks in C++ Applications

The article explains what memory leaks are, common causes, and presents practical techniques such as avoiding heap allocations, using smart pointers, employing arena allocators, leveraging coroutines, applying RAII, and debugging with tools like gperftools to detect and resolve leaks in C++ programs.

ArenaC++RAII
0 likes · 12 min read
Understanding and Preventing Memory Leaks in C++ Applications
Architect
Architect
Aug 25, 2024 · Game Development

Technical Analysis of “Black Myth: Wukong” – Engine, Languages, and Cultural Integration

The article examines how the Chinese AAA title “Black Myth: Wukong” leverages Unreal Engine 5, C++, Blueprint visual scripting, and even a custom C#‑based USharp plugin to deliver cutting‑edge graphics, physics, AI, and culturally rich gameplay, illustrating the convergence of advanced technology and Chinese heritage in modern game development.

BlueprintsCC++
0 likes · 8 min read
Technical Analysis of “Black Myth: Wukong” – Engine, Languages, and Cultural Integration
Deepin Linux
Deepin Linux
Aug 17, 2024 · Fundamentals

20 Essential C++ Interview Questions and Answers: Data Structures, Algorithms, and System Concepts

This article presents a comprehensive collection of twenty essential C++ interview topics covering hash maps vs. maps, vector internals, red‑black trees, hashing, binary trees, smart pointers, LRU cache, memcpy, linked‑list operations, TCP/UDP differences, multithreading, process‑thread distinctions, MySQL indexing, Redis caching, locking mechanisms, async vs. sync, blocking vs. non‑blocking, and Bloom filters, each explained with key concepts and code examples.

AlgorithmsC++Networking
0 likes · 30 min read
20 Essential C++ Interview Questions and Answers: Data Structures, Algorithms, and System Concepts
Programmer DD
Programmer DD
Aug 16, 2024 · Backend Development

How a Hidden Uint Overflow Triggered Massive Traffic Spikes and the Memory‑Leak Mystery I Solved

This article recounts a developer's journey from a fresh graduate to a senior backend engineer, detailing two real‑world incidents—a pseudo‑memory‑leak in a C++ service and a uint overflow that caused traffic bursts—showing the analysis steps, code fixes, and lessons learned for reliable backend development.

C++Performance Optimizationincident analysis
0 likes · 19 min read
How a Hidden Uint Overflow Triggered Massive Traffic Spikes and the Memory‑Leak Mystery I Solved
Deepin Linux
Deepin Linux
Aug 13, 2024 · Fundamentals

C++ Interview Topics: Smart Pointers, Memory Management, Polymorphism, and More

This article provides a comprehensive overview of common C++ interview questions, covering smart pointer implementations, memory management techniques, object-oriented concepts such as polymorphism and virtual functions, STL containers, threading, and modern C++ features like move semantics and coroutines.

C++PolymorphismSTL
0 likes · 64 min read
C++ Interview Topics: Smart Pointers, Memory Management, Polymorphism, and More
Deepin Linux
Deepin Linux
Aug 10, 2024 · Fundamentals

Comprehensive C/C++ Interview Question Collection Covering Language, Data Structures, OS, Networking, Databases, and More

This article compiles over a thousand common C/C++ interview questions spanning language fundamentals, data structures, algorithms, system programming, networking, databases, design patterns, RPC, and audio‑video development, providing a thorough study guide for backend and systems engineers.

AlgorithmsC++Networking
0 likes · 19 min read
Comprehensive C/C++ Interview Question Collection Covering Language, Data Structures, OS, Networking, Databases, and More
Deepin Linux
Deepin Linux
Aug 5, 2024 · Fundamentals

Understanding Linux Kernel Memory Pools and Their Implementation

This article explains the concept, benefits, and implementation details of memory pools in the Linux kernel, covering allocation functions, design principles, common strategies, and a thread‑safe C++ memory‑pool class with example code.

C++Linux kernelallocation
0 likes · 27 min read
Understanding Linux Kernel Memory Pools and Their Implementation
Deepin Linux
Deepin Linux
Jul 19, 2024 · Fundamentals

Comprehensive List of Useful C++ Libraries and Tools

This article provides a detailed, categorized catalog of widely used open‑source C++ libraries and tools covering standard libraries, frameworks, AI, networking, graphics, databases, testing, and many other domains, helping developers quickly discover suitable components for their projects.

C++librariesopen-source
0 likes · 20 min read
Comprehensive List of Useful C++ Libraries and Tools
21CTO
21CTO
Jul 5, 2024 · Frontend Development

Can Ladybird’s New Independent Browser Threaten Chrome and Safari?

The newly founded non‑profit Ladybird project is building a privacy‑focused browser with its own engine, funded by industry veterans, open‑sourced under BSD‑2‑Clause, and aiming to challenge the dominance of Chromium‑based and WebKit browsers despite being in a pre‑alpha developer stage.

BrowserC++open-source
0 likes · 7 min read
Can Ladybird’s New Independent Browser Threaten Chrome and Safari?
21CTO
21CTO
Jun 30, 2024 · Artificial Intelligence

Which Programming Language Is Best for AI? A Comparative Guide

This article surveys the most suitable programming languages for artificial intelligence, examining Python, R, Java, LISP, Prolog, C++, Haskell, JavaScript, and Julia, and outlines their strengths, ecosystem support, and use cases to help developers choose the right tool for AI projects.

AIC++Java
0 likes · 15 min read
Which Programming Language Is Best for AI? A Comparative Guide
21CTO
21CTO
Jun 25, 2024 · Backend Development

How Google Cut Memory Use and Defects by Switching from Go/C++ to Rust

Google’s Android engineering director revealed that migrating services from Go or C++ to Rust doubled productivity, slashed memory consumption, lowered defect rates, and boosted developer confidence, highlighting a broader industry move toward memory‑safe languages.

C++Memory Safetysoftware migration
0 likes · 4 min read
How Google Cut Memory Use and Defects by Switching from Go/C++ to Rust
IT Services Circle
IT Services Circle
Jun 9, 2024 · Fundamentals

Understanding Type Erasure in C++ for Polymorphic Design

This article explains the concept of type erasure in C++, demonstrating how to achieve polymorphic behavior without a common base class by using wrapper classes, templates, and container storage, and provides multiple implementation approaches with complete code examples.

C++Polymorphismtemplates
0 likes · 11 min read
Understanding Type Erasure in C++ for Polymorphic Design
JD Retail Technology
JD Retail Technology
May 20, 2024 · Frontend Development

Cross‑Platform Self‑Rendering Engine: Design, Evolution, and Optimization with Skia and C++

This article documents the design, iterative evolution, and performance optimizations of a cross‑platform self‑rendering engine that started with QuickJS and Flutter, progressed through a C++‑based render tree, and now adopts a React Native‑style self‑draw approach using Skia, detailing architecture, code, and results.

C++React NativeRendering
0 likes · 26 min read
Cross‑Platform Self‑Rendering Engine: Design, Evolution, and Optimization with Skia and C++
Liangxu Linux
Liangxu Linux
May 19, 2024 · Fundamentals

Mastering Thread Safety: Turn Multithreaded Code into a Well‑Behaved Cat

This article explains why multithreaded programs often feel like untamable beasts, introduces the core concept of thread safety, distinguishes private and shared resources, shows concrete C/C++ examples of safe and unsafe patterns, and outlines practical techniques such as thread‑local storage, read‑only globals, atomic operations and synchronization to write reliable concurrent code.

C++Locksmultithreading
0 likes · 15 min read
Mastering Thread Safety: Turn Multithreaded Code into a Well‑Behaved Cat
21CTO
21CTO
Apr 24, 2024 · Backend Development

Can Rust Outperform C++ in Finance? Insights on Safety, Speed, and Hiring Challenges

While Rust’s safety and performance promise significant productivity gains over C++ for low‑latency trading systems, steep learning curves, scarce talent, and lower salaries hinder its adoption in finance, with industry leaders noting both its advantages and the challenges of transitioning legacy codebases.

C++Low latencyRust
0 likes · 7 min read
Can Rust Outperform C++ in Finance? Insights on Safety, Speed, and Hiring Challenges
Deepin Linux
Deepin Linux
Apr 18, 2024 · Fundamentals

C++ Memory Management: Concepts, Pitfalls, and Best Practices

This article provides a comprehensive overview of C++ memory management, covering stack vs heap allocation, deep vs shallow copying, common errors such as leaks, dangling pointers, double frees, and offers practical techniques like custom new/delete overloads, smart pointers, RAII, and tools for detecting memory problems.

C++RAIIdynamic allocation
0 likes · 92 min read
C++ Memory Management: Concepts, Pitfalls, and Best Practices
Deepin Linux
Deepin Linux
Apr 10, 2024 · Fundamentals

C++ Interview Questions and Answers: Core Language Concepts and Best Practices

This comprehensive guide covers 40 common C++ interview topics, including procedural vs. object‑oriented programming, differences between C and C++, static and const keywords, pointer versus reference semantics, memory allocation with malloc/new, function overloading, inheritance, virtual functions, templates, smart pointers, and modern C++11 features, providing clear explanations and example code.

C++OOPinterview
0 likes · 47 min read
C++ Interview Questions and Answers: Core Language Concepts and Best Practices
21CTO
21CTO
Apr 6, 2024 · Fundamentals

How I Built Pinecone: From Zero to a Working Compiler

This article chronicles the author's six‑month journey creating the Pinecone programming language, covering its core features, design decisions about compilation versus interpretation, custom lexing and parsing, implementation choices, and practical advice for anyone wanting to build their own language.

C++Compiler designProgramming Language
0 likes · 18 min read
How I Built Pinecone: From Zero to a Working Compiler
21CTO
21CTO
Mar 23, 2024 · Information Security

Why Bjarne Stroustrup Defends C++ Against the US Government’s Memory‑Safety Push

Amid a US government report urging developers to abandon C and C++ for memory‑safe languages, C++ creator Bjarne Stroustrup argues that modern C++ already incorporates strong safety guarantees, cites ongoing standards work, and warns that abandoning the language overlooks its evolving security features.

Bjarne StroustrupC++Memory Safety
0 likes · 6 min read
Why Bjarne Stroustrup Defends C++ Against the US Government’s Memory‑Safety Push
Liangxu Linux
Liangxu Linux
Feb 29, 2024 · Fundamentals

Master static, volatile, sizeof, and I2C for Embedded C

This guide explains the purposes and effects of the C/C++ static and volatile keywords, compares the sizeof operator with strlen, describes reliable methods for comparing floating‑point numbers, outlines how floating‑point operations affect STM32 interrupt performance, and provides a concise overview of the I²C protocol and address configuration on STM32 devices.

C++I2CSTM32
0 likes · 9 min read
Master static, volatile, sizeof, and I2C for Embedded C
21CTO
21CTO
Feb 29, 2024 · Information Security

Why the White House Wants Developers to Abandon C and C++ for Memory‑Safe Languages

The White House’s ONCD report urges developers to replace C and C++ with memory‑safe languages like Rust, Go, and Java, citing alarming vulnerability statistics and a strategic shift that moves software‑security responsibility from individuals to large organizations and the federal government.

C++Government policyMemory Safety
0 likes · 8 min read
Why the White House Wants Developers to Abandon C and C++ for Memory‑Safe Languages
Tencent Cloud Developer
Tencent Cloud Developer
Feb 29, 2024 · Backend Development

Performance Optimization Strategies for High‑Throughput Backend Services

The article outlines practical, continuous performance‑optimization tactics for high‑throughput back‑end services—replacing Protobuf with lightweight C++ classes, using cache‑friendly data structures, adopting jemalloc/tcmalloc, employing lock‑free double buffers, tailoring data formats, and leveraging profiling tools—to achieve multi‑fold speedups while balancing maintainability.

BackendC++Cache Friendly
0 likes · 18 min read
Performance Optimization Strategies for High‑Throughput Backend Services
IT Services Circle
IT Services Circle
Feb 20, 2024 · Fundamentals

LeetCode 392: Determine if a String is a Subsequence Using the Two‑Pointer Technique

This article humorously references recent layoff memes before presenting a detailed tutorial on solving LeetCode problem 392—checking whether string s is a subsequence of t—using a two‑pointer algorithm, complete with step‑by‑step explanation, complexity analysis, visual illustrations, and reference implementations in C++, Java, and Python.

C++JavaLeetCode
0 likes · 8 min read
LeetCode 392: Determine if a String is a Subsequence Using the Two‑Pointer Technique
IT Services Circle
IT Services Circle
Feb 9, 2024 · Fundamentals

Interview Topics: URL Processing, TLS Handshake, TCP Handshake, Page Fault, TCP vs UDP, HTTP Differences, Thread Safety in C++, and Thread‑Pool Implementation

This article reviews common interview questions covering URL request processing, TLS handshake steps, the three‑way TCP handshake and four‑way termination, page‑fault handling, differences between TCP and UDP, HTTP/1.0 vs 1.1, thread‑safety mechanisms in C++, and a hands‑on example of building a thread pool.

C++HTTPNetworking
0 likes · 18 min read
Interview Topics: URL Processing, TLS Handshake, TCP Handshake, Page Fault, TCP vs UDP, HTTP Differences, Thread Safety in C++, and Thread‑Pool Implementation
HelloTech
HelloTech
Jan 25, 2024 · Backend Development

Design and Implementation of a Custom Multimedia Framework Using FFmpeg

The Haro Street Cat mobile team created a custom multimedia framework that wraps FFmpeg 4.2.2 in a C++ core library with Android/iOS compatibility layers and Java wrappers for transcoding, live streaming, and composition, delivering hardware‑accelerated decoding, flexible filter pipelines, and reliable transcoding that boosted coverage to over 99 %, cut storage by more than 30 %, accelerated video start‑up, and improved streaming and watermarking performance.

C++Filter GraphMultimedia
0 likes · 27 min read
Design and Implementation of a Custom Multimedia Framework Using FFmpeg
Deepin Linux
Deepin Linux
Jan 9, 2024 · Fundamentals

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

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

C++Operating SystemsSystem Programming
0 likes · 88 min read
Linux System and Kernel Interview Questions – 100+ Topics and Code Examples
Tencent Cloud Developer
Tencent Cloud Developer
Jan 3, 2024 · Backend Development

Exception Handling: Requirements, Modeling, and Best Practices in Backend Development

The article outlines backend exception‑handling best practices, detailing business requirements such as memory‑safe multithreaded throws, clear separation of concerns, framework fallback strategies, simple macro‑based APIs, unified error‑code monitoring, rich debugging information, extensible type‑erased models, and appropriate handling of critical, recoverable, and checked exceptions across development and production environments.

C++DebuggingException Handling
0 likes · 28 min read
Exception Handling: Requirements, Modeling, and Best Practices in Backend Development
IT Services Circle
IT Services Circle
Dec 29, 2023 · Backend Development

Bank Software Development Interview Guide: Java, MySQL, Thread Pools, HTTP, TCP/UDP, and Database Indexes

This article compiles common technical interview questions for bank software positions, covering Java fundamentals, MySQL storage engines and indexes, thread‑pool parameters, HTTP GET/POST differences, TCP vs UDP characteristics, session and cookie handling, Redis data types, and C++ memory management, providing concise explanations and examples for each topic.

C++DatabaseIndexHTTP
0 likes · 32 min read
Bank Software Development Interview Guide: Java, MySQL, Thread Pools, HTTP, TCP/UDP, and Database Indexes
Liangxu Linux
Liangxu Linux
Dec 25, 2023 · Fundamentals

Mastering Static and Dynamic Libraries on Linux: A Step‑by‑Step Guide

This article explains why reusable code should be packaged into libraries, compares static (.a) and dynamic (.so) libraries on Linux, and provides detailed commands, code examples, and troubleshooting steps for building and linking both types of libraries in C++ projects.

C++CompilationDynamic Library
0 likes · 10 min read
Mastering Static and Dynamic Libraries on Linux: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Dec 21, 2023 · Fundamentals

Why C++ Still Dominates After 40 Years: Insights from Its Creator

The article traces C++’s four‑decade evolution—from its 1979 birth as an object‑oriented extension of C, through landmark standards like C++11, to its pervasive role in systems, games and AI—while highlighting Bjarne Stroustrup’s philosophy of incremental, hardware‑focused development and recent promotional efforts.

Bjarne StroustrupC++language evolution
0 likes · 7 min read
Why C++ Still Dominates After 40 Years: Insights from Its Creator
Deepin Linux
Deepin Linux
Dec 20, 2023 · Fundamentals

C++ Interview Questions: Polymorphism, Vtables, Memory Alignment, STL Containers, and Multithreading Locks

This article presents a comprehensive C++ interview guide covering dynamic polymorphism, vtable mechanics, static vs virtual functions, memory alignment benefits, iterator invalidation in vector and map, erase‑remove idiom, map implementation details, and common synchronization primitives used in multithreaded programming.

C++STLVTable
0 likes · 12 min read
C++ Interview Questions: Polymorphism, Vtables, Memory Alignment, STL Containers, and Multithreading Locks
Deepin Linux
Deepin Linux
Dec 19, 2023 · Backend Development

C++ Backend Interview: Web Server Basics, Concurrency, Epoll, and Networking Concepts

This article presents a comprehensive overview of C++ backend interview topics, covering web server fundamentals, concurrency models, thread pool sizing, epoll integration, I/O multiplexing, HTTP methods, TCP connection handling, debugging techniques, and related networking concepts essential for backend development.

C++DebuggingNetworking
0 likes · 27 min read
C++ Backend Interview: Web Server Basics, Concurrency, Epoll, and Networking Concepts
Tencent Cloud Developer
Tencent Cloud Developer
Dec 19, 2023 · Fundamentals

Object-Oriented Analysis and Design: Exception Handling, RAII, and Error‑Code Practices

The article explains how object‑oriented analysis and design should treat exceptions by using RAII for automatic resource cleanup, avoiding error‑code patterns, and adopting a throw‑by‑default policy with strongly‑typed exceptions, illustrating concepts with C++ and VB.NET examples and framework design recommendations.

C++Error CodesException Handling
0 likes · 38 min read
Object-Oriented Analysis and Design: Exception Handling, RAII, and Error‑Code Practices
Liangxu Linux
Liangxu Linux
Dec 14, 2023 · Fundamentals

Understanding CPU Cache: Types, Structure, and Performance Optimization

This article explains why CPU caches are needed, describes the hierarchy and internal structure of cache lines, compares direct‑mapped, set‑associative and fully‑associative caches, and shows how cache‑aware coding can dramatically improve program execution speed.

C++CPU cacheMemory Access
0 likes · 12 min read
Understanding CPU Cache: Types, Structure, and Performance Optimization
Deepin Linux
Deepin Linux
Dec 13, 2023 · Fundamentals

CVTE Embedded Technology Interview Experience and Key Technical Concepts

This article presents a comprehensive collection of CVTE embedded engineering interview questions and answers, covering project introductions, C/C++ operators, the static keyword, pointers vs. references, copy constructors, Linux sed usage, file system types, I²C limits, interrupt handling, recursion, IPC, GPIO modes, and compilation stages, providing clear explanations and code examples for each topic.

C++Hardwareembedded
0 likes · 24 min read
CVTE Embedded Technology Interview Experience and Key Technical Concepts
Deepin Linux
Deepin Linux
Nov 17, 2023 · Backend Development

Understanding Coroutines: Principles, Implementations, and Performance in C/C++

This article explains the concept of coroutines as lightweight user‑level threads, compares them with traditional threads, details various implementation mechanisms in C/C++ (including libco and NtyCo), and demonstrates how they improve I/O‑bound server performance through examples and code snippets.

C++NtyCocoroutine
0 likes · 45 min read
Understanding Coroutines: Principles, Implementations, and Performance in C/C++
21CTO
21CTO
Nov 15, 2023 · Fundamentals

What New Features Will C++26 Bring? Contracts, Reflection, and More

Herb Sutter’s latest report reveals that the upcoming C++26 standard will introduce major enhancements such as contracts, static reflection, BLAS‑based linear algebra, debugging APIs, and SIMD parallelism, while also addressing safety concerns and exploring experimental projects like Cppfront and Google’s Carbon to simplify and modernize C++.

C++C++26Contracts
0 likes · 5 min read
What New Features Will C++26 Bring? Contracts, Reflection, and More
Liangxu Linux
Liangxu Linux
Nov 13, 2023 · Fundamentals

Mastering C++ Class Design: Best Practices and Common Pitfalls

This guide walks through essential C++ class design techniques—including header guards, private data encapsulation, const-correctness, initializer lists, reference parameters, operator overloading, static members, the Big Three, deep vs shallow copying, and singleton patterns—to help you write robust, maintainable code.

C++Singletonclass design
0 likes · 13 min read
Mastering C++ Class Design: Best Practices and Common Pitfalls
Liangxu Linux
Liangxu Linux
Nov 1, 2023 · Information Security

How to Use Tencent’s TscanCode for Static Code Analysis on Linux and Windows

This guide explains static code scanning concepts, compares popular tools, introduces Tencent’s open‑source TscanCode, details its supported languages and detection capabilities, and provides step‑by‑step instructions for running the tool on Linux and Windows with example code and results.

C++TscanCodeWindows
0 likes · 5 min read
How to Use Tencent’s TscanCode for Static Code Analysis on Linux and Windows
Ximalaya Technology Team
Ximalaya Technology Team
Oct 31, 2023 · Frontend Development

What Is WebAssembly? Advantages, Front‑End Usage, and Development Guide

WebAssembly (Wasm) is a fast, binary bytecode format that lets browsers execute near‑native code written in languages like C, C++ or Rust, offering superior performance for CPU‑intensive tasks such as games and data processing, and can be integrated into front‑end projects via fetch, instantiateStreaming, and toolchains like Emscripten or wasm‑pack.

C++JavaScriptRust
0 likes · 10 min read
What Is WebAssembly? Advantages, Front‑End Usage, and Development Guide
Tencent Cloud Developer
Tencent Cloud Developer
Oct 26, 2023 · Fundamentals

C++ Value Categories: lvalue, prvalue, xvalue, and Their Role in Function Returns and Move Semantics

The article explains how C++ value categories—lvalue, prvalue, and xvalue—govern function return handling, parameter passing, and object lifetimes, detailing hidden out‑parameters, copy‑elision, const‑reference lifetime extension, rvalue references, and the role of std::move in enabling move semantics.

AssemblyC++lvalue
0 likes · 47 min read
C++ Value Categories: lvalue, prvalue, xvalue, and Their Role in Function Returns and Move Semantics
Tencent Cloud Developer
Tencent Cloud Developer
Oct 19, 2023 · Fundamentals

Profile-Guided Optimization (PGO) Principles and Practice in Go and C++

Profile‑Guided Optimization (PGO) collects runtime profiling data to recompile programs for higher performance, reducing branch mispredictions and improving code layout; Go gained built‑in PGO in 1.21 with typical 5 % gains, while C++ sees 15‑18 % QPS improvements and devirtualization benefits, and future work aims at deeper block ordering and register allocation.

C++GoPGO
0 likes · 16 min read
Profile-Guided Optimization (PGO) Principles and Practice in Go and C++
Deepin Linux
Deepin Linux
Oct 18, 2023 · Fundamentals

Understanding STL: Vectors, Lists, Iterators, and Container Implementations

This article provides a comprehensive overview of the C++ Standard Template Library, detailing the differences between vectors and lists, memory management, iterator validity, container operations, and implementations of various containers such as deque, set, map, and slist, along with code examples.

C++ContainersData Structures
0 likes · 48 min read
Understanding STL: Vectors, Lists, Iterators, and Container Implementations
Deepin Linux
Deepin Linux
Oct 7, 2023 · Fundamentals

Comprehensive CMake Tutorial: Basics, Advanced Features, and Integration with CLion

This article provides a step‑by‑step guide to using CMake for cross‑platform builds, covering fundamental concepts, basic project setup, adding versioning and configuration headers, creating libraries, optional components, installation, testing, packaging with CPack, dashboard integration, and practical usage within JetBrains CLion for C/C++ development.

AutomationBuild SystemC++
0 likes · 33 min read
Comprehensive CMake Tutorial: Basics, Advanced Features, and Integration with CLion
ByteDance SYS Tech
ByteDance SYS Tech
Sep 8, 2023 · Fundamentals

Why Does Your C++ Program Crash? Unveiling Global Object Initialization Order

This article explores how C++ programs start, detailing the role of the _start entry point, the initialization of global objects via .init_array, __libc_csu_init, and constructors, and provides practical techniques—including linking with crt files and using init_priority—to control and debug initialization order and avoid crashes.

C++ELFLinker
0 likes · 23 min read
Why Does Your C++ Program Crash? Unveiling Global Object Initialization Order
21CTO
21CTO
Aug 31, 2023 · Fundamentals

Bjarne Stroustrup’s Top Career Lessons for Developers – Stay Flexible & Broad

Renowned C++ creator Bjarne Stroustrup shares concise career wisdom, urging developers to avoid over‑specialization, embrace flexibility, communicate with users, balance technical depth with broader education, and stay prepared for opportunities, while also recounting his own journey and the impact of C++ on software engineering.

C++Software Engineeringcareer advice
0 likes · 6 min read
Bjarne Stroustrup’s Top Career Lessons for Developers – Stay Flexible & Broad
Tencent Cloud Developer
Tencent Cloud Developer
Aug 30, 2023 · Backend Development

Redesign of a Large‑Scale Content Ingestion System: From Microservices to a Plugin‑Based Monolith

By replacing over 90 fragmented micro‑services with a single‑process, plugin‑based monolith, QQ Browser’s content ingestion pipeline achieved up to ten‑fold throughput gains, near‑100 % CPU utilization, dramatically lower latency, and an 82 % reduction in development lead‑time through modern C++ design, fault‑tolerant Kafka buffering, and streamlined CI/CD.

C++MicroservicesSystem Architecture
0 likes · 21 min read
Redesign of a Large‑Scale Content Ingestion System: From Microservices to a Plugin‑Based Monolith
Java Tech Enthusiast
Java Tech Enthusiast
Aug 20, 2023 · Fundamentals

Tweetable Mathematical Art: Generating Images with Compact C++ Functions

The Tweetable Mathematical Art contest challenges participants to craft three ultra‑compact C++ functions—each under 140 characters—to compute red, green, and blue values for every pixel of a 1024×1024 image, yielding striking patterns ranging from trigonometric color wheels to Mandelbrot fractals and diffusion‑limited aggregations.

C++algorithmic artcode golf
0 likes · 15 min read
Tweetable Mathematical Art: Generating Images with Compact C++ Functions
Deepin Linux
Deepin Linux
Aug 18, 2023 · Fundamentals

Design and Implementation of a High‑Concurrency Memory Pool in C++

This article presents a comprehensive design and implementation of a high‑concurrency memory pool in C++, covering concepts such as fixed‑size block allocation, thread‑local caches, central and page caches, lock‑free techniques, span management, and performance benchmarking against standard malloc.

C++Thread Cacheconcurrency
0 likes · 57 min read
Design and Implementation of a High‑Concurrency Memory Pool in C++
Continuous Delivery 2.0
Continuous Delivery 2.0
Jul 13, 2023 · Operations

Accelerating C++ Build Times with distcc, ccache, and Docker Containers

This article explains how to dramatically reduce C++ compilation time by distributing build jobs with distcc, caching results with ccache, and orchestrating the setup using Docker containers, providing step‑by‑step configuration, performance comparisons, and practical tips for heterogeneous machine clusters.

C++Dockerbuild acceleration
0 likes · 9 min read
Accelerating C++ Build Times with distcc, ccache, and Docker Containers
21CTO
21CTO
Jun 21, 2023 · Fundamentals

What’s New in C++26? Upcoming Concurrency Features and Language Changes

Herb Sutter reveals that the ISO C++ committee has approved the C++26 schedule, promising major concurrency and parallelism enhancements, new language features like wildcard support and dangerous pointers, while discussing competition from Rust, Google’s Carbon, and his experimental cppfront project.

C++C++26concurrency
0 likes · 4 min read
What’s New in C++26? Upcoming Concurrency Features and Language Changes
ByteDance SYS Tech
ByteDance SYS Tech
May 26, 2023 · Fundamentals

Unlock Faster C++ Performance: Practical Jemalloc Optimization Techniques

This article explains the fundamentals of Linux memory allocation, introduces Jemalloc’s core algorithms and data structures, and provides concrete optimization steps—including arena tuning, tcache configuration, and slab size adjustments—to achieve measurable CPU savings in high‑concurrency C++ services.

ArenaC++jemalloc
0 likes · 19 min read
Unlock Faster C++ Performance: Practical Jemalloc Optimization Techniques