Tagged articles

C++

877 articles · Page 8 of 9
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++PerformanceWeChat Pay
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++DatabaseEF Core
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++Performance
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++LinuxTinyFS
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++PerformanceWeChat Pay
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++PerformanceSQL
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++PipelineReal‑time communication
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 ProgrammingPerformance
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++RoutingWeChat Pay
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++RefactoringSoftware Architecture
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 PatternsRefactoring
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.

BrowserC++Emscripten
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.

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.

C++Process Modelbackend
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 PatternsMemory Management
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++DatabaseMultithreaded I/O
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.

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

APMAsynchronousC++
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++LambdaThread Priority
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.

BlockchainC++DApp
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++LinuxSystem Design
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++DatabasePika
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++Instant Messagingdistributed databases
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
Efficient Ops
Efficient Ops
Oct 13, 2018 · Big Data

Boost Your Kafka Integration with KafkaBridge: Multi-Language SDK Overview

KafkaBridge is a lightweight, multi-language SDK that simplifies Kafka read/write operations, offering unified interfaces, long‑connection reuse for PHP‑FPM, and reliable message delivery, with detailed compilation steps, usage examples, and performance benchmarks across C++, Python, PHP, and Go.

C++KafkaPHP
0 likes · 7 min read
Boost Your Kafka Integration with KafkaBridge: Multi-Language SDK Overview
Meituan Technology Team
Meituan Technology Team
Jul 26, 2018 · Databases

Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior

The article details how Redis’s incremental rehashing can double memory usage and trigger massive key eviction and scan inconsistencies in large‑scale clusters, explains the underlying dictionary structures, demonstrates the cursor bug when tables shrink, and presents a memory‑guard and scan‑cursor patch that resolves both problems.

C++Hash TableMemory Management
0 likes · 26 min read
Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior
Liangxu Linux
Liangxu Linux
Jun 30, 2018 · Fundamentals

Top Open‑Source C Projects Every Developer Should Explore

This article presents a curated list of noteworthy open‑source C projects—including event libraries, caching systems, databases, web servers, testing frameworks, and classic Unix kernels—each with a brief description, key features, and download links for developers seeking practical learning resources.

C++LibrariesSystems
0 likes · 13 min read
Top Open‑Source C Projects Every Developer Should Explore
Liangxu Linux
Liangxu Linux
Jun 13, 2018 · Fundamentals

Master Enterprise-Scale Makefiles: Versioning, Libraries, and Build Automation

This tutorial presents a complete enterprise‑level Makefile example, detailing version numbering, dynamic library integration, macro definitions, include paths, compilation flags, output directory handling, and clean targets, while also showing the associated source code layout and how to retrieve the full project from the public account.

C++Dynamic LibraryMakefile
0 likes · 6 min read
Master Enterprise-Scale Makefiles: Versioning, Libraries, and Build Automation
Liangxu Linux
Liangxu Linux
Jun 10, 2018 · Backend Development

How to Organize Shared C Code Across Multiple Applications with a Simple Makefile

This article explains a practical approach for managing common C source files shared by several applications by placing the shared code in a dedicated folder and using a Makefile that automatically discovers, compiles, and links both the common and application‑specific files, reducing redundancy and simplifying maintenance.

C++MakefileShared Code
0 likes · 6 min read
How to Organize Shared C Code Across Multiple Applications with a Simple Makefile
Liangxu Linux
Liangxu Linux
Jun 5, 2018 · Backend Development

How to Implement File-Based String Replacement in C: A Step‑by‑Step Guide

This article walks through the design and implementation of a C program that reads a text file, replaces all occurrences of a target substring with a new string using low‑level pointer operations, and writes the modified content back to the file, complete with memory‑allocation calculations and code examples.

C++File I/Opointer
0 likes · 6 min read
How to Implement File-Based String Replacement in C: A Step‑by‑Step Guide
Tencent Cloud Developer
Tencent Cloud Developer
May 24, 2018 · Game Development

How Unity3D Executes C#: Compilation, Mono, and the .NET Ecosystem

Unity3D runs C# scripts by compiling them to Common Intermediate Language, which the embedded Mono virtual machine executes—mirroring the .NET CLR—allowing cross‑platform execution, while also supporting other languages compiled to IL, and illustrating the compilation pipeline from source to native code.

C++CompilationIL
0 likes · 7 min read
How Unity3D Executes C#: Compilation, Mono, and the .NET Ecosystem
21CTO
21CTO
May 10, 2018 · Backend Development

How a Plug‑In Architecture Transforms Cross‑Platform Long‑Connection Components

This article explains how a unified, cross‑platform long‑connection component built on libuv, mbedTLS and WebSocket was refactored into a plug‑in architecture that decouples layers, uses double‑linked structures and function pointers, and dramatically improves flexibility and maintainability.

C++Networkinglibuv
0 likes · 24 min read
How a Plug‑In Architecture Transforms Cross‑Platform Long‑Connection Components
Xianyu Technology
Xianyu Technology
May 5, 2018 · Mobile Development

Porting Video Fingerprinting to Mobile: From Frame Extraction to Bloom‑Filter Retrieval

This article details how to migrate a video‑fingerprinting pipeline—covering video frame extraction, Hessian‑Affine + SIFT feature computation, JPEG and BLAS dependencies, multi‑threading, NEON acceleration, package‑size reductions, and a Bloom‑filter based retrieval system—onto iOS and Android devices while addressing practical pitfalls and performance trade‑offs.

Bloom filterC++Hessian-Affine
0 likes · 16 min read
Porting Video Fingerprinting to Mobile: From Frame Extraction to Bloom‑Filter Retrieval
DevOps
DevOps
Apr 19, 2018 · Fundamentals

The Evolution of .NET: From Framework to Core and Beyond

This article provides a comprehensive overview of the .NET platform’s evolution, covering the original .NET Framework, its comparison with Java, the rise of Mono for cross‑platform support, the introduction of .NET Standard, the modern .NET Core and ASP.NET Core, and guidance on tooling and learning resources.

.NETC++Xamarin
0 likes · 21 min read
The Evolution of .NET: From Framework to Core and Beyond
JD Tech
JD Tech
Mar 19, 2018 · Backend Development

Design and Implementation of KDNS: A High‑Performance DPDK‑Based DNS Server

This article presents the design, DPDK‑based implementation, performance optimizations, and test results of KDNS—a C‑language DNS server that replaces ContainerDNS's Go server, achieving near line‑rate processing, high availability, and significant latency improvements over traditional bind9 solutions.

C++ContainerDNSDNS
0 likes · 12 min read
Design and Implementation of KDNS: A High‑Performance DPDK‑Based DNS Server