Tagged articles

C++

877 articles · Page 7 of 9
Laravel Tech Community
Laravel Tech Community
Jan 4, 2022 · Fundamentals

Differences Between while(1) and for(;;) Loops in C

The article explains the syntax and semantics of while(1) and for(;;) infinite loops in C, compares their generated assembly code, and demonstrates through compiled examples that both constructs produce essentially identical machine code despite minor semantic differences.

AssemblyC++Loops
0 likes · 4 min read
Differences Between while(1) and for(;;) Loops in C
Python Programming Learning Circle
Python Programming Learning Circle
Dec 27, 2021 · Fundamentals

How to Call C/C++ Code from Python Using ctypes

This article explains how to improve Python performance by embedding C or C++ code: write the source, compile it into a shared library, and invoke its functions from Python with the ctypes module, providing step‑by‑step commands and example code for both C functions and C++ classes.

C++Dynamic LibraryInterop
0 likes · 4 min read
How to Call C/C++ Code from Python Using ctypes
Top Architect
Top Architect
Dec 7, 2021 · Mobile Development

Cross‑Platform Architecture for WeChat Pay: Reducing Bugs and Boosting Productivity

The article describes how a C++‑based cross‑platform framework, combined with UseCase abstraction, routing mechanisms, unified network request handling, and strict data‑transfer rules, solved iOS/Android inconsistencies in WeChat Pay, cut code size by 45%, kept crash rates stable, and dramatically improved development efficiency.

C++RoutingWeChat Pay
0 likes · 14 min read
Cross‑Platform Architecture for WeChat Pay: Reducing Bugs and Boosting Productivity
Douyu Streaming
Douyu Streaming
Dec 1, 2021 · Mobile Development

How to Get, Build, and Extend WebRTC m79 Source for Windows, Android, and iOS

This guide explains how to obtain the WebRTC m79 source, compile it for Windows, Android, and iOS, walk through the basic signaling and peer‑connection workflow, and implement advanced video‑capture and audio‑volume features with custom C++ extensions, while unifying the codebase across platforms.

C++CompilationWebRTC
0 likes · 19 min read
How to Get, Build, and Extend WebRTC m79 Source for Windows, Android, and iOS
Programmer DD
Programmer DD
Nov 30, 2021 · Game Development

Inside Dwarf Fortress: 20 Years, 700k Lines, and Endless Development

The article explores how Tarn Adams has single‑handedly maintained and expanded the indie game Dwarf Fortress for two decades, growing its C/C++ codebase to over 700,000 lines, funding development through donations, and continuously adding new gameplay modes and AI features without major refactoring.

ASCII graphicsC++Dwarf Fortress
0 likes · 11 min read
Inside Dwarf Fortress: 20 Years, 700k Lines, and Endless Development
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.

C++C++Debugging
0 likes · 18 min read
What’s New in Visual Studio 2022? A Deep Dive into the Latest Features
WeChat Client Technology Team
WeChat Client Technology Team
Oct 21, 2021 · Fundamentals

Why We Built Our Own C++ Coroutine Framework and How It Boosts Development Efficiency

This article explains the motivation behind creating the C++ coroutine framework "owl" for the cross‑platform WeChat client, compares callback, promise, and coroutine approaches with code examples, and details its design choices such as stackful coroutines, single‑thread scheduling, structured concurrency, and performance characteristics.

AsynchronousC++Structured Concurrency
0 likes · 19 min read
Why We Built Our Own C++ Coroutine Framework and How It Boosts Development Efficiency
Architect
Architect
Oct 15, 2021 · Databases

Performance Analysis and Optimization of Redis Cluster CLUSTER SLOTS Command

This article investigates the high CPU usage and latency observed after expanding a large Redis cluster, analyzes the root cause in the CLUSTER SLOTS implementation and client MOVED handling, proposes an optimized slot‑traversal algorithm, and demonstrates significant performance improvements through benchmarking and profiling.

