Tagged articles

C++

890 articles · Page 8 of 9
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++JavaPython
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++Mobile DevelopmentWeChat 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++OOPObject-Oriented Programming
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 SafetyC++Data Structures
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
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.

C++WeChat Paycross-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.

C++Callbackinterface
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.

C++EF CoreORM
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.

AOPC++iOS
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.

C++KernelLinux
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.

C++WeChat Paycross-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.

ARMC++Compilation
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.

C++Data AugmentationGeometric Transformation
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.

C++WebAssemblyWebAssembly Studio
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.

C++SQLStored Procedures
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.

C++Video 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.

C++Extension DevelopmentPHP
0 likes · 3 min read
Build a Basic PHP Extension: Step‑by‑Step Guide
ITPUB
ITPUB
Apr 3, 2020 · Fundamentals

Understanding Linux Zombie Processes: Why They Appear and How to Handle Them

This article explains what Linux zombie processes are, why the kernel retains them after a program exits, the crucial information they store, and demonstrates how to create, observe, and properly clean up zombies using C code and standard system calls.

C++LinuxProcess Management
0 likes · 5 min read
Understanding Linux Zombie Processes: Why They Appear and How to Handle Them
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.

C++Mixed ProgrammingSWIG
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.

C++Inheritancememory layout
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++C++Learning Roadmap
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.

C++WeChat Paymobile 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.

C++CI/CDJenkins
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.

C++code generationrefactoring
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.

C++Data 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.

C++Design Patternsbackend 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.

C++DPOptimization
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.

C++activity selectionalgorithm examples
0 likes · 9 min read
Mastering Greedy Algorithms: Concepts, Framework, and Classic Problems
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.

C++DFSalgorithm
0 likes · 5 min read
How to Compute the Maximum Path Sum in a Binary Tree (C Solution)
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.

C++EmscriptenFileIO
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.

C++build-toolcontinuous 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.

C++EmscriptenImageMagick
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.

C++JVMJava
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.

BackendC++Nginx
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.

C++JavaScriptWebAssembly
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.

C++Design PatternsObject-Oriented Programming
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.

C++Design Patternsbest practices
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.

C++code coveragegcov
0 likes · 7 min read
Practical Guide to C++ Code Coverage Testing with gcov and lcov
Meitu Technology
Meitu Technology
Aug 9, 2019 · Databases

Redis 6 Multithreaded I/O Implementation and Performance Evaluation

The article details Redis 6’s new multithreaded I/O feature—motivated by network‑I/O bottlenecks, implemented with lock‑free pending‑read queues that offload reads, writes, and protocol parsing to worker threads while keeping command execution single‑threaded—and demonstrates through a simple benchmark that using four I/O threads roughly doubles GET/SET throughput compared with Redis 5.

C++Multithreaded I/ORedis
0 likes · 11 min read
Redis 6 Multithreaded I/O Implementation and Performance Evaluation
360 Tech Engineering
360 Tech Engineering
Jul 25, 2019 · Backend Development

Building a Simple C++ TCP Server from Scratch with cppbox

This article explains why the author created a custom C++ TCP server framework, outlines the required prerequisites and coding standards, and walks through a minimal echo server implementation together with the key cppbox library interfaces and usage examples.

BackendC++Server
0 likes · 8 min read
Building a Simple C++ TCP Server from Scratch with cppbox
MaGe Linux Operations
MaGe Linux Operations
Jun 7, 2019 · Fundamentals

Mastering Linux Shared Memory: IPC Basics, APIs, and Sample Code

This article explains the principles of Linux shared memory interprocess communication, details the shmid_ds structure and system limits, walks through creation, control, attachment, detachment APIs, and provides a complete C example demonstrating parent‑child data sharing via shmget, shmat, shmdt, and shmctl.

C++IPCInterprocess Communication
0 likes · 6 min read
Mastering Linux Shared Memory: IPC Basics, APIs, and Sample Code
58 Tech
58 Tech
Jun 6, 2019 · Mobile Development

Design and Architecture of the 58 IM SDK for Multi‑Platform Mobile Applications

The article details the background, design goals, layered architecture, message flow, UI customization mechanisms, and key class structures of the 58 Group's cross‑platform IM SDK, illustrating how it supports iOS, Android, Web, and H5 with extensible C++ and UIKit components.

AndroidC++UI customization
0 likes · 12 min read
Design and Architecture of the 58 IM SDK for Multi‑Platform Mobile Applications
Wukong Talks Architecture
Wukong Talks Architecture
Apr 30, 2019 · Fundamentals

C# Multithreading Journey (4): Introduction to the Asynchronous Programming Model (APM)

This article introduces the Asynchronous Programming Model (APM) in C#, demonstrating how to use delegates and BeginInvoke/EndInvoke to run time‑consuming operations concurrently, includes sample code, explains delegate generation, and discusses practical considerations such as IAsyncResult handling and callback execution.

APMC++Delegates
0 likes · 8 min read
C# Multithreading Journey (4): Introduction to the Asynchronous Programming Model (APM)
Wukong Talks Architecture
Wukong Talks Architecture
Apr 28, 2019 · Fundamentals

C# Multithreading Journey (3) – Using the Thread Pool

This article explains how C# thread pools reduce thread‑creation overhead, describes several ways to enqueue work (Task Parallel Library, ThreadPool.QueueUserWorkItem, asynchronous delegates, BackgroundWorker), provides practical code examples, and outlines important considerations such as thread naming, priority, and exception handling.

