Tagged articles
366 articles
Page 3 of 4
vivo Internet Technology
vivo Internet Technology
Apr 19, 2023 · Fundamentals

Coroutines and Their Implementation in Tars C++

The article introduces coroutine fundamentals and classifications, then explains how the Tars C++ framework (v3.0.0) implements stackful, symmetric coroutines using Boost.Context for user‑mode context switching and an epoll‑driven scheduler that manages coroutine lifecycles, states, and operations such as go, yield, sleep, and put.

C++SchedulerTars
0 likes · 13 min read
Coroutines and Their Implementation in Tars C++
Liangxu Linux
Liangxu Linux
Apr 15, 2023 · Fundamentals

Why Your C++ Build Fails: Hidden Pitfalls in 64‑Bit Linux Compilation & Linking

This article explains the four common compilation and linking problems C/C++ developers encounter on 64‑bit Linux, covering preprocessing, ELF object formats, static library ordering, dynamic linking mechanics, symbol interposition, and runtime loading pitfalls, and provides concrete solutions for each.

C++CompilationDynamic Loading
0 likes · 15 min read
Why Your C++ Build Fails: Hidden Pitfalls in 64‑Bit Linux Compilation & Linking
Tencent Cloud Developer
Tencent Cloud Developer
Apr 6, 2023 · Operations

Tencent Meeting C++ Cross-Platform Compilation Acceleration Practice

By adopting a unified architecture and a pre‑compilation strategy that leverages CI, git‑diff module detection, version‑managed manifests, and platform‑specific build tools, Tencent Meeting cut its C++ cross‑platform compile times from minutes to seconds, achieving up to 99 % speedup across Windows, Android, iOS and macOS.

C++CMakeCompilation Optimization
0 likes · 30 min read
Tencent Meeting C++ Cross-Platform Compilation Acceleration Practice
Architecture Digest
Architecture Digest
Mar 6, 2023 · Fundamentals

The Performance Cost of Clean Code: How Following Clean‑Code Rules Can Slow Down Your Program

This article examines how strict adherence to clean‑code principles—such as using polymorphism, keeping functions tiny, and avoiding switch statements—can dramatically increase the number of CPU cycles required for simple area‑calculation loops, presenting benchmark results that show performance penalties of up to fifteen‑fold.

BenchmarkC++Polymorphism
0 likes · 20 min read
The Performance Cost of Clean Code: How Following Clean‑Code Rules Can Slow Down Your Program
Programmer DD
Programmer DD
Mar 3, 2023 · Fundamentals

Why Clean Code Can Slow Your C++ Programs by 15× – A Performance Deep Dive

An extensive performance analysis shows that strictly following clean‑code rules—such as using polymorphism, avoiding switch statements, and keeping functions tiny—can dramatically increase execution time, with measured slowdowns up to fifteen times, while alternative table‑driven or flat‑structure approaches achieve orders‑of‑magnitude speed gains.

C++Polymorphismclean code
0 likes · 24 min read
Why Clean Code Can Slow Your C++ Programs by 15× – A Performance Deep Dive
Tencent Cloud Developer
Tencent Cloud Developer
Jan 26, 2023 · Operations

Technical Article Digest: Operations, AI, Web3, Rust, Big Data, and More

This technical digest surveys Tencent’s health‑code operations architecture, dissects ChatGPT’s training pipeline, contrasts Web 2.0 and Web 3.0 on Ethereum, explains AI‑generated art, details WeChat’s overload controls and QQ Music’s high‑availability design, examines the rapid scaling of the “Sheep Sheep” mini‑game, introduces Rust for front‑end developers, showcases big‑data football prediction models, and outlines common C++ pitfalls and best‑practice recommendations.

Big DataC++Rust
0 likes · 7 min read
Technical Article Digest: Operations, AI, Web3, Rust, Big Data, and More
ByteDance SYS Tech
ByteDance SYS Tech
Dec 9, 2022 · Fundamentals

How Sanitizer Interceptors Detect Memory Bugs in Linux C++ Programs

This article explains the principles behind Google’s sanitizer tools, especially AddressSanitizer, covering symbol interposition, the interceptor mechanism, and how these techniques replace libc functions to reliably locate memory and thread errors in C++ applications on Linux.

AddressSanitizerC++Memory Debugging
0 likes · 18 min read
How Sanitizer Interceptors Detect Memory Bugs in Linux C++ Programs
Tencent Cloud Developer
Tencent Cloud Developer
Dec 8, 2022 · Backend Development

Applying Domain-Driven Design (DDD) in a High‑Throughput E‑Commerce System: Concepts, Layers, and Practical Code

The article explains how a WeChat e‑commerce team adopted Domain‑Driven Design, reorganizing a fast‑paced, multi‑team project into a four‑layer onion architecture with strategic sub‑domains, bounded contexts, anti‑corruption layers, domain events, aggregates, repositories and services, to achieve maintainability, extensibility, cohesion and loose coupling.