C++ClusterDatabase
0 likes · 18 min read
Performance Analysis and Optimization of Redis Cluster CLUSTER SLOTS Command
vivo Internet Technology
vivo Internet Technology
Oct 13, 2021 · Databases

Performance Analysis and Optimization of Redis Cluster CLUSTER SLOTS Command

In large Redis clusters the original CLUSTER SLOTS implementation traversed every master and all 16,384 slots, causing ~52 % CPU usage and high MGET latency during migrations, but redesigning it to iterate the pre‑built slot array reduced complexity to O(total slots), cutting execution time from 2 ms to 0.17 ms and eliminating the CPU hotspot, a fix now merged into Redis 6.2.2.

C++ClusterJava
0 likes · 20 min read
Performance Analysis and Optimization of Redis Cluster CLUSTER SLOTS Command
Alibaba Terminal Technology
Alibaba Terminal Technology
Oct 11, 2021 · Mobile Development

How Android Handles ANR SIGQUIT: Signal Interception Explained

This article explains how Android captures ANR events by intercepting the SIGQUIT signal, covering the relevant signal‑handling functions (kill, signal, sigaction, sigwait, pthread_sigmask), their differences, the SignalCatcher thread implementation, and how developers can create custom SIGQUIT monitors for ANR analysis.

ANRAndroidC++
0 likes · 15 min read
How Android Handles ANR SIGQUIT: Signal Interception Explained
Programmer DD
Programmer DD
Oct 4, 2021 · Backend Development

Build a Secure SMS Verification Service with .NET – Full Code Walkthrough

This article introduces an open‑source SMS verification module, outlines essential security features such as code expiry, length limits, request throttling, and one‑time use, and provides complete C# implementations for generating, sending, and validating both image and SMS captchas.

ASP.NET CoreC++CAPTCHA
0 likes · 9 min read
Build a Secure SMS Verification Service with .NET – Full Code Walkthrough
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 30, 2021 · Fundamentals

Understanding Core Dumps and Debugging Techniques with GDB

This article explains what program core dumps are, how to interpret core‑dump files, and provides detailed GDB debugging techniques—including register inspection, stack frame analysis, variable printing, memory dumping, and handling optimized code—to locate and resolve the root causes of crashes.

AssemblyC++Linux
0 likes · 16 min read
Understanding Core Dumps and Debugging Techniques with GDB
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Sep 22, 2021 · Mobile Development

Resolving Thread Merging Issues for PlatformView in Multi‑Engine Flutter Applications

This article explains the thread‑merging problem that arises when using PlatformView in multi‑engine Flutter scenarios, analyzes its root causes in both independent and lightweight engines, and presents a comprehensive solution—including code changes, task‑queue merging logic, and practical implementation details — that has been merged into the official Flutter engine repository.

C++DARTFlutter
0 likes · 28 min read
Resolving Thread Merging Issues for PlatformView in Multi‑Engine Flutter Applications
Architect
Architect
Sep 15, 2021 · Backend Development

C++/Go Backend Interview Experiences and Preparation Tips

This article shares a 985 graduate's personal background, systematic interview preparation for C++ and Go backend positions, detailed interview question collections from major tech companies, and practical advice on study resources, project presentation, and coding practice to help candidates succeed in technical interviews.

C++Gobackend interview
0 likes · 14 min read
C++/Go Backend Interview Experiences and Preparation Tips
Selected Java Interview Questions
Selected Java Interview Questions
Sep 13, 2021 · Fundamentals

Understanding Merge Sort and Merging Two Sorted Arrays in C#

This article explains the merge sort algorithm’s divide‑and‑conquer principle, analyzes its O(n log n) time complexity, and provides two complete C# code examples—one for a generic merge sort and another for merging two already sorted arrays—along with visual illustrations of the merging process.

AlgorithmC++Divide and Conquer
0 likes · 6 min read
Understanding Merge Sort and Merging Two Sorted Arrays in C#
Tencent Cloud Developer
Tencent Cloud Developer
Aug 20, 2021 · Artificial Intelligence

