Tagged articles
820 articles
Page 7 of 9
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.

CPU performanceTMAMbranch prediction
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 CoreFluentValidationbackend-development
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.

B16Data StructuresSIMD
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.

ERPMendixTesla
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.

CompCertIntegrity-178BVxWorks
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.

F#c++component reuse
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.

AssemblyLoopsc++
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++code
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.

InitcallLinkerLinux
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.

ARMKunpengServer Migration
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.

TDDbackend-developmentc++
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.

TDDc++gtest
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.

Assemblyaarch64c++
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.

Sorting Algorithmsc++performance benchmark
0 likes · 5 min read
Performance Comparison of C and Rust Using Common Sorting Algorithms
Byte Quality Assurance Team
Byte Quality Assurance Team
Dec 11, 2020 · Fundamentals

Introduction to Static Code Analysis and Common Scanning Rules with Practical Examples

This article introduces static code analysis, outlines its advantages and disadvantages, presents eight typical scanning rule categories, and demonstrates common pitfalls such as null‑pointer dereferences, logic errors, uninitialized variables, and potential overflow issues with concrete code examples.

Code ScanningSoftware qualitybest practices
0 likes · 7 min read
Introduction to Static Code Analysis and Common Scanning Rules with Practical Examples
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.

CompilationToolingc++
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++hex editorreverse engineering
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.

Linuxc++clipboard
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++CorePython
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.

Reentrancybackend-developmentc++
0 likes · 11 min read
Why Thread Safety and Reentrancy Matter in C++ Backend Development
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 19, 2020 · Fundamentals

Understanding Layered Architecture and Hexagonal Design in Software Systems

This article explains the purpose and benefits of layered software architecture, compares traditional three‑tier designs with hexagonal architecture, discusses system splitting and micro‑service considerations, and provides C# code examples illustrating domain, application, and adapter layers.

Domain-Driven DesignHexagonal ArchitectureLayered Design
0 likes · 11 min read
Understanding Layered Architecture and Hexagonal Design in Software Systems
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.

Mobile DevelopmentWeChat Payc++
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.

Distributed TestingLoad TestingPerformance Evaluation
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.

AndroidJNIPropertyService
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.

ExceptionsPythonSelenium
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 TimestampIARPre-build
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 30, 2020 · Backend Development

How to Build Simple DingTalk Notification and Auto‑Reply Bots with C#

This step‑by‑step tutorial explains how to create both a notification‑type and an auto‑reply DingTalk robot, covering configuration in the DingTalk console, constructing webhook URLs, preparing JSON payloads, and implementing the required C# backend code to send and receive messages.

Auto-replyBotDingTalk
0 likes · 9 min read
How to Build Simple DingTalk Notification and Auto‑Reply Bots with C#
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 IntegrationDingTalkEvent Callback
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.

Mobile DevelopmentWeChat Payc++
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 CoreBouncyCastleCertificate
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.

OOPc++misconceptions
0 likes · 9 min read
Debunking Common OOP Myths: Performance and Language Misconceptions
ITPUB
ITPUB
Sep 11, 2020 · Fundamentals

How Redis Implements Binary‑Safe Strings with Simple Dynamic Strings (SDS)

This article explains the design and evolution of Redis's Simple Dynamic Strings (SDS), covering the original pre‑3.2 structure, the newer type‑specific headers, the core API functions for creating, clearing, and concatenating SDS objects, and the memory‑reallocation strategy that ensures binary safety and efficient storage.

Binary SafetyData StructuresMemory Management
0 likes · 13 min read
How Redis Implements Binary‑Safe Strings with Simple Dynamic Strings (SDS)
Fulu Network R&D Team
Fulu Network R&D Team
Sep 11, 2020 · Information Security

Symmetric Encryption Algorithms in .NET Core Using BouncyCastle

This article introduces symmetric encryption algorithms such as DES, 3DES, and AES, explains their principles, advantages and drawbacks, and provides complete .NET Core sample code using the BouncyCastle library for encryption and decryption with various padding modes.