Backend DevelopmentC++CQRS
0 likes · 21 min read
Applying Domain-Driven Design (DDD) in a High‑Throughput E‑Commerce System: Concepts, Layers, and Practical Code
Programmer DD
Programmer DD
Dec 7, 2022 · Fundamentals

C++ Overtakes Java: Key Takeaways from the TIOBE December 2022 Rankings

The TIOBE Index for December 2022 shows C++ surpassing Java to enter the top three, while Python and C remain leaders, and highlights shifting positions for languages like SQL, Assembly, Kotlin, Julia, and emerging trends across the top 20 programming languages.

C++JavaLanguage Popularity
0 likes · 5 min read
C++ Overtakes Java: Key Takeaways from the TIOBE December 2022 Rankings
ByteDance SYS Tech
ByteDance SYS Tech
Dec 2, 2022 · Backend Development

How Sonic‑CPP Boosts JSON Parsing Speed 2.5× Faster Than RapidJSON

Sonic‑CPP, an open‑source C++ JSON library co‑developed by ByteDance’s STE and Service Framework teams, leverages SIMD vectorization, optimized memory layout, on‑demand parsing, and a compact DOM design to achieve up to 2.5× faster parsing than RapidJSON and competitive serialization performance, with extensive benchmark results and production‑grade usage.

C++JSONSIMD
0 likes · 13 min read
How Sonic‑CPP Boosts JSON Parsing Speed 2.5× Faster Than RapidJSON
Open Source Linux
Open Source Linux
Nov 28, 2022 · Fundamentals

Which Major Software Was Built with C and C++? A Comprehensive List

This article compiles an extensive list of operating systems, graphical interfaces, desktop search tools, office suites, databases, browsers, email clients, IDEs, virtual machines, server software, and many other applications, highlighting the programming languages—primarily C, C++, and occasionally assembly or Java—used to develop each of them.

C++Technology Stackprogramming languages
0 likes · 11 min read
Which Major Software Was Built with C and C++? A Comprehensive List
Tencent Cloud Developer
Tencent Cloud Developer
Nov 4, 2022 · Fundamentals

Understanding Complex C++ Syntax and Language Features: A Comprehensive Guide

The guide thoroughly explains C++’s intricate syntax and language features—from historic C inheritance, array handling, and implicit conversions to enums, macros, and const correctness—while detailing modern C++11 concepts like rvalue references, move semantics, reference collapsing, perfect forwarding, and auto deduction to help developers avoid pitfalls and write cleaner, efficient code.

C++language featurespointers
0 likes · 50 min read
Understanding Complex C++ Syntax and Language Features: A Comprehensive Guide
Tencent Cloud Developer
Tencent Cloud Developer
Nov 2, 2022 · Fundamentals

C++ Performance Traps: Hidden Costs of Abstraction and Compiler Optimization Pitfalls

Modern C++ performance suffers when seemingly harmless abstractions—such as virtual functions, hidden copies, non‑trivial destructors, overused std::shared_ptr, type‑erasing wrappers, std::variant/optional, and std::async—prevent inlining and efficient memory use, while patterns like std::move on returns, hidden destructors in tail recursion, and branchy loops thwart NRVO, tail‑call, and auto‑vectorization optimizations.

C++Compiler OptimizationNRVO
0 likes · 16 min read
C++ Performance Traps: Hidden Costs of Abstraction and Compiler Optimization Pitfalls
21CTO
21CTO
Oct 10, 2022 · Information Security

Top 10 Programming Languages Every Cybersecurity Professional Should Master

This article introduces the ten most important programming languages for cybersecurity, explains why each language matters, and shows how mastering them can boost your ability to protect systems, detect threats, and build secure applications in an increasingly digital world.

C++JavaScriptPython
0 likes · 10 min read
Top 10 Programming Languages Every Cybersecurity Professional Should Master
21CTO
21CTO
Sep 22, 2022 · Fundamentals

Why Is Microsoft’s Azure CTO Calling for the End of C/C++? The Rise of Rust

Microsoft Azure CTO Mark Russinovich argues that C and C++ should be retired for new projects in favor of Rust, highlighting memory‑safety benefits, industry adoption challenges, and responses from language creators, while examining the broader impact on system software development.

C++Memory SafetyRust
0 likes · 7 min read
Why Is Microsoft’s Azure CTO Calling for the End of C/C++? The Rise of Rust
Tencent Cloud Developer
Tencent Cloud Developer
Aug 23, 2022 · Backend Development

Understanding Asio Coroutine Implementation in C++20

The article explains how Asio implements C++20 coroutine support by converting callback‑based async operations into awaitables with use_awaitable, launching them via co_spawn and co_spawn_entry_point, handling result propagation and thread dispatch, and providing parallel composition operators (&&, ||) for concurrent awaiting.