How I Scored 1.38 Million in Tencent’s Tetris Challenge with AI and Dynamic Programming

This article details a graduate student's AI‑driven solution to the Tencent Geek Competition's "E‑Tetris" challenge, describing the EI‑Tetris heuristic, feature‑based evaluation, state‑pruned dynamic programming, C++ implementation, performance results, and potential improvements.

Algorithm CompetitionC++Evaluation Function
0 likes · 12 min read
How I Scored 1.38 Million in Tencent’s Tetris Challenge with AI and Dynamic Programming
TAL Education Technology
TAL Education Technology
Aug 5, 2021 · Backend Development

Understanding epoll Programming and Its Use in Redis Server

This article explains the basic network programming pattern, introduces epoll as an I/O multiplexing solution for high‑concurrency servers, and demonstrates how Redis 5.0 integrates epoll through its event‑loop abstraction with detailed code examples and debugging tips.

C++Redisepoll
0 likes · 13 min read
Understanding epoll Programming and Its Use in Redis Server
Python Programming Learning Circle
Python Programming Learning Circle
Jul 23, 2021 · Artificial Intelligence

Understanding PyTorch's Backward Propagation Engine (BP Engine)

This article explains how PyTorch's BP Engine dynamically builds the computation graph for back‑propagation, detailing its C++ class structure, thread management, task queues, and key functions such as start_threads, compute_dependencies, execute, and evaluate_function, with illustrative code examples.

BackpropagationC++Engine
0 likes · 17 min read
Understanding PyTorch's Backward Propagation Engine (BP Engine)
Taobao Frontend Technology
Taobao Frontend Technology
Jul 14, 2021 · Frontend Development

From Emscripten to WebAssembly: A Decade of Bringing C++ to the Browser

This article traces the ten‑year evolution from Emscripten’s early C++‑to‑JavaScript compiler through asm.js to modern WebAssembly, highlighting key milestones, technical challenges, performance optimizations, and real‑world applications such as games, AutoCAD, and Google Meet, while providing code examples and installation steps.

Browser PerformanceC++Emscripten
0 likes · 17 min read
From Emscripten to WebAssembly: A Decade of Bringing C++ to the Browser
php Courses
php Courses
Jul 7, 2021 · Backend Development

Understanding PHP SAPI Internals: CGI Module Structure and Startup Process

This article provides an in‑depth English overview of PHP’s SAPI architecture, detailing the CGI SAPI module structure, the core _sapi_module_struct and sapi_globals definitions, and walking through the startup sequence including sapi_startup, sapi_globals_ctor, and FastCGI initialization with code examples.

C++CGISAPI++
0 likes · 10 min read
Understanding PHP SAPI Internals: CGI Module Structure and Startup Process
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 31, 2021 · Backend Development

How libtask Implements Coroutines for High‑Performance Servers in C

libtask, a lightweight coroutine library written by Russ Cox, demonstrates how to build a cooperative multitasking scheduler in C, detailing task creation, context switching, epoll‑based I/O handling, and a non‑preemptive FIFO scheduling model that enables asynchronous I/O to appear synchronous for server development.

C++asynchronous I/Ocoroutine
0 likes · 19 min read
How libtask Implements Coroutines for High‑Performance Servers in C
Amap Tech
Amap Tech
May 28, 2021 · Cloud Native

Gaode's Serverless/FaaS Platform: Architecture, Implementation, and Business Impact

Gaode’s new serverless/FaaS platform, built on Alibaba Cloud Function Compute with custom C++, Go, and Node.js runtimes, now processes over 100 000 QPS, enabling a unified client‑cloud codebase, rapid feature iteration, automatic scaling and cost savings, while supporting extensive monitoring, Dapr integration, and future edge‑computing enhancements.

C++FaaSbackend
0 likes · 20 min read
Gaode's Serverless/FaaS Platform: Architecture, Implementation, and Business Impact
Liangxu Linux
Liangxu Linux
May 27, 2021 · Operations