.NET Core3DESAES
0 likes · 21 min read
Symmetric Encryption Algorithms in .NET Core Using BouncyCastle
Fulu Network R&D Team
Fulu Network R&D Team
Sep 10, 2020 · Backend Development

Snowflake ID Algorithm: Theory, Advantages, and .NET Implementation with Redis

This article explains the principles of primary keys, compares auto‑increment IDs and GUIDs, introduces the Snowflake ID structure, discusses its benefits and drawbacks, and provides a complete .NET implementation using Redis for dynamic worker‑ID allocation, including handling clock rollback and code examples.

Distributed SystemsSnowflake IDc++
0 likes · 17 min read
Snowflake ID Algorithm: Theory, Advantages, and .NET Implementation with Redis
Java Architect Essentials
Java Architect Essentials
Sep 9, 2020 · Mobile Development

Cross‑Platform Refactoring of WeChat Pay: Architecture, Performance, and Lessons Learned

This article describes how the WeChat Pay team rebuilt the client‑side payment flow using a C++ cross‑platform framework, detailing the architectural redesign, performance improvements, routing mechanism, network request handling, and data‑flow safeguards that unified iOS and Android implementations while reducing code size and enhancing reliability.

WeChat Payc++cross‑platform
0 likes · 15 min read
Cross‑Platform Refactoring of WeChat Pay: Architecture, Performance, and Lessons Learned
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 2, 2020 · Fundamentals

Mastering C++ Interfaces: Zero‑Overhead Techniques and Practical Patterns

This article explores various ways to implement interfaces in C++, comparing virtual functions, the Pimpl idiom, hidden subclasses, callback mechanisms, function pointers, std::function, member function pointers, and non‑intrusive traits, highlighting their trade‑offs in performance, binary compatibility, and design flexibility.

Interfacec++callback
0 likes · 13 min read
Mastering C++ Interfaces: Zero‑Overhead Techniques and Practical Patterns
Fulu Network R&D Team
Fulu Network R&D Team
Aug 28, 2020 · Backend Development

EF Core Practical Guide: DbContext Configuration, Threading, Connection Pooling, Logging, and CRUD Operations

This article provides a comprehensive tutorial on using EF Core in .NET, covering DbContext setup for MySQL and SQL Server, thread‑safety considerations, connection‑pooling benefits, logging of generated SQL, various insertion techniques (single, cascade, bulk), querying methods, and efficient update patterns.

EF CoreORMc++
0 likes · 16 min read
EF Core Practical Guide: DbContext Configuration, Threading, Connection Pooling, Logging, and CRUD Operations
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 16, 2020 · Mobile Development

Boost iOS AOP Performance: Inside Alibaba’s Lokie Framework

Lokie is a high‑performance iOS AOP framework written in C++14 that replaces the slow Aspect library by using libffi‑based trampolines, offering thread‑safe method interception, detailed API usage, runtime internals, and assembly‑level trampoline implementation with significant speed improvements.

Runtimeaopc++
0 likes · 15 min read
Boost iOS AOP Performance: Inside Alibaba’s Lokie Framework
Liangxu Linux
Liangxu Linux
Aug 10, 2020 · Fundamentals

Building a Minimal Linux Filesystem from Scratch: TinyFS Walkthrough

This article walks through the design and implementation of a tiny Linux filesystem called TinyFS, explaining the VFS layers, required POSIX interfaces, data structures, core kernel code, usage steps, current limitations, and a roadmap for extending it with proper superblocks, concurrency, and page‑cache integration.

FilesystemLinuxTinyFS
0 likes · 20 min read
Building a Minimal Linux Filesystem from Scratch: TinyFS Walkthrough
Architect
Architect
Jul 6, 2020 · Mobile Development

Cross‑Platform Refactoring of WeChat Pay: Architecture, Design Patterns, and Performance Gains

The article describes how the WeChat Pay client was rebuilt using a C++‑based cross‑platform framework to unify iOS and Android implementations, improve code reuse, reduce bugs, and achieve measurable performance and productivity improvements while introducing a UseCase‑driven architecture, routing mechanism, and disciplined network request handling.