AsioAsyncC++
0 likes · 26 min read
Understanding Asio Coroutine Implementation in C++20
Tencent Cloud Developer
Tencent Cloud Developer
Aug 9, 2022 · Backend Development

Deep Dive into Asio Scheduler, Strand, and Timer Implementation

The article thoroughly examines Asio’s core mechanisms—its scheduler’s post handling, the strand’s lock‑based ordering, and the timer subsystem’s heap‑driven queues—detailing executor operations, multi‑threaded execution paths, platform‑specific timer schedulers, and the efficient C++ techniques that enable high‑performance asynchronous programming.

AsioC++Networking
0 likes · 38 min read
Deep Dive into Asio Scheduler, Strand, and Timer Implementation
Tencent Cloud Developer
Tencent Cloud Developer
Aug 5, 2022 · Fundamentals

Understanding C++ Move Semantics and std::forward

The article explains C++11 move semantics, showing how std::move forces rvalue treatment and how std::forward preserves value categories for perfect forwarding, illustrating copy vs. move constructors, custom move implementations, and the performance benefits of eliminating unnecessary copies.

C++C++11move semantics
0 likes · 20 min read
Understanding C++ Move Semantics and std::forward
21CTO
21CTO
Jul 28, 2022 · Backend Development

Why Meta Chose Rust, Hack, Python, and C++ as Its Core Backend Languages

Meta has officially added Rust, Hack, Python, and C++ as its preferred backend languages, outlining strict criteria such as core library support, security, operational risk, expertise, and developer experience, while also noting community‑supported languages and its long‑term commitment to Rust amid broader VR ambitions.

Backend DevelopmentC++Meta
0 likes · 6 min read
Why Meta Chose Rust, Hack, Python, and C++ as Its Core Backend Languages
21CTO
21CTO
Jul 21, 2022 · Fundamentals

Why Google’s New Carbon Language Could Be the Future Successor to C++

Google engineer Chandler Caruth unveiled Carbon, an experimental C++ successor designed to match C++ performance while offering seamless interoperability and a smoother migration path, highlighting its roadmap, key features, and the challenges it aims to solve in modern systems programming.

C++Carbon languageInteroperability
0 likes · 5 min read
Why Google’s New Carbon Language Could Be the Future Successor to C++
Tencent Cloud Developer
Tencent Cloud Developer
Jul 18, 2022 · Fundamentals

Compile-Time Polymorphism in C++: Implementation with folly::poly and dyno

The article explains how compile‑time polymorphism in modern C++—using libraries like folly::poly and dyno—can replace traditional virtual‑table based runtime polymorphism by employing small‑object optimization, compile‑time generated VTables, and type‑erased wrappers, delivering near‑virtual performance without inheritance or heap allocation.

C++Type Erasurecompile-time polymorphism
0 likes · 20 min read
Compile-Time Polymorphism in C++: Implementation with folly::poly and dyno
Tencent Cloud Developer
Tencent Cloud Developer
Jul 14, 2022 · Fundamentals

Implementation Details of Scheduler and Context in libunifex (CPU Thread Execution Context)

The article explains libunifex’s CPU‑thread scheduler architecture, detailing how a lightweight scheduler wraps a manual_event_loop execution context with a mutex‑protected FIFO task queue, how operations bridge receivers to the context, and outlines various thread‑bound and platform‑specific scheduler variants.

AsyncC++Execution Context
0 likes · 16 min read
Implementation Details of Scheduler and Context in libunifex (CPU Thread Execution Context)
Tencent Cloud Developer
Tencent Cloud Developer
Jul 7, 2022 · Backend Development

libunifex Structured Concurrency Implementation Analysis

The article thoroughly examines libunifex’s structured concurrency implementation, detailing its DSL‑based execution framework and the three core components—Sender Factory, Sender Adapter, and Receiver—through examples like just(), then(), and sync_wait(), and explains how these pieces combine to build asynchronous pipelines.

Async ExecutionC++CPO
0 likes · 14 min read
libunifex Structured Concurrency Implementation Analysis
Tencent Cloud Developer
Tencent Cloud Developer
Jun 29, 2022 · Fundamentals

C++ Asynchronous Programming: Understanding libunifex and Sender/Receiver Model

This article thoroughly explains libunifex’s sender/receiver model for C++ asynchronous programming, covering its design goals, module structure, pipeline composition, key functions like schedule, then, sync_wait, and the connect/start mechanisms, while demonstrating practical examples and integration with C++20 coroutines and cancellation support.

C++CoroutinesPipeline
0 likes · 16 min read
C++ Asynchronous Programming: Understanding libunifex and Sender/Receiver Model
Tencent Cloud Developer
Tencent Cloud Developer
Jun 22, 2022 · Fundamentals

Understanding C++ Customization Points: CPO, tag_invoke, and Ranges