How I Built an Automated Redis Sentinel to Seamlessly Handle Failover

A sysadmin narrates how he monitors four Redis nodes, detects master failure with PING, promotes a slave using SLAVEOF, reconfigures the remaining replicas, and ultimately automates the entire process with a custom Sentinel program and a multi‑node Sentinel cluster for high availability.

C++FailoverMonitoring
0 likes · 11 min read
How I Built an Automated Redis Sentinel to Seamlessly Handle Failover
DevOps
DevOps
May 10, 2021 · Backend Development

Automated Unit Test Generation for Exception Recall in C/C++ Services

This article presents a white‑box, unit‑test‑driven approach for automatically generating C/C++ test cases that detect and recall runtime stability issues, detailing problem analysis, solution design, code‑analysis, test‑data generation, code generation, failure analysis, and deployment results across large‑scale backend modules.

C++FuzzingStatic Analysis
0 likes · 19 min read
Automated Unit Test Generation for Exception Recall in C/C++ Services
Liangxu Linux
Liangxu Linux
May 1, 2021 · Fundamentals

Master Linux Kernel Coding Style: Tools, Rules, and Best Practices

This guide explains why adhering to the Linux kernel coding style matters, introduces automatic tools such as checkpatch.pl, Lindent, and astyle for fixing style violations, and details the core conventions for indentation, line length, brace placement, naming, comments, macros, and other critical aspects of kernel C code.

AstyleC++Checkpatch
0 likes · 32 min read
Master Linux Kernel Coding Style: Tools, Rules, and Best Practices
DataFunSummit
DataFunSummit
Mar 28, 2021 · Artificial Intelligence

Deploying Scikit‑learn and HMMlearn Models as High‑Performance Online Prediction Services Using ONNX

This article demonstrates how to convert traditional scikit‑learn and hmmlearn machine‑learning models into ONNX format and integrate them into a C++ gRPC service for fast online inference, covering environment setup, model conversion, custom operators, performance testing, and end‑to‑end pipeline construction.

C++Model deploymentONNX
0 likes · 22 min read
Deploying Scikit‑learn and HMMlearn Models as High‑Performance Online Prediction Services Using ONNX
ITPUB
ITPUB
Mar 28, 2021 · Fundamentals

Is C++ Really Outdated? Exploring the Debate and Real‑World Uses

The article examines the heated discussion about whether C++ is obsolete, presenting TIOBE ranking data, contrasting opinions on its relevance in various domains such as operating systems, game engines, and web development, and offering practical advice for newcomers deciding if C++ should be their first programming language.

C++Programming Languagescareer advice
0 likes · 5 min read
Is C++ Really Outdated? Exploring the Debate and Real‑World Uses
Tencent Cloud Developer
Tencent Cloud Developer
Mar 11, 2021 · Fundamentals

High-Performance Object Pool Design and Implementation

The article presents a high‑performance, thread‑safe object pool that combines thread‑local freelists, a global pool, and cache‑line‑aligned structures to reuse expensive objects, dynamically expand capacity, and achieve 50‑70% lower allocation latency than standard malloc/free and existing pool implementations.

C++lock optimizationobject-pool
0 likes · 23 min read
High-Performance Object Pool Design and Implementation
vivo Internet Technology
vivo Internet Technology
Mar 10, 2021 · Fundamentals

CPU Performance Optimization Using Top‑Down Micro‑architecture Analysis (TMAM)

The article demonstrates how Top‑down Micro‑architecture Analysis Methodology (TMAM) can quickly pinpoint CPU bottlenecks—such as front‑end, back‑end, and bad speculation stalls—in a simple C++ accumulation loop, and shows that applying targeted compiler, alignment, and branch‑prediction optimizations reduces runtime by roughly 34 % while increasing retiring slots.