Asynchronous ProgrammingC++Task Parallel Library
0 likes · 9 min read
C# Multithreading Journey (3) – Using the Thread Pool
Wukong Talks Architecture
Wukong Talks Architecture
Apr 27, 2019 · Fundamentals

C# Multithreading Journey (2) – Creating and Starting Threads

This article explains how to create and start threads in C#, covering ThreadStart delegates, lambda expressions, passing parameters, naming threads, foreground/background distinctions, thread priority, and exception handling, with clear code examples and best‑practice recommendations.

C++Thread PriorityThreadStart
0 likes · 13 min read
C# Multithreading Journey (2) – Creating and Starting Threads
Tencent Music Tech Team
Tencent Music Tech Team
Apr 19, 2019 · Mobile Development

Common Wrapper Classes for Android BufferQueue: Surface and SurfaceTexture

The article explains BufferQueue’s internal design and shows how Android developers typically use its wrapper classes—Surface as the producer and SurfaceTexture as the consumer—detailing their constructors, dequeue/queue workflows, lock/unlock mechanisms, and a complete SurfaceView example that illustrates buffer production and consumption by SurfaceFlinger.

AndroidBufferQueueC++
0 likes · 13 min read
Common Wrapper Classes for Android BufferQueue: Surface and SurfaceTexture
Java Captain
Java Captain
Mar 22, 2019 · Fundamentals

Understanding Recursion: Three Essential Elements and Practical Code Examples

This article introduces recursion by outlining its three essential elements—function purpose, base case, and recurrence relation—and demonstrates each step with clear Java/C examples such as factorial, Fibonacci, frog‑jump, and linked‑list reversal, while also covering common pitfalls and optimization techniques.

C++CodingData Structures
0 likes · 15 min read
Understanding Recursion: Three Essential Elements and Practical Code Examples
21CTO
21CTO
Mar 14, 2019 · Blockchain

Essential Guide to Blockchain Programming: Top Languages, Platforms, and Use Cases

This article explores blockchain programming fundamentals, compares public and permissioned chains, reviews major development platforms, and evaluates the top five languages—C++, JavaScript, Python, Go, and Solidity—highlighting their strengths, weaknesses, and real‑world blockchain applications.

C++DAppJavaScript
0 likes · 11 min read
Essential Guide to Blockchain Programming: Top Languages, Platforms, and Use Cases
ITPUB
ITPUB
Mar 5, 2019 · Backend Development

What Do Top Tech Companies Really Test in Linux Server Engineer Interviews?

The article shares a developer’s experience interviewing at over 30 Chinese tech firms, breaking down three main interview focuses—data structures and algorithms, operating‑system and core‑technology knowledge, and project experience—while also offering practical advice on networking questions, open‑source tools, and how to evaluate a company's interview process.

C++Data StructuresLinux
0 likes · 16 min read
What Do Top Tech Companies Really Test in Linux Server Engineer Interviews?
21CTO
21CTO
Mar 4, 2019 · Fundamentals

Master Technical Interviews: Data Structures, OS, Networking & C++ Tips

The article shares the author’s interview experiences at over 30 companies and provides a comprehensive guide covering data‑structure and algorithm questions, core C++ concepts, operating‑system fundamentals, networking protocols, open‑source tools, project‑experience expectations, and practical advice for evaluating both technical and non‑technical aspects of potential employers.

C++Data StructuresLinux
0 likes · 16 min read
Master Technical Interviews: Data Structures, OS, Networking & C++ Tips
Architecture Talk
Architecture Talk
Feb 23, 2019 · Backend Development

What Tech Companies Really Test in Server Developer Interviews – Insights from 30+ Companies

Drawing from interviews at over thirty tech firms, this article breaks down the three main interview tracks—data structures and algorithms, operating‑system fundamentals, and project experience—while also sharing practical advice on evaluating companies, handling non‑technical questions, and navigating the hiring process.

C++Linuxcareer advice
0 likes · 15 min read
What Tech Companies Really Test in Server Developer Interviews – Insights from 30+ Companies
360 Tech Engineering
360 Tech Engineering
Feb 20, 2019 · Databases

Pika 3.0 New Features Overview

Pika 3.0, the open‑source C++ Redis‑compatible storage built on RocksDB, introduces a new Blackwidow engine, enhanced binlog, and optimized server layer, delivering higher interface performance, reduced disk usage, extended key length, full ZSET compatibility, and improved overall efficiency.

C++PikaRedis
0 likes · 3 min read
Pika 3.0 New Features Overview
Zhuanzhuan Tech
Zhuanzhuan Tech
Feb 15, 2019 · Backend Development

Architecture and Design of ZhaiZhai IM System for a Second‑hand E‑commerce Platform

The article details the design and overall architecture of ZhaiZhai's instant messaging (IM) system, covering product positioning, a four‑layer architecture (user, entry, logic, storage), and analyses of scalability, high availability, reliability, extensibility, and performance, highlighting the use of C++, RPC, MySQL, TiDB, and custom middleware.

C++distributed databasesinstant messaging
0 likes · 13 min read
Architecture and Design of ZhaiZhai IM System for a Second‑hand E‑commerce Platform
Programmer DD
Programmer DD
Dec 17, 2018 · Fundamentals

How to Compute √2 Efficiently: Binary Search, Newton’s Method, and C Tricks

Learn multiple techniques to calculate the square root of 2—including binary search, Newton’s iteration, and a clever C library implementation—through clear explanations, step‑by‑step illustrations, and full JavaScript and C code examples that reveal the underlying mathematics and performance considerations.

C++Newton's methodalgorithm
0 likes · 4 min read
How to Compute √2 Efficiently: Binary Search, Newton’s Method, and C Tricks