This article explains how modern C++ libraries achieve extensible interfaces using Customization Point Objects and the tag_invoke mechanism, compares classic techniques, details the implementation of ranges::begin, and shows how tag_invoke provides a scalable, concept‑friendly alternative for generic library design.

C++CPOCustomization Point Object
0 likes · 17 min read
Understanding C++ Customization Points: CPO, tag_invoke, and Ranges
IT Services Circle
IT Services Circle
Jun 1, 2022 · Backend Development

Key Knowledge Points for C++ Backend Development (Image Overview)

This article presents a series of images that quickly review essential C++ backend development topics, highlighting low‑level concepts such as memory management, inter‑process communication, network programming, and the importance of databases and Linux, while comparing C++ to Java backend routes.

Backend DevelopmentC++Memory Management
0 likes · 3 min read
Key Knowledge Points for C++ Backend Development (Image Overview)
vivo Internet Technology
vivo Internet Technology
May 25, 2022 · Fundamentals

Improving C/C++ Unit Test Development Efficiency with GCC Plugins

The article proposes a GCC‑plugin‑based tool called TU that automatically extracts AST information from C/C++ source files to generate boundary unit tests, custom cases, and mocks without modifying business code, dramatically reducing the manual effort required for comprehensive test development.

ASTC++Mock
0 likes · 11 min read
Improving C/C++ Unit Test Development Efficiency with GCC Plugins
Tencent Cloud Developer
Tencent Cloud Developer
May 16, 2022 · Fundamentals

Lock‑Free Queues: Use Cases, Implementations, and Performance Analysis

The article explains when lock‑free queues are needed, why they outperform locked alternatives, presents single‑producer and multi‑producer implementations with detailed code, benchmarks their throughput versus mutex‑based queues, and concludes they excel for low‑contention or dominant‑producer scenarios but may lag under high contention.

C++concurrencylock-free queue
0 likes · 33 min read
Lock‑Free Queues: Use Cases, Implementations, and Performance Analysis
IT Services Circle
IT Services Circle
Apr 9, 2022 · Fundamentals

Using Cppcheck for Static Code Analysis in C/C++ Projects

This article explains why static analysis is essential for C/C++ development, compares compiler warnings with dedicated tools, introduces cppcheck, shows how to install and use it on sample programs, and demonstrates its ability to uncover bugs that compilers often miss.

C++bug detectioncode quality
0 likes · 8 min read
Using Cppcheck for Static Code Analysis in C/C++ Projects
IT Services Circle
IT Services Circle
Apr 9, 2022 · Fundamentals

Finding the Majority QQ Number: Moore Voting Algorithm Explained

This article explains a Tencent interview question requiring identification of a QQ number appearing more than half the time among 2N entries, discusses naive sorting and hashmap approaches, and presents the optimal O(N) time, O(1) space Moore voting algorithm with a complete C++ implementation and sample output.

C++Moore votingalgorithm
0 likes · 6 min read
Finding the Majority QQ Number: Moore Voting Algorithm Explained
Open Source Linux
Open Source Linux
Apr 8, 2022 · Fundamentals

Which OS Powers Modern Aircraft? Exploring VxWorks and Integrity-178B

This article explains the real‑time operating systems used in modern aircraft, detailing how VxWorks powers Boeing 787 and AH‑64, Integrity‑178B runs on platforms like the F‑35 and Airbus A380, and why the industry is shifting from ADA to C++ for safety‑critical software development.

ADAC++Integrity-178B
0 likes · 6 min read
Which OS Powers Modern Aircraft? Exploring VxWorks and Integrity-178B
IT Services Circle
IT Services Circle
Mar 31, 2022 · Fundamentals

A Pure C++ Learning Path and Resource Guide

This article presents a comprehensive, language‑only C++ learning roadmap, detailing essential concepts, recommended books for each stage, practical coding exercises, advanced topics such as STL source, object model, language design, and curated video tutorials to help learners master C++ efficiently.

BooksC++Learning Path
0 likes · 11 min read
A Pure C++ Learning Path and Resource Guide
IT Services Circle
IT Services Circle
Mar 25, 2022 · Fundamentals

Curated List of Free C++ Learning Resources and Websites

This article compiles a comprehensive collection of free C++ learning resources, including tutorial sites, source code repositories, FAQs, reference manuals, and open‑source libraries, to help developers progress beyond basic concepts and deepen their programming expertise.

C++learningprogramming resources
0 likes · 5 min read
Curated List of Free C++ Learning Resources and Websites
Refining Core Development Skills
Refining Core Development Skills
Mar 23, 2022 · Backend Development

Understanding RPC and Its Implementation with SRPC in C++

This article explains the concepts, components, and lifecycle of Remote Procedure Call (RPC), compares it with HTTP, and demonstrates how to use the open‑source C++ SRPC framework to build client and server applications, including code generation, serialization, compression, and protocol handling.

C++IDLNetwork Protocols
0 likes · 11 min read
Understanding RPC and Its Implementation with SRPC in C++
Laravel Tech Community
Laravel Tech Community
Mar 21, 2022 · Backend Development