C++CPU performanceTMAM
0 likes · 20 min read
CPU Performance Optimization Using Top‑Down Micro‑architecture Analysis (TMAM)
Fulu Network R&D Team
Fulu Network R&D Team
Mar 9, 2021 · Backend Development

Using FluentValidation for Model Validation in ASP.NET Core

This article explains how to integrate FluentValidation into ASP.NET Core for robust model validation, covering installation, defining validators, registering services, handling validation errors, conditional rules, cascade modes, asynchronous validation, and advanced features, with complete code examples.

ASP.NET CoreC++FluentValidation
0 likes · 10 min read
Using FluentValidation for Model Validation in ASP.NET Core
Baidu Geek Talk
Baidu Geek Talk
Feb 22, 2021 · Fundamentals

Can Embracing Hash Collisions Boost Performance? Inside B16 Hash Table

This article revisits traditional hash table design, then introduces a novel approach that deliberately leverages a controlled probability of hash collisions combined with SIMD parallelism, presenting the B16 and B16Compact hash tables, their structures, algorithms, and experimental results showing superior speed and space efficiency compared to unordered_map and F14.

B16C++Data Structures
0 likes · 17 min read
Can Embracing Hash Collisions Boost Performance? Inside B16 Hash Table
Laravel Tech Community
Laravel Tech Community
Feb 21, 2021 · Fundamentals

C/C++ Commenting Guidelines and Best Practices

This article explains the importance of comments in C/C++ code and provides detailed guidelines for file, function, variable, spelling, and TODO annotations, including examples and best‑practice recommendations to improve code readability and maintainability.

C++code commentssoftware engineering
0 likes · 6 min read
C/C++ Commenting Guidelines and Best Practices
macrozheng
macrozheng
Feb 18, 2021 · Backend Development

How Tesla Built Its Own ERP in 4 Months Using Low‑Code and C#

Tesla’s CTO Vijayan led a 25‑person team to create the company’s proprietary ERP, Warp, in just four months—starting with the low‑code platform Mendix, then rewriting it in C# on .NET for private‑cloud deployment—offering insights into rapid ERP development, low‑code choices, and architecture trade‑offs.

.NETC++Cloud Computing
0 likes · 5 min read
How Tesla Built Its Own ERP in 4 Months Using Low‑Code and C#
Java Architect Essentials
Java Architect Essentials
Feb 15, 2021 · Fundamentals

Operating Systems Used in Modern Aircraft: VxWorks, Integrity‑178B, and C++ in the F‑35

The article explains that aircraft software relies on standard computer components but requires highly reliable, robust, real‑time operating systems such as VxWorks for Boeing 787 and AH‑64, Integrity‑178B for many fighter jets and Airbus A380, and recent C++ implementations with CompCert for the F‑35, highlighting the unique demands of aerospace computing.

C++CompCertIntegrity-178B
0 likes · 4 min read
Operating Systems Used in Modern Aircraft: VxWorks, Integrity‑178B, and C++ in the F‑35
21CTO
21CTO
Feb 6, 2021 · Fundamentals

Why Are Reusable Components So Hard? A FP vs OO FizzBuzz Experiment

The article explores why building truly reusable components is challenging by comparing a concise functional F# implementation of FizzBuzz with a more verbose object‑oriented C# version, highlighting how language paradigms and design assumptions affect modularity, coupling, and extensibility.

C++F*Functional Programming
0 likes · 11 min read
Why Are Reusable Components So Hard? A FP vs OO FizzBuzz Experiment
Liangxu Linux
Liangxu Linux
Feb 3, 2021 · Fundamentals

10 Proven Techniques to Supercharge Your C Code Performance

This article presents ten practical low‑level optimization strategies—ranging from reducing computational workload and extracting common subexpressions to loop unrolling, accumulator parallelism, and conditional‑move coding—each illustrated with C examples, detailed analysis, and before‑after performance comparisons.

AssemblyC++Loops
0 likes · 18 min read
10 Proven Techniques to Supercharge Your C Code Performance
Liangxu Linux
Liangxu Linux
Jan 27, 2021 · Fundamentals