WeChat Payc++cross‑platform
0 likes · 17 min read
Cross‑Platform Refactoring of WeChat Pay: Architecture, Design Patterns, and Performance Gains
Architects' Tech Alliance
Architects' Tech Alliance
Jul 5, 2020 · Fundamentals

Migrating Applications from x86 to Kunpeng (ARM): Overview, Methodology, and C/C++ Compilation Details

With the rise of mobile, IoT, and edge computing, the long‑standing dominance of x86 is challenged, prompting developers to migrate applications to ARM‑based Kunpeng platforms; this article explains the architectural differences, a five‑step migration methodology, and detailed C/C++ compilation considerations including instruction, macro, and SIMD adaptations.

ARMCompilationKunpeng
0 likes · 14 min read
Migrating Applications from x86 to Kunpeng (ARM): Overview, Methodology, and C/C++ Compilation Details
Sohu Tech Products
Sohu Tech Products
May 27, 2020 · Artificial Intelligence

Geometric Transformations and Data Augmentation with OpenCV: Forward/Backward Mapping, Rotation, Translation, and Affine Operations

This article explains traditional image augmentation techniques focusing on geometric transformations such as translation and rotation, describes forward and backward mapping concepts, coordinate‑system conversion, matrix representations, and provides detailed C++ OpenCV examples for implementing these operations with warpAffine and getRotationMatrix2D.

Geometric TransformationOpenCVc++
0 likes · 11 min read
Geometric Transformations and Data Augmentation with OpenCV: Forward/Backward Mapping, Rotation, Translation, and Affine Operations
21CTO
21CTO
May 14, 2020 · Frontend Development

Build Your First WebAssembly Project with C in WebAssembly Studio

This tutorial walks you through creating a simple C project in WebAssembly Studio, converting the code to WebAssembly, editing the accompanying HTML and JavaScript, and running the result in the browser, providing a hands‑on introduction to WebAssembly development.

WebAssemblyWebAssembly Studioc++
0 likes · 6 min read
Build Your First WebAssembly Project with C in WebAssembly Studio
Top Architect
Top Architect
May 14, 2020 · Databases

Why Using Stored Procedures for Simple Boolean Checks Can Be Problematic

The article discusses a real‑world scenario where a developer tried to reuse existing stored procedures to determine the presence of Job, Certification, and Disclosure records, explores various T‑SQL techniques such as temporary tables and output parameters, and concludes that stored procedures are often unsuitable for simple boolean logic due to maintenance and reuse challenges.

Stored Proceduresc++code-reuse
0 likes · 6 min read
Why Using Stored Procedures for Simple Boolean Checks Can Be Problematic
TAL Education Technology
TAL Education Technology
May 7, 2020 · Backend Development

Understanding the WebRTC Video Capture Pipeline: From Capture Module to Encoder

This article explains how WebRTC builds the video processing pipeline by detailing the capture module, internal data flow, VideoTrack construction, rendering, and encoder integration, and it outlines the key API calls such as AddTrack, CreateOffer, and SetLocalDescription that establish the end‑to‑end video stream.

PipelineVideo CaptureWebRTC
0 likes · 16 min read
Understanding the WebRTC Video Capture Pipeline: From Capture Module to Encoder
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Apr 16, 2020 · Backend Development

Build a Basic PHP Extension: Step‑by‑Step Guide

This guide walks you through creating a simple PHP extension, from generating the skeleton with ext_skel.php to understanding each generated file—config.m4, config.w32, php_test.h, test.c, and tests—so you can confidently build and install your own extension.

Extension DevelopmentPHPPHP API
0 likes · 3 min read
Build a Basic PHP Extension: Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Mar 31, 2020 · Backend Development

Mixed Programming with Python and C/C++: Principles, Methods, and Performance Analysis

This article explains how to combine Python with C/C++ using ctypes, Python.h wrappers, and SWIG, provides step‑by‑step code examples, and analyzes performance through bubble‑sort experiments, demonstrating the trade‑offs and best practices for high‑performance mixed‑language development.

Mixed ProgrammingSWIGc++
0 likes · 12 min read
Mixed Programming with Python and C/C++: Principles, Methods, and Performance Analysis
Tech Musings
Tech Musings
Mar 27, 2020 · Fundamentals