gRPC Core v1.45.0 Release Notes – New Features and Fixes

gRPC Core version 1.45.0 introduces numerous updates including XDS error handling, core version upgrade, memory leak fixes, transparent retries, channel credential improvements, Windows memory leak resolution, xDS RBAC filter updates, as well as language‑specific enhancements for C++, C#, Objective‑C, and Python.

C++gRPC
0 likes · 3 min read
gRPC Core v1.45.0 Release Notes – New Features and Fixes
Tencent Cloud Developer
Tencent Cloud Developer
Mar 21, 2022 · Game Development

Implementing a Lua Bridge with C++ Reflection – Lura Library Overview

The article shows how the Lura library uses C++ reflection to build a concise Lua bridge that automatically registers functions, properties, and object lifecycles via userdata and meta‑tables, simplifying bridge code compared to traditional libraries while supporting coroutines and profiling.

C++CodeGenerationGameDevelopment
0 likes · 23 min read
Implementing a Lua Bridge with C++ Reflection – Lura Library Overview
Liangxu Linux
Liangxu Linux
Mar 14, 2022 · Fundamentals

Why Do Programmers Use the Mysterious ‘deadbeef’ Magic Number?

The article explores the origin and purpose of the infamous deadbeef constant and other so‑called magic numbers in C/C++ code, explains why they appear, shows real examples, and advises developers to replace them with named constants for clearer, safer code.

C++Software Engineeringcode readability
0 likes · 4 min read
Why Do Programmers Use the Mysterious ‘deadbeef’ Magic Number?
IT Services Circle
IT Services Circle
Mar 2, 2022 · Fundamentals

Union-Find Solution for Determining Friend Circles (Alibaba Interview Question)

This article explains an Alibaba interview problem about counting friend circles using the union‑find (disjoint set) data structure, provides a detailed conceptual analysis, visual illustrations, and a complete C++ implementation that determines whether two people belong to the same circle and computes the total number of distinct circles.

C++Friend Circledisjoint-set
0 likes · 6 min read
Union-Find Solution for Determining Friend Circles (Alibaba Interview Question)
Tencent Cloud Developer
Tencent Cloud Developer
Feb 24, 2022 · Fundamentals

Understanding Property Registration and Runtime Access in a C++ Reflection Framework

The article dissects the Ponder C++ reflection library’s Property subsystem, explaining how registration via ClassBuilder creates property entries, how traits and ValueBinders map members to abstract Property objects, and how runtime Get/Set calls traverse templated binders to provide type‑safe, high‑performance access.

C++PropertyRuntime
0 likes · 16 min read
Understanding Property Registration and Runtime Access in a C++ Reflection Framework
Tencent Cloud Developer
Tencent Cloud Developer
Feb 22, 2022 · Fundamentals

C++ Runtime Reflection Implementation Overview with Code Examples

The article explains how to implement a runtime reflection system for C++ using the Ponder library, detailing type registration, property and function metadata, builder-generated meta‑objects, type‑erasure wrappers like UserObject and Value, and runtime APIs for dynamic object creation and invocation.

C++FrameworkPonder
0 likes · 29 min read
C++ Runtime Reflection Implementation Overview with Code Examples
Tencent Cloud Developer
Tencent Cloud Developer
Feb 14, 2022 · Cloud Computing

Feedback‑Driven Compiler Optimizations for Cloud C/C++ Applications

The article shows how profiling‑driven compiler and OS techniques—such as sampling and instrumentation PGO, BOLT code layout, AutoFDO pipelines, basic‑block reordering, partial inlining, branch and function reordering—can alleviate instruction‑cache and front‑end stalls in large C/C++ cloud workloads, delivering up to 18 % performance gains.

C++Compiler OptimizationProfile Guided Optimization
0 likes · 16 min read
Feedback‑Driven Compiler Optimizations for Cloud C/C++ Applications
IT Architects Alliance
IT Architects Alliance
Feb 12, 2022 · Mobile Development

Building a C++ Cross‑Platform Framework for WeChat Pay: Architecture, Routing, and Quality Assurance

This article details how a C++‑based cross‑platform framework was designed for WeChat Pay to unify iOS and Android implementations, improve scalability, quality assurance, and developer productivity through use‑case abstraction, a routing mechanism, and refined network and data handling.

C++Mobile DevelopmentWeChat Pay
0 likes · 14 min read
Building a C++ Cross‑Platform Framework for WeChat Pay: Architecture, Routing, and Quality Assurance
Tencent Cloud Developer
Tencent Cloud Developer
Feb 8, 2022 · Fundamentals

From C++ to Rust: Error Handling and Lifetimes

The article, the second in the “From C++ to Rust” series, explains how Rust replaces C++’s return‑value and exception error handling with the Result type, the ? operator, and the thiserror/anyhow crates, and introduces Rust’s lifetime system, borrow checker, elision rules, variance, and common misconceptions for developers transitioning from C++.