Is for(;;) Faster Than while(1) in C? A Practical Comparison

The article compares the infinite loop constructs for(;;) and while(1) in C by compiling simple programs, examining the generated assembly with gcc, and shows that both produce identical machine code, while also noting compiler warnings and style preferences.

AssemblyC++GCC
0 likes · 5 min read
Is for(;;) Faster Than while(1) in C? A Practical Comparison
Liangxu Linux
Liangxu Linux
Jan 25, 2021 · Fundamentals

How Linux Kernel Invokes Module Init Functions via fs_initcall

The article explains how the Linux kernel discovers and calls module initialization functions like inet_init by using the fs_initcall macro, which creates static initcall variables placed in specially‑named sections that the linker groups and the kernel iterates at boot time.

C++InitcallLinker
0 likes · 8 min read
How Linux Kernel Invokes Module Init Functions via fs_initcall
Architects' Tech Alliance
Architects' Tech Alliance
Jan 18, 2021 · Backend Development

Migrating Services to ARM‑Based Kunpeng Cloud Servers: Architecture Evolution, Benefits, and Practical Steps

This article explains the shift from x86 to ARM architectures, outlines why services should be migrated to ARM‑based Kunpeng cloud servers, describes Huawei's migration tools and community support, and provides concrete C/C++ migration examples and common pitfalls for backend developers.

ARMC++Cloud Computing
0 likes · 11 min read
Migrating Services to ARM‑Based Kunpeng Cloud Servers: Architecture Evolution, Benefits, and Practical Steps
Amap Tech
Amap Tech
Jan 8, 2021 · Backend Development

Applying Test‑Driven Development and GTest for Unit Testing in Gaode’s Navigation Service

Gaode’s navigation service adopted test‑driven development using Google’s GTest to replace slow diff‑based checks with fast, lightweight unit tests, enabling incremental refactoring of legacy code, improving quality, handling data‑dependency challenges, and demonstrating that writing tests first clarifies requirements while adding minimal overhead.

C++TDDbackend development
0 likes · 9 min read
Applying Test‑Driven Development and GTest for Unit Testing in Gaode’s Navigation Service
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 4, 2021 · Fundamentals

How TDD and GTest Transform Legacy Navigation Systems: A Practical Guide

This article explores how Test‑Driven Development and Google Test can improve quality and enable incremental refactoring of a complex, legacy online navigation system by addressing the shortcomings of traditional diff‑based testing, introducing unit‑testing fundamentals, and sharing practical implementation details and lessons learned.

C++RefactoringTDD
0 likes · 10 min read
How TDD and GTest Transform Legacy Navigation Systems: A Practical Guide
Architects' Tech Alliance
Architects' Tech Alliance
Jan 3, 2021 · Backend Development

Code Migration Experience: Porting C/C++ Applications from x86 to TaiShan aarch64 Servers

This article presents a comprehensive guide on migrating business code from x86 to TaiShan aarch64 servers, covering language differences, compilation toolchains, architecture‑specific issues such as compiler options, assembly rewrites, memory ordering, floating‑point behavior, and recommended GCC optimizations.

AssemblyC++aarch64
0 likes · 14 min read
Code Migration Experience: Porting C/C++ Applications from x86 to TaiShan aarch64 Servers
High Availability Architecture
High Availability Architecture
Dec 28, 2020 · Fundamentals

Performance Comparison of C and Rust Using Common Sorting Algorithms

This article benchmarks C and Rust by implementing five classic sorting algorithms—Bubble, Insertion, Selection, Shell, and Heap Sort—across three data sizes, analyzes the execution times on a macOS system, and discusses the nuanced performance differences and broader implications for language choice.

C++Programming LanguagesSorting Algorithms
0 likes · 5 min read
Performance Comparison of C and Rust Using Common Sorting Algorithms
Meituan Technology Team
Meituan Technology Team
Dec 10, 2020 · Operations

