Tagged articles
820 articles
Page 6 of 9
vivo Internet Technology
vivo Internet Technology
Aug 17, 2022 · Backend Development

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

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

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

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

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

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

Practical C++ Unit Testing Practices and Lessons Learned

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

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

Componentization in the QianNiu PC Cross‑Platform Framework

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Understanding the PHP zval Structure in the Source Code

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

Backendc++internals
0 likes · 8 min read
Understanding the PHP zval Structure in the Source Code
Baidu Geek Talk
Baidu Geek Talk
May 25, 2022 · Backend Development

Large-Scale C/C++ Service Compilation Performance Optimization and Platformization (OMAX)

The article details OMAX’s end‑to‑end platform for large‑scale C/C++ service compilation, covering optimization flags, profile‑guided and link‑time techniques, Facebook BOLT post‑link tuning, and real‑world results that cut CPU use, latency and deployment time while shrinking binary size.

BoltCloud ServicesCompilation Optimization
0 likes · 24 min read
Large-Scale C/C++ Service Compilation Performance Optimization and Platformization (OMAX)
Java Architect Essentials
Java Architect Essentials
May 21, 2022 · Fundamentals

How to Compute an Unsigned Integer Average Without Overflow

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

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

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

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

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

Deep Dive into the Linux epoll Mechanism and Its Kernel Implementation

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

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

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

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

c++coding standardsstyle guide
0 likes · 5 min read
Collection of Prominent C/C++ Security and Coding Standards
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 23, 2022 · Backend Development

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

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

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

Understanding Enum Size and Compiler Options in C (gcc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inside Redis: How Its Single‑Threaded Event Loop Works

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

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

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

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

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

Cross‑Platform C++ Development Pitfalls Guide

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

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

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

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

AI inferenceTensorRTc++
0 likes · 11 min read
C++ Multithreaded Service Architecture for High‑Throughput AI Inference
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.

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

Dynamic LibraryInteropc++
0 likes · 4 min read
How to Call C/C++ Code from Python Using ctypes
TAL Education Technology
TAL Education Technology
Dec 23, 2021 · Databases

Understanding Redis Sorted‑Set Implementation: From Linked List to Skiplist

This article explains how Redis implements its Sorted‑Set data type by starting from a basic ordered singly linked list, analyzing its insertion and query complexities, introducing the skiplist structure, deriving its O(log N) performance, and detailing the underlying C source code for creation, insertion, lookup, and deletion.

Data StructureSorted Setc++
0 likes · 32 min read
Understanding Redis Sorted‑Set Implementation: From Linked List to Skiplist
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.

WeChat Payc++cross‑platform
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.

Audio ProcessingCompilationVideo processing
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 graphicsDwarf Fortressc++
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++IDEVisual Studio 2022
0 likes · 18 min read
What’s New in Visual Studio 2022? A Deep Dive into the Latest Features
Liangxu Linux
Liangxu Linux
Oct 23, 2021 · Fundamentals

What Actually Calls main()? Unveiling the Windows C++ Startup Chain

This article explains how a Windows PE executable is launched, detailing the creation of the process and main thread, the role of the OEP, and how the runtime startup functions like _tmainCRTStartup ultimately invoke the user-defined main/wmain function.

CRT startupPEWindows
0 likes · 7 min read
What Actually Calls main()? Unveiling the Windows C++ Startup Chain
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.

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

Clusterc++database
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.

Clusterc++java
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.

ANRAndroidSIGQUIT
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 CoreCaptchaSMS Verification
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.

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

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

GoInterview Preparationbackend 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.

Evaluation FunctionState PruningTetris AI
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.

Event-drivenNetwork programmingc++
0 likes · 13 min read
Understanding epoll Programming and Its Use in Redis Server
Top Architect
Top Architect
Jul 29, 2021 · Mobile Development

Cross‑Platform Architecture for WeChat Pay: Reducing Bugs, Improving Efficiency, and Managing Data Flow

The article describes how a C++‑based cross‑platform framework and a unified routing mechanism were introduced to solve iOS and Android inconsistencies in WeChat Pay, resulting in fewer bugs, 45% less code, faster feature delivery, and a more reliable data‑flow architecture.

Mobile DevelopmentSoftware ArchitectureWeChat Pay
0 likes · 13 min read
Cross‑Platform Architecture for WeChat Pay: Reducing Bugs, Improving Efficiency, and Managing Data Flow
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.

BackpropagationEngineGraphTask
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 PerformanceEmscriptenJavaScript
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.

CGISAPI++c++
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.

asynchronous I/Oc++coroutine
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.

BackendCloud NativeFaaS
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.

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

Test Generationc++fuzzing
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.

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

Model DeploymentONNXPython
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++career advicelanguage relevance
0 likes · 5 min read
Is C++ Really Outdated? Exploring the Debate and Real‑World Uses