How Virtual Functions Expand C++ Class Size and Shape Memory Layout

This article explains how C++ compilers implement virtual functions using a hidden vptr and virtual table, showing how class size grows from 1 to 8 bytes, detailing memory layouts for single, multiple, and diamond inheritance, and providing commands to dump vtable and layout information.

InheritanceVTablec++
0 likes · 14 min read
How Virtual Functions Expand C++ Class Size and Shape Memory Layout
Liangxu Linux
Liangxu Linux
Mar 25, 2020 · Fundamentals

Mastering C/C++: A Complete Learning Roadmap for Backend Developers

This guide outlines a comprehensive learning path for C and C++ covering essential language concepts, core computer science fundamentals, practical Linux development tools, and recommended resources to help beginners transition into backend development roles.

C++backend-developmentc++
0 likes · 9 min read
Mastering C/C++: A Complete Learning Roadmap for Backend Developers
WeChat Client Technology Team
WeChat Client Technology Team
Mar 20, 2020 · Mobile Development

How We Built a Cross‑Platform C++ Architecture for WeChat Pay on iOS & Android

This article explains the challenges of maintaining separate iOS and Android implementations for WeChat Pay, and details how a C++‑based cross‑platform framework—featuring abstracted business flows, a unified routing mechanism, managed network requests, and strict data‑transfer standards—dramatically improves code reuse, stability, and development productivity.

WeChat Payc++mobile architecture
0 likes · 15 min read
How We Built a Cross‑Platform C++ Architecture for WeChat Pay on iOS & Android
DevOps Engineer
DevOps Engineer
Mar 3, 2020 · Operations

Integrating Cppcheck Static Code Analysis into Jenkins Pipelines

This article explains why and how to adopt the open‑source Cppcheck tool for C/C++ static analysis, covering installation on Linux, building from source, command‑line usage, Jenkins plugin integration, pipeline scripting, and report visualization to prevent new warnings from entering the codebase.

JenkinsPipelineautomation
0 likes · 7 min read
Integrating Cppcheck Static Code Analysis into Jenkins Pipelines
Top Architect
Top Architect
Feb 12, 2020 · Backend Development

Refactoring a 3000‑Line Legacy Data‑Center Management System to 15 Lines: Lessons and Best Practices

This article recounts how a developer transformed a massive three‑thousand‑line C# data‑center monitoring client into a concise fifteen‑line solution by applying reflection, generics, and systematic refactoring, while sharing practical advice on avoiding code generators, reinventing the wheel, and using unit tests to foster clean architecture.

Software Architecturec++code-generation
0 likes · 18 min read
Refactoring a 3000‑Line Legacy Data‑Center Management System to 15 Lines: Lessons and Best Practices
Selected Java Interview Questions
Selected Java Interview Questions
Feb 6, 2020 · Fundamentals

Binary Search Tree (BST) Overview, Implementation, and Traversal in C

This article introduces the concept of trees and binary search trees, defines a C struct for tree nodes, and provides complete implementations for creating nodes, inserting, deleting, searching, finding min/max, computing size and height, as well as recursive and non‑recursive traversals including pre‑order, in‑order, post‑order and level‑order.

Binary Search TreeData Structuresalgorithm
0 likes · 13 min read
Binary Search Tree (BST) Overview, Implementation, and Traversal in C
Architecture Digest
Architecture Digest
Feb 6, 2020 · Backend Development

Refactoring a 3000‑Line C# System to 15 Lines: Lessons and Practices

An experienced developer recounts how he transformed a cumbersome three‑tier C# data‑center management system from thousands of lines to a concise, maintainable codebase using reflection, generics, and thoughtful refactoring, while sharing practical advice on avoiding code generators, reducing duplication, and embracing unit testing.

Design PatternsSoftware Architecturebackend-development
0 likes · 18 min read
Refactoring a 3000‑Line C# System to 15 Lines: Lessons and Practices
AI Code to Success
AI Code to Success
Feb 4, 2020 · Fundamentals

Dynamic Programming Essentials: Concepts, Conditions, and a Fractional Knapsack Demo