C++Error HandlingLifetimes
0 likes · 19 min read
From C++ to Rust: Error Handling and Lifetimes
IT Services Circle
IT Services Circle
Feb 5, 2022 · Fundamentals

Understanding && in C++: Rvalue References, Forwarding References, and Their Use as Function Parameters

The article explains the different meanings of the && operator in C++—as a true rvalue reference in non‑template functions, as a forwarding (universal) reference in templates, and its behavior when binding to function return values—illustrated with code examples and practical guidelines.

C++Function Parametersforwarding reference
0 likes · 5 min read
Understanding && in C++: Rvalue References, Forwarding References, and Their Use as Function Parameters
Tencent Cloud Developer
Tencent Cloud Developer
Jan 24, 2022 · Fundamentals

Understanding Move Semantics in C++11

Move semantics in C++11 let objects transfer ownership of resources via rvalue references and std::move, eliminating costly copies, improving performance, requiring explicit move constructors and assignment operators—preferably marked noexcept—to keep source objects valid, enable container optimizations, and work with NRVO when copying would otherwise occur.

C++C++11Resource Management
0 likes · 23 min read
Understanding Move Semantics in C++11
Tencent Cloud Developer
Tencent Cloud Developer
Jan 4, 2022 · Fundamentals

Smart Pointers in C++: Problems Solved, Usage, Best Practices, and Implementation Details

C++11 smart pointers—unique_ptr, shared_ptr, and weak_ptr—replace manual new/delete by providing exclusive, shared, and non‑owning ownership semantics, automatically preventing leaks and dangling references, simplifying multithreaded code, and, when used with best‑practice guidelines, avoid common pitfalls such as double deletions and cyclic dependencies.

C++multithreadingshared_ptr
0 likes · 24 min read
Smart Pointers in C++: Problems Solved, Usage, Best Practices, and Implementation Details
NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
Dec 2, 2021 · Fundamentals

Master C++20 Coroutines: From Basics to Advanced Examples

This article walks through C++20 coroutines with clear explanations, three runnable examples, deep dives into promise_type, coroutine_handle, co_await, co_yield and co_return, and shows how to build both void‑returning and int‑returning coroutines while illustrating the compiler‑generated control flow.

C++C++20Coroutines
0 likes · 21 min read
Master C++20 Coroutines: From Basics to Advanced Examples
21CTO
21CTO
Nov 19, 2021 · Artificial Intelligence

Top Programming Languages Powering Modern AI: Benefits & Use Cases

This article reviews the most suitable programming languages for artificial intelligence, explaining why Python, R, Java, LISP, Prolog, C++, Haskell, JavaScript, and Julia excel in AI development and outlining their key advantages and typical applications.

AIC++Java
0 likes · 16 min read
Top Programming Languages Powering Modern AI: Benefits & Use Cases
21CTO
21CTO
Nov 14, 2021 · Fundamentals

What’s New in Visual Studio 2022? A Deep Dive into the Latest Features

Visual Studio 2022 has been officially released with a go‑live license, bringing 64‑bit support, .NET 6, C++ 20, Azure Cloud Services, hot‑reload, enhanced debugging, Git integration, UI personalization, and many other productivity improvements for developers across languages and platforms.

CC++Debugging
0 likes · 18 min read
What’s New in Visual Studio 2022? A Deep Dive into the Latest Features
Tencent Cloud Developer
Tencent Cloud Developer
Oct 14, 2021 · Fundamentals

C++ to Rust: Key Differences in Move Semantics, Option Type, and Iterator

The article compares C++ and Rust for developers switching languages, explaining how Rust enforces move semantics instead of copy defaults, uses the safe Option enum with exhaustive pattern matching instead of nullable pointers, and favors lazy, chainable iterators over index‑based loops for performance and safety.

C++IteratorMemory Safety
0 likes · 15 min read
C++ to Rust: Key Differences in Move Semantics, Option Type, and Iterator
Programmer DD
Programmer DD
Sep 8, 2021 · Fundamentals

Parse 16‑Digit Timestamps Up to 700× Faster Than std::stringstream

This article explores why standard string‑to‑integer conversions become performance bottlenecks in high‑concurrency scenarios and presents a series of increasingly optimized C++ solutions—from native library calls to loop‑unrolled, byteswap, divide‑and‑conquer, and SIMD tricks—demonstrating dramatic speed gains backed by Google Benchmark results.

C++SIMDString Parsing
0 likes · 16 min read
Parse 16‑Digit Timestamps Up to 700× Faster Than std::stringstream
Tencent Cloud Developer
Tencent Cloud Developer
Aug 31, 2021 · Backend Development

Fundamentals of gRPC: Concepts, Asynchronous Client/Server, Streaming, Protocol and Generated Code