Optimizing C++ Build Times in Large-Scale Projects: Analysis and Practices

By systematically analyzing compilation stages and applying a mix of generic tactics—parallel and distributed builds, precompiled headers, ccache, C++20 modules, include pruning—and code‑level changes such as forward declarations, external templates, and replacing heavy Boost headers, the Meituan Search & NLP team cut a 20‑minute C++ build to about 100 seconds, a 70 % reduction, and instituted a compile‑fingerprint system to guard against regressions.

C++CompilationPerformance
0 likes · 23 min read
Optimizing C++ Build Times in Large-Scale Projects: Analysis and Practices
ITPUB
ITPUB
Dec 9, 2020 · Fundamentals

ImHex: The Vision‑Friendly Open‑Source Hex Editor Taking GitHub by Storm

ImHex is a rapidly popular open‑source hex editor designed for eye‑friendly binary editing, offering features such as hex view, byte patching, custom language support, multi‑architecture disassembly, data import/export, and a sleek dark‑theme UI, with compilation instructions for Windows and Linux provided.

C++Reverse Engineeringhex editor
0 likes · 7 min read
ImHex: The Vision‑Friendly Open‑Source Hex Editor Taking GitHub by Storm
Liangxu Linux
Liangxu Linux
Dec 6, 2020 · Fundamentals

Build a Linux Clipboard Translator with C, xclip, and translate-shell

This guide walks through creating a Linux word‑and‑phrase translation tool that captures selected text via the X clipboard, translates it with translate‑shell, and displays the result in the terminal, using only a few command‑line utilities and a small C program.

C++LinuxShell script
0 likes · 10 min read
Build a Linux Clipboard Translator with C, xclip, and translate-shell
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.

C++C++Python
0 likes · 5 min read
gRPC Core 1.34.0 Release Highlights
ITPUB
ITPUB
Dec 2, 2020 · Backend Development

Why Thread Safety and Reentrancy Matter in C++ Backend Development

The article uses a casual conversation between two backend engineers to introduce multithreading concepts, explain shared vs. private resources, define thread‑safe and reentrant functions, illustrate common pitfalls with code examples, and provide practical guidelines for writing correct concurrent C++ services.

C++ReentrancyThread Safety
0 likes · 11 min read
Why Thread Safety and Reentrancy Matter in C++ Backend Development
Top Architect
Top Architect
Nov 16, 2020 · Mobile Development

Building a C++ Cross‑Platform Framework for the WeChat Pay Client

This article describes how a C++‑based cross‑platform framework was created to unify iOS and Android implementations of WeChat Pay, detailing the architectural challenges, the introduction of UseCase‑driven business flow, a routing mechanism, improved network request handling, and standardized data passing that together reduced code size, improved stability, and boosted development productivity.

C++WeChat Paycross-platform
0 likes · 14 min read
Building a C++ Cross‑Platform Framework for the WeChat Pay Client
Tencent Cloud Developer
Tencent Cloud Developer
Nov 11, 2020 · Operations

An Overview of TarsBenchmark: A High‑Performance Microservice Load‑Testing Tool

TarsBenchmark is an open‑source, high‑performance microservice load‑testing tool from Tencent that uses a multi‑process, event‑driven architecture with connection reuse and lock‑free monitoring, supports extensible protocols via JSON test cases, and offers both single‑machine and cloud‑distributed testing, outperforming traditional tools like Apache Bench, Wrk, and JMeter.

C++Distributed TestingTarsBenchmark
0 likes · 22 min read
An Overview of TarsBenchmark: A High‑Performance Microservice Load‑Testing Tool
Qunar Tech Salon
Qunar Tech Salon
Nov 6, 2020 · Fundamentals

Understanding Android System Property Service: Architecture, Data Structures, and APIs

This article explains the Android Property system, detailing its shared‑memory architecture, the trie‑based data structures (prop_bt, prop_area, prop_info), the initialization flow in the init process, the core C APIs for adding, reading, updating and iterating properties, and the Java SystemProperties wrapper used by applications.