This article introduces dynamic programming as an optimization technique from operations research, explains its fundamental concepts, optimality principle, no‑after‑effect property, and overlapping subproblems, outlines the typical problem‑model steps, and demonstrates a practical C++ implementation for solving the fractional knapsack problem.

DPc++dynamic programming
0 likes · 10 min read
Dynamic Programming Essentials: Concepts, Conditions, and a Fractional Knapsack Demo
Selected Java Interview Questions
Selected Java Interview Questions
Jan 13, 2020 · Fundamentals

Comprehensive Guide to Singly Linked List Implementation and Common Interview Problems in C

This article provides a thorough introduction to singly linked lists in C, covering their definition, basic operations, and a collection of classic interview problems such as reversal, copying, merging, loop detection, addition, sorted insertion, and finding the k‑th node from the end, each illustrated with complete source code.

c++
0 likes · 15 min read
Comprehensive Guide to Singly Linked List Implementation and Common Interview Problems in C
AI Code to Success
AI Code to Success
Jan 8, 2020 · Fundamentals

Mastering Greedy Algorithms: Concepts, Framework, and Classic Problems

This article explains the core idea of greedy algorithms, outlines their basic workflow, identifies problem types where they apply, presents a generic greedy framework, demonstrates a fractional knapsack implementation in C++, and lists several classic greedy problems with brief solutions.

activity selectionalgorithm examplesalgorithm fundamentals
0 likes · 9 min read
Mastering Greedy Algorithms: Concepts, Framework, and Classic Problems
JavaEdge
JavaEdge
Jan 7, 2020 · Fundamentals

How to Generate All Permutations with Backtracking: A Step‑by‑Step Guide

This article explains how to enumerate every permutation of an array using a depth‑first search backtracking algorithm, illustrates the process with a tree diagram, compares DFS with BFS, and provides a complete C implementation along with a generic Python template.

BacktrackingDFSRecursion
0 likes · 7 min read
How to Generate All Permutations with Backtracking: A Step‑by‑Step Guide
JavaEdge
JavaEdge
Jan 2, 2020 · Fundamentals

How to Compute the Maximum Path Sum in a Binary Tree (C Solution)

This article explains the binary‑tree maximum path sum problem, provides example inputs and outputs, analyzes three possible path configurations, and presents both a brute‑force and an optimized depth‑first search implementation in C.

DFSalgorithmbinary tree
0 likes · 5 min read
How to Compute the Maximum Path Sum in a Binary Tree (C Solution)
ITPUB
ITPUB
Dec 4, 2019 · Fundamentals

Why Traditional Coding Classes Fail and How “Prediction‑First” Can Transform Learning

The article critiques the conventional step‑by‑step coding curriculum and introduces Jeff Olsen’s “prediction‑first” approach, which uses problem‑driven prediction to engage learners, improve conceptual understanding, and foster deeper programming skills across languages like Java, Python, and C.

active learningc++coding pedagogy
0 likes · 8 min read
Why Traditional Coding Classes Fail and How “Prediction‑First” Can Transform Learning
NetEase Game Operations Platform
NetEase Game Operations Platform
Nov 16, 2019 · Frontend Development

WebAssembly with Emscripten: High‑Performance MD5 Hashing and Archive Extraction in the Browser

This article demonstrates how to leverage WebAssembly and Emscripten to compile C code for high‑performance MD5 hashing and archive (zip/7z) parsing in the browser, covering library selection, memory management, file I/O via WorkerFS, async processing, and integration of C functions with JavaScript.

BrowserEmscriptenFileIO
0 likes · 18 min read
WebAssembly with Emscripten: High‑Performance MD5 Hashing and Archive Extraction in the Browser
Amap Tech
Amap Tech
Nov 6, 2019 · R&D Management

Abtor: A Custom C++ Build Tool and Amap CI for Scalable Development at Gaode Map

To overcome fragmented C++ builds across mobile, car‑machine and open‑platform teams, Gaode Map created the Python‑driven Abtor tool that generates CMake projects and manages cloud‑hosted dependencies, and paired it with the scalable Amap CI pipeline, enabling unified, cross‑platform compilation, automated testing, and permission‑controlled library publishing.