The article explains gRPC fundamentals, illustrating service definition in .proto files, synchronous and asynchronous client and server implementations with CompletionQueue and CallData state machines, streaming RPC patterns, HTTP/2 protocol details, metadata handling, and the structure of generated stub and service code.

AsynchronousC++Protobuf
0 likes · 22 min read
Fundamentals of gRPC: Concepts, Asynchronous Client/Server, Streaming, Protocol and Generated Code
Tencent Cloud Developer
Tencent Cloud Developer
Aug 24, 2021 · Artificial Intelligence

Design and Implementation of a High‑Scoring Tetris AI for the Tencent Geek Challenge

Zheng Lin‑kai’s record‑breaking Tetris AI for the Tencent Geek Challenge combines a two‑layer breadth‑first search—stage‑level pruning in Python and fast round‑level BFS in C++—with a heuristic that rewards high score, low occupied cells, and smooth board transitions, enabling a 1,413,876‑point performance.

C++Monte Carlo Tree SearchPython
0 likes · 10 min read
Design and Implementation of a High‑Scoring Tetris AI for the Tencent Geek Challenge
Tencent Cloud Developer
Tencent Cloud Developer
Aug 9, 2021 · Fundamentals

Performance Evaluation and Implementation Overview of C++ Exceptions

Benchmarking C++ exceptions against error‑code handling reveals that frequent throws incur more than tenfold slowdown due to libc++ runtime functions like __cxa_allocate_exception and stack unwinding, while rare exceptions and empty try blocks add negligible overhead, highlighting the trade‑off between safety and performance.

AssemblyC++Exception
0 likes · 13 min read
Performance Evaluation and Implementation Overview of C++ Exceptions
Refining Core Development Skills
Refining Core Development Skills
Jul 19, 2021 · Backend Development

An In‑Depth Introduction to Sogou’s Workflow C++ Server Framework

This article presents a comprehensive overview of the open‑source Workflow framework by Sogou, highlighting its high‑performance asynchronous architecture, rich feature set, practical C++ code examples for building servers and clients, and detailed explanations of its task‑flow and timer implementations for backend developers.

AsynchronousC++Framework
0 likes · 12 min read
An In‑Depth Introduction to Sogou’s Workflow C++ Server Framework
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jun 18, 2021 · Fundamentals

Implementing Unit Testing for the PC Teacher Desktop Application Using GoogleTest and Mocking

This article describes how the PC teacher desktop client adopts a layered MVL architecture, introduces unit testing with GoogleTest and GoogleMock, explains the underlying TEST and RUN_ALL_TESTS macro mechanisms, demonstrates mock view implementation, and shows how code coverage is measured to achieve targeted test coverage levels.

C++MockingSoftware Engineering
0 likes · 15 min read
Implementing Unit Testing for the PC Teacher Desktop Application Using GoogleTest and Mocking
vivo Internet Technology
vivo Internet Technology
May 26, 2021 · Backend Development

Dynamic Load Balancing Algorithms in the TARS Microservice Framework

The Vivo Internet Server Team extended TARS with a dynamic load‑balancing algorithm that recalculates each node’s weight every minute using metrics such as 5‑minute average response time, timeout and exception rates, CPU, memory and network load, automatically adapting traffic distribution beyond the built‑in round‑robin, weighted round‑robin and consistent‑hash methods.

C++Dynamic WeightMicroservices
0 likes · 13 min read
Dynamic Load Balancing Algorithms in the TARS Microservice Framework
Liangxu Linux
Liangxu Linux
May 13, 2021 · Frontend Development

Build a Qt Launcher with QML: A Complete Step‑by‑Step Guide

This tutorial walks you through creating a Qt‑based application launcher using QML and C++, covering project setup, parsing Linux .desktop files, designing a swipeable UI, displaying icons, handling selection, and launching applications via QProcess.

C++Desktop IntegrationQML
0 likes · 8 min read
Build a Qt Launcher with QML: A Complete Step‑by‑Step Guide
HelloTech
HelloTech
Apr 25, 2021 · Mobile Development

Flutter Native Interaction: Platform Channel vs FFI Comparison

The article compares Flutter’s native interaction methods, explaining how Platform Channels use message codecs and thread switching for method calls, while FFI lets Dart directly invoke C functions, offering superior performance but more boilerplate, and discusses trade‑offs, implementation details, and a benchmark showing the speed gap.

C++DARTFFI
0 likes · 8 min read
Flutter Native Interaction: Platform Channel vs FFI Comparison
21CTO
21CTO
Apr 24, 2021 · Backend Development

Unlocking C++ Performance: Surprising Memory‑Access Tricks from Baidu Engineers

This article explores Baidu C++ engineers' deep‑dive into performance optimization, covering memory‑access patterns, string‑buffer handling, protobuf merging, malloc strategies, job‑arena allocation, cache‑line effects, and modern memory‑order semantics to achieve multi‑fold speedups in large‑scale backend services.