AndroidC++JNI
0 likes · 23 min read
Understanding Android System Property Service: Architecture, Data Structures, and APIs
FunTester
FunTester
Oct 20, 2020 · Frontend Development

Comprehensive Guide to Selenium WebDriver Exceptions and Their Handling

This article provides a comprehensive overview of the most common Selenium WebDriver exceptions, categorizes them into checked and unchecked types, details language‑specific variants for Java, C# and Python, and offers practical guidance on diagnosing and handling each exception during automated browser testing.

C++ExceptionsJava
0 likes · 14 min read
Comprehensive Guide to Selenium WebDriver Exceptions and Their Handling
dbaplus Community
dbaplus Community
Oct 17, 2020 · Fundamentals

How a Hidden Memory Leak Stole Hours: Debugging Multithreaded C++ Code

After noticing abnormal memory usage in a production service, the author traced a leak to a race condition in shared data during a C++ code refactor, demonstrated the debugging steps, explained why traditional tools like Valgrind help, and shared lessons on avoiding multithreaded memory leaks.

C++Debuggingrace condition
0 likes · 10 min read
How a Hidden Memory Leak Stole Hours: Debugging Multithreaded C++ Code
Liangxu Linux
Liangxu Linux
Oct 2, 2020 · Fundamentals

How to Embed Build Timestamps in Embedded Binaries for Reliable Version Tracking

This guide explains why embedding compile‑time information in embedded binaries is essential for version verification, demonstrates how to use __DATE__ and __TIME__ macros, and provides three practical methods—including touch commands and pre‑build actions—to ensure the timestamp updates on every build.

Build TimestampC++IAR
0 likes · 8 min read
How to Embed Build Timestamps in Embedded Binaries for Reliable Version Tracking
Fulu Network R&D Team
Fulu Network R&D Team
Sep 29, 2020 · Backend Development

Building a Custom DingTalk Event Distribution Platform with Callback Integration

This tutorial explains how to create a unified DingTalk event distribution platform that registers a single callback URL, handles encrypted success responses, and forwards various DingTalk events—such as address changes and approval workflows—to internal business systems for bidirectional synchronization and automated processing.

Backend IntegrationC++DingTalk
0 likes · 7 min read
Building a Custom DingTalk Event Distribution Platform with Callback Integration
Top Architect
Top Architect
Sep 27, 2020 · Mobile Development

Cross‑Platform Architecture for WeChat Pay: Reducing Code, Improving Quality and Productivity

This article describes how WeChat Pay built a C++‑based cross‑platform framework that unifies iOS and Android payment flows, introduces a UseCase‑driven architecture with routing, refactors network request handling, and standardizes data transmission to cut code by 45%, boost reliability, and accelerate feature delivery.

C++RoutingWeChat Pay
0 likes · 14 min read
Cross‑Platform Architecture for WeChat Pay: Reducing Code, Improving Quality and Productivity
Fulu Network R&D Team
Fulu Network R&D Team
Sep 23, 2020 · Information Security

Generating and Using P12 Certificates with BouncyCastle in .NET Core

This article explains how to generate PKCS#12 (p12) certificates using BouncyCastle in .NET Core, extract keys with OpenSSL, install the certificates on Windows, and demonstrates encryption and decryption with the generated keys, providing complete code samples and step‑by‑step instructions.

.NET CoreBouncyCastleC++
0 likes · 15 min read
Generating and Using P12 Certificates with BouncyCastle in .NET Core
Programmer DD
Programmer DD
Sep 12, 2020 · Fundamentals

Debunking Common OOP Myths: Performance and Language Misconceptions

This article examines two widespread misconceptions about object‑oriented programming—whether OOP inevitably slows down applications and whether an OOP language automatically means OOP programming—using performance data, real‑world examples, and a Java code sample to clarify the truth.

C++OOPmisconceptions
0 likes · 9 min read
Debunking Common OOP Myths: Performance and Language Misconceptions