Build Toolc++continuous integration
0 likes · 20 min read
Abtor: A Custom C++ Build Tool and Amap CI for Scalable Development at Gaode Map
WecTeam
WecTeam
Oct 31, 2019 · Frontend Development

How to Run ImageMagick in the Browser with WebAssembly: A Step‑by‑Step Guide

This tutorial explains how to compile the ImageMagick C/C++ library to WebAssembly using Emscripten and Docker, configure its dependencies (zlib, libpng, libjpeg, libwebp), build the wasm module, and invoke ImageMagick commands from JavaScript with a virtual file system in the browser.

EmscriptenImageMagickWasm
0 likes · 25 min read
How to Run ImageMagick in the Browser with WebAssembly: A Step‑by‑Step Guide
JavaEdge
JavaEdge
Oct 30, 2019 · Fundamentals

Inside the Java Launcher: How the JVM Starts and Executes Main

This article walks through the native entry point of the Java launcher, explaining how the main function delegates to JLI_Launch, initializes the JVM, loads the main class, constructs arguments, and finally invokes the Java main method with detailed code excerpts.

JVMc++java
0 likes · 8 min read
Inside the Java Launcher: How the JVM Starts and Executes Main
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Oct 18, 2019 · Backend Development

Understanding Nginx Startup Process and Core Design Principles

This article explores Nginx’s elegant architecture, detailing its master‑worker process model, modular design, event‑driven engine, and the step‑by‑step initialization sequence—including command‑line parsing, cycle creation, container setup, configuration parsing, socket inheritance, and listening socket creation—based on version 1.15.8.1.

BackendEvent-drivenNginx
0 likes · 25 min read
Understanding Nginx Startup Process and Core Design Principles
iQIYI Technical Product Team
iQIYI Technical Product Team
Oct 18, 2019 · Frontend Development

Introduction to WebAssembly and Its Application in Live Streaming Transcoding

WebAssembly enables high‑performance, ahead‑of‑time compiled code to run in browsers, and iQIYI leverages it by writing a C‑based FLV‑to‑MP4 transcoder compiled to Wasm, executed in a Web Worker, which boosts live‑stream conversion speed, reduces CPU usage, and opens doors for further web‑based media processing.

JavaScriptWebAssemblyc++
0 likes · 11 min read
Introduction to WebAssembly and Its Application in Live Streaming Transcoding
21CTO
21CTO
Oct 9, 2019 · Fundamentals

Mastering OOP in C: Implement the State Pattern with Real Code

This article walks you through applying object‑oriented concepts in C by implementing the State design pattern, covering class simulation with structs, inheritance via macros, lifecycle management, polymorphism, and a complete client example that demonstrates state transitions for a water model.

Design PatternsMemory ManagementPolymorphism
0 likes · 13 min read
Mastering OOP in C: Implement the State Pattern with Real Code
Python Programming Learning Circle
Python Programming Learning Circle
Sep 25, 2019 · Fundamentals

Why My Student Project’s Code Is a Nightmare—and How to Fix It

A graduate student recounts the chaotic state of his research team's C# data‑mining project, highlighting poor naming conventions, oversized classes, overuse of singletons, redundant code, lack of proper inheritance, and other anti‑patterns, while offering concrete suggestions such as using meaningful identifiers, applying the single‑responsibility principle, leveraging LINQ, and adopting MVVM for cleaner, more maintainable code.

Design Patternsbest practicesc++
0 likes · 8 min read
Why My Student Project’s Code Is a Nightmare—and How to Fix It
360 Quality & Efficiency
360 Quality & Efficiency
Sep 10, 2019 · Fundamentals

Practical Guide to C++ Code Coverage Testing with gcov and lcov

This article provides a step‑by‑step tutorial on performing C++ code‑coverage testing using gcov, covering compilation flags, running the instrumented program, generating gcov reports, and creating detailed HTML reports with lcov, including command examples and configuration details.

Software Testingc++code coverage
0 likes · 7 min read
Practical Guide to C++ Code Coverage Testing with gcov and lcov