Backend DevelopmentC++Performance Optimization
0 likes · 33 min read
Unlocking C++ Performance: Surprising Memory‑Access Tricks from Baidu Engineers
Liangxu Linux
Liangxu Linux
Feb 6, 2021 · Backend Development

Why Standard malloc Slows You Down and How Custom Memory Pools Supercharge Performance

Although malloc is a universal allocator, its lack of scenario-specific optimization makes it unsuitable for high‑performance server applications; this article explains malloc’s internal workflow, compares it with custom memory‑pool techniques, and details various pool designs, thread‑safety strategies, and an interesting cross‑thread free problem.

Backend DevelopmentC++Memory Management
0 likes · 14 min read
Why Standard malloc Slows You Down and How Custom Memory Pools Supercharge Performance
Liangxu Linux
Liangxu Linux
Feb 1, 2021 · Fundamentals

Mastering C/C++ Comment Standards: A Practical Guide

This guide explains why comments are essential for code readability, outlines various comment styles for C/C++—including file, function, variable, spelling, and TODO comments—and provides concrete examples and best‑practice recommendations to help developers write clear, maintainable code.

C++Documentationbest practices
0 likes · 6 min read
Mastering C/C++ Comment Standards: A Practical Guide
21CTO
21CTO
Jan 21, 2021 · R&D Management

Inside the 12‑Year Nightmare: How a 6‑Million‑Line C++ Project Became a Software Hell

This article recounts a twelve‑year‑long French government software project that amassed over six million lines of C++ code, suffered from outdated technology, chaotic version control, absurd management policies, and ultimately collapsed, offering stark lessons for developers and project leaders.

C++Legacy CodeSoftware Engineering
0 likes · 13 min read
Inside the 12‑Year Nightmare: How a 6‑Million‑Line C++ Project Became a Software Hell
Laravel Tech Community
Laravel Tech Community
Dec 29, 2020 · Fundamentals

Apache Ignite 2.9.1 Release Notes

The Apache Ignite 2.9.1 release introduces new features such as graceful shutdown for ZookeeperDiscoverySpi, system views for binary metadata and metadata storage, and numerous bug fixes across core, Java thin client, JDBC, .NET, and C++ components, improving stability, performance, and compatibility.

Apache IgniteBug FixesC++
0 likes · 5 min read
Apache Ignite 2.9.1 Release Notes
21CTO
21CTO
Dec 26, 2020 · Fundamentals

Why Bjarne Stroustrup Calls C++20 the Biggest Release Since C++11

In a recent global C++ conference, Bjarne Stroustrup outlined the major features of C++20, explained his design philosophy of simplicity, balance, freedom and friendliness, and highlighted how C++ continues to serve a wide range of domains while offering guidance for learning and future evolution.

Bjarne StroustrupC++C++20
0 likes · 14 min read
Why Bjarne Stroustrup Calls C++20 the Biggest Release Since C++11
Liangxu Linux
Liangxu Linux
Dec 22, 2020 · Fundamentals

Mastering Processes and Threads: 19 Essential OS Concepts Explained

This comprehensive guide covers the fundamentals of processes and threads, their definitions, relationships, creation, lifecycle, scheduling strategies, context switching, inter‑process communication methods, and practical C/C++ examples, providing a deep dive into operating‑system concepts for developers and interview preparation.

C++IPCScheduling
0 likes · 41 min read
Mastering Processes and Threads: 19 Essential OS Concepts Explained
Laravel Tech Community
Laravel Tech Community
Dec 4, 2020 · Backend Development

gRPC Core 1.34.0 Release Highlights

The gRPC Core 1.34.0 release introduces numerous improvements and bug fixes across multiple language implementations, including new environment variable security support, Unix abstract socket URIs, enhanced xDS handling, updated platform compatibility, and added support for recent PHP, Python, and Ruby versions.

CC++Core
0 likes · 5 min read
gRPC Core 1.34.0 Release Highlights
Node Underground
Node Underground
Dec 3, 2020 · Backend Development

Why N-API Is Revolutionizing Node.js Add‑On Development

This article explains how N‑API provides an ABI‑stable, cross‑version add‑on API for Node.js, outlines recent multithreading, worker‑thread, and helper function enhancements, discusses build tooling options, and offers resources for getting started and contributing to the ecosystem.

Backend DevelopmentC++N-API
0 likes · 14 min read
Why N-API Is Revolutionizing Node.js Add‑On Development
macrozheng
macrozheng
Oct 10, 2020 · Fundamentals

Why C Overtook Java in 2020: Insights from the TIOBE Index

The article examines the September 2020 TIOBE programming language index, highlighting C’s rise to the top spot, Java’s decline, the rapid growth of C++ and Python, and discusses how these trends can guide developers in choosing which language to learn.

C languageC++Java
0 likes · 5 min read
Why C Overtook Java in 2020: Insights from the TIOBE Index