Tagged articles
366 articles
Page 4 of 4
21CTO
21CTO
Sep 10, 2020 · Fundamentals

Tech Waves: C++ Surge, HarmonyOS Open‑Source, Android 11 & More

In September, developers saw a notable C++ ranking rise, Java’s decline, Huawei’s HarmonyOS 2.0 open‑sourcing, Android 11’s release, WeChat’s expanded search, OpenJDK’s move to GitHub, and Angular 10.1 and 11.next.1 updates, highlighting major shifts across programming languages and platforms.

Android 11AngularC++
0 likes · 9 min read
Tech Waves: C++ Surge, HarmonyOS Open‑Source, Android 11 & More
ITPUB
ITPUB
Jul 9, 2020 · Mobile Development

How a C++ Cross‑Platform Framework Transformed WeChat Pay Client Development

The article explains how a C++‑based cross‑platform framework was built to unify iOS and Android implementations of WeChat Pay, reducing code size, improving crash stability, streamlining feature delivery, and addressing architectural issues such as inconsistent UI, poor scalability, and network request management.

C++WeChat Paycode reduction
0 likes · 15 min read
How a C++ Cross‑Platform Framework Transformed WeChat Pay Client Development
ITPUB
ITPUB
Jun 22, 2020 · Mobile Development

How We Unified iOS and Android Payments with a C++ Cross‑Platform Architecture

Facing divergent iOS and Android implementations, the WeChat Pay team built a C++‑based cross‑platform framework that consolidates payment flows, introduces a UseCase‑driven routing mechanism, refactors network requests, and enforces strict data passing, resulting in reduced code size, fewer bugs, and faster feature delivery.

C++Data FlowWeChat Pay
0 likes · 16 min read
How We Unified iOS and Android Payments with a C++ Cross‑Platform Architecture
Liangxu Linux
Liangxu Linux
Jun 21, 2020 · Fundamentals

How 120,000 Lines of Code Became a Dancing Cai Xukun Animation

A Bilibili creator named NyeJu generated 120,000 lines of compilable C++ code that, through precise color‑coded patterns, animates a singing, dancing, rap‑performing version of Cai Xukun, detailing the workflow from theme selection to frame‑by‑frame color mapping and automated code generation.

C++Code GenerationPython
0 likes · 5 min read
How 120,000 Lines of Code Became a Dancing Cai Xukun Animation
Liangxu Linux
Liangxu Linux
May 31, 2020 · Fundamentals

Master the Top 10 Classic Sorting Algorithms with Code and Visualizations

This article systematically presents ten classic sorting algorithms—bubble, selection, insertion, quick, heap, merge, shell, counting, bucket, and radix—detailing their concepts, time and space complexities, step‑by‑step logic, animated illustrations, and complete source code examples in C++ and JavaScript.

C++Data StructuresJavaScript
0 likes · 19 min read
Master the Top 10 Classic Sorting Algorithms with Code and Visualizations
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
May 29, 2020 · Fundamentals

Is ARM‑Based Kunpeng the Next Leap Beyond x86? A Practical Migration Guide

The article examines the historical shift from mainframes to x86, highlights the emerging limitations of x86 in the era of mobile and cloud computing, and presents Huawei's ARM‑based Kunpeng platform with its performance advantages, ecosystem support, and step‑by‑step tools for migrating Java, Python, C/C++ and Go applications from x86 to ARM.

ARMC++Kunpeng
0 likes · 14 min read
Is ARM‑Based Kunpeng the Next Leap Beyond x86? A Practical Migration Guide
21CTO
21CTO
May 19, 2020 · R&D Management

Inside the 12‑Year C++ Nightmare: How a 600‑Million‑Line Project Failed

An ex‑consultant recounts a twelve‑year French government software project that spiraled into a disastrous 600‑plus‑million‑line C++ codebase, plagued by outdated technology, chaotic version control, absurd management practices, and massive inefficiencies, ultimately ending in prison for its leaders.

C++Software EngineeringVersion Control
0 likes · 13 min read
Inside the 12‑Year C++ Nightmare: How a 600‑Million‑Line Project Failed
Top Architect
Top Architect
Apr 21, 2020 · Mobile Development

Designing a Cross‑Platform Architecture for WeChat Pay: From Problems to Solutions

The article analyzes the inconsistencies and maintenance challenges of separate iOS and Android implementations of WeChat Pay, then presents a C++‑based cross‑platform framework with UseCase‑driven business flow, routing, unified network handling and strict data passing, showing how these changes cut code size, keep crash rates stable and dramatically improve development productivity.

C++Design PatternsMobile Development
0 likes · 14 min read
Designing a Cross‑Platform Architecture for WeChat Pay: From Problems to Solutions
Java Backend Technology
Java Backend Technology
Apr 20, 2020 · Mobile Development

How We Built a C++ Cross‑Platform Architecture for WeChat Pay to Boost Productivity

This article explains how WeChat Pay tackled inconsistent iOS and Android implementations by creating a C++‑based cross‑platform framework, introducing UseCase and UIPage abstractions, a routing mechanism, unified network request handling, and standardized data flow, resulting in reduced code, faster feature delivery, and higher stability.

C++MobileWeChat Pay
0 likes · 14 min read
How We Built a C++ Cross‑Platform Architecture for WeChat Pay to Boost Productivity
21CTO
21CTO
Mar 26, 2020 · Mobile Development

How WeChat Pay’s C++ Cross‑Platform Framework Solved Mobile Payment Challenges

WeChat Pay’s new C++ cross‑platform framework unifies iOS and Android payment flows, reducing code by 45%, cutting development time, improving crash stability, and introducing a routing mechanism, use‑case abstraction, and disciplined data handling to boost productivity and quality across mobile payment services.

C++Performance OptimizationSoftware Architecture
0 likes · 14 min read
How WeChat Pay’s C++ Cross‑Platform Framework Solved Mobile Payment Challenges
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.

Backend DevelopmentCC++
0 likes · 9 min read
Mastering C/C++: A Complete Learning Roadmap for Backend Developers
Architecture Digest
Architecture Digest
Mar 21, 2020 · Mobile Development

Building a Cross‑Platform Payment Architecture with C++ for WeChat Pay

This article describes how a C++‑based cross‑platform framework was designed and implemented to unify iOS and Android payment flows in WeChat Pay, covering architectural motivation, business‑process abstraction, routing mechanisms, network request management, and standardized data transmission to improve quality and productivity.

C++WeChat Paycross-platform
0 likes · 15 min read
Building a Cross‑Platform Payment Architecture with C++ for WeChat Pay
21CTO
21CTO
Mar 16, 2020 · Artificial Intelligence

Why Tesla’s AI Team Needs Both Python and C++: Balancing Speed and Simplicity

The article examines why Tesla’s AI team combines Python for rapid prototyping with C++ for high‑performance inference, discussing the trade‑offs between ease of use and latency, the role of frameworks like TensorFlow and PyTorch, and the broader debate over language choice in modern AI development.

C++Teslaartificial intelligence
0 likes · 8 min read
Why Tesla’s AI Team Needs Both Python and C++: Balancing Speed and Simplicity
Liangxu Linux
Liangxu Linux
Jan 9, 2020 · Operations

How to Install Offline C++ Man Pages on Linux

This guide walks you through downloading, extracting, and configuring C++ library man pages on a Linux system so that the standard "man" command can provide offline documentation for C++ functions and classes.

C++DocumentationSystem Administration
0 likes · 7 min read
How to Install Offline C++ Man Pages on Linux
ITPUB
ITPUB
Oct 25, 2019 · Artificial Intelligence

Can AI Code Completion Boost Your Productivity? A Hands‑On Test of aiXcoder

An independent evaluation compares aiXcoder’s AI‑driven code suggestions against built‑in IDE completions across TensorFlow (Python), Java, and C++ examples, measuring keystroke reductions and highlighting speed, language support, and current limitations of the tool.

AIC++IDE
0 likes · 7 min read
Can AI Code Completion Boost Your Productivity? A Hands‑On Test of aiXcoder
iQIYI Technical Product Team
iQIYI Technical Product Team
Apr 12, 2019 · Frontend Development

Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework

The paper presents a custom JavaScript automatic binding tool for iQIYI’s React Node Desktop framework that parses C++ headers with libclang, applies user‑written YAML rules, generates multi‑inheritance‑aware wrappers via the Mate abstraction, and abstracts engine specifics through a Node‑Addon‑API‑based common layer to support both V8 and JavaScriptCore.

BindingC++JavaScript
0 likes · 24 min read
Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework
Liangxu Linux
Liangxu Linux
Sep 29, 2018 · Fundamentals

Mastering Function Pointers and Types in C++: A Practical Guide

This article explains the distinction between function pointers and function types in C++, shows how to declare, assign, and pass them as parameters, and demonstrates returning pointers to functions with clear code examples and typedef/decltype techniques.

C++decltypefunction pointers
0 likes · 5 min read
Mastering Function Pointers and Types in C++: A Practical Guide
58 Tech
58 Tech
Jun 1, 2018 · Backend Development

Design and Implementation of Real-Time Indexing in 58.com’s ESearch Search Engine

This article explains how 58.com’s in‑house C++ search kernel ESearch was architected to provide second‑level real‑time indexing, high‑concurrency low‑latency querying, flexible ranking models, and efficient storage structures for billions of daily queries across massive classified data.

BackendC++large scale
0 likes · 13 min read
Design and Implementation of Real-Time Indexing in 58.com’s ESearch Search Engine
Meituan Technology Team
Meituan Technology Team
May 10, 2018 · Backend Development

Design and Implementation of a Real‑Time Advertising Index System at Meituan‑Dianping

Meituan‑Dianping built a custom C++11 real‑time advertising index featuring a hierarchical model, lock‑free three‑layer architecture, specialized memory allocators, and forward/inverted indexes to achieve millisecond updates, high throughput, and scalability for search ads, with plans for Java integration and SQL support.

C++System Architectureindexing
0 likes · 21 min read
Design and Implementation of a Real‑Time Advertising Index System at Meituan‑Dianping
JD Tech
JD Tech
Mar 9, 2018 · Frontend Development

Comprehensive Guide to WebAssembly Development with Emscripten

This article introduces WebAssembly, explains its performance advantages over JavaScript, details the setup of development tools like Emscripten, CMake, and WABT on macOS, and provides step‑by‑step examples for compiling C/C++ code to .wasm, loading modules in JavaScript, and using advanced features.

C++EmscriptenJavaScript
0 likes · 17 min read
Comprehensive Guide to WebAssembly Development with Emscripten
21CTO
21CTO
Feb 24, 2018 · Fundamentals

Explore Google’s Latest Open‑Source Gems: From Puppeteer to TensorFlow Fold

Google continues to lead in open‑source contributions, showcasing a diverse set of newly released projects—including Puppeteer for headless Chrome automation, the JPEG optimizer Guetzli, ML visualization tool Facets, Python‑to‑Go compiler Grumpy, CLI generator Python Fire, and many more—spanning AI, cloud, and development tools.

C++Cloud NativeGoogle
0 likes · 9 min read
Explore Google’s Latest Open‑Source Gems: From Puppeteer to TensorFlow Fold
JD Retail Technology
JD Retail Technology
Jan 19, 2018 · Fundamentals

WebAssembly Overview, Setup, and Usage with Emscripten, C/C++, and Rust

This article explains the evolution of JavaScript performance, introduces WebAssembly concepts and browser support, provides step‑by‑step installation of Emscripten, WABT, and related tools on macOS, demonstrates WebAssembly APIs such as validate, Module, compile, Instance, Memory and Table, and shows practical examples of compiling and invoking C/C++ and Rust code from JavaScript.

C++EmscriptenJavaScript
0 likes · 18 min read
WebAssembly Overview, Setup, and Usage with Emscripten, C/C++, and Rust
21CTO
21CTO
Oct 29, 2017 · Fundamentals

Should You Sacrifice Clean C++ Code for Performance? Insights and Best Practices

This article argues that clean, readable C++ code should be the default, explaining the difference between performance and efficiency, why premature optimization can be harmful, and how thoughtful data structures and libraries can deliver both simplicity and speed when needed.

C++best practicescode simplicity
0 likes · 7 min read
Should You Sacrifice Clean C++ Code for Performance? Insights and Best Practices
21CTO
21CTO
Sep 26, 2017 · Fundamentals

Why Bjarne Stroustrup’s C++ Still Powers Modern Software

The article chronicles Bjarne Stroustrup’s creation of C++, his pivotal role in its evolution, the prestigious 2017 Faraday Medal honor, and how C++ remains essential in large‑scale and infrastructure applications such as telecommunications, banking, and embedded systems.

Bjarne StroustrupC++Software Engineering
0 likes · 5 min read
Why Bjarne Stroustrup’s C++ Still Powers Modern Software
21CTO
21CTO
Sep 15, 2017 · Fundamentals

Which Programming Language Will Dominate? Insights from the September TIOBE Top 20

The article examines the September TIOBE ranking, highlighting that Java, C, and C++ have held the top three spots for 15 years, discusses the limited progress of C# and Python, notes the narrowing gap among other languages, and explains how the index reflects popularity rather than quality.

C++JavaTIOBE Index
0 likes · 4 min read
Which Programming Language Will Dominate? Insights from the September TIOBE Top 20
Node Underground
Node Underground
Aug 18, 2017 · Backend Development

How to Build a C/C++ Node.js Add-on with N-API: A Step-by-Step Guide

Learn how to create a C/C++ extension for Node.js using the stable N-API ABI, covering environment setup with node-gyp, writing the module code for a simple multiply-by-two function, building the add-on, and running it across platforms with minimal compilation hassle.

Backend DevelopmentC++N-API
0 likes · 3 min read
How to Build a C/C++ Node.js Add-on with N-API: A Step-by-Step Guide
ITPUB
ITPUB
Aug 4, 2017 · Artificial Intelligence

How to Build an AI‑Powered Snake Game in C++ Using Hamiltonian Cycles

This article introduces a C++ Snake game project from GitHub that showcases two AI approaches—Hamiltonian‑cycle based and graph‑search based—to let the snake fill the entire map, and provides step‑by‑step setup, keyboard controls, and detailed algorithm explanations.

AIC++GitHub
0 likes · 7 min read
How to Build an AI‑Powered Snake Game in C++ Using Hamiltonian Cycles
WeChat Client Technology Team
WeChat Client Technology Team
Jun 15, 2017 · Databases

How WCDB’s WINQ Eliminates SQL String Concatenation and Injection Risks

This article examines WCDB’s design principles for efficient, complete, and easy-to-use client-side databases, explains the pitfalls of SQL string concatenation such as code redundancy, debugging difficulty, and injection attacks, and describes how WCDB’s WINQ abstraction and ORM layer safely encapsulate SQLite syntax to enable concise, compile-time-checked queries.

C++ORMSQL injection
0 likes · 10 min read
How WCDB’s WINQ Eliminates SQL String Concatenation and Injection Risks
Node Underground
Node Underground
Mar 16, 2017 · Frontend Development

WebAssembly Explorer: Optimize C/C++ Code for Browser Execution

WebAssembly enables programs written in languages like C/C++ to run in browsers, and Mozilla’s WebAssembly Explorer provides a visual UI that reveals compiler optimizations—such as choosing between division and shift operations—while developers can also use Emscripten for production‑grade compilation.

C++EmscriptenPerformance Optimization
0 likes · 2 min read
WebAssembly Explorer: Optimize C/C++ Code for Browser Execution
ITPUB
ITPUB
Jan 25, 2017 · Fundamentals

Boost Search Speed in C++ Arrays and Strings with the Sentinel Technique

This article demonstrates how to replace the classic linear search loops for arrays and strings with a sentinel‑based approach, reducing boundary checks and improving performance, especially on large datasets, and includes a concrete performance test.

Algorithm OptimizationC++Performance Testing
0 likes · 5 min read
Boost Search Speed in C++ Arrays and Strings with the Sentinel Technique
Node Underground
Node Underground
Dec 6, 2016 · Backend Development

How to Build High‑Performance Native Node.js Modules with NAN

This article explains why and when to write native Node.js modules in C/C++, outlines performance‑critical scenarios, OS‑level hooking, and library bridging, and provides a step‑by‑step guide to using the NAN library to simplify development despite V8 API changes.

C++NaNNode.js
0 likes · 2 min read
How to Build High‑Performance Native Node.js Modules with NAN
WeChat Client Technology Team
WeChat Client Technology Team
Nov 28, 2016 · Mobile Development

How WeChat’s Mars Library Powers Reliable Mobile Networks

WeChat’s Mars library, a C++‑based cross‑platform network component used across Android, iOS, macOS, Windows and more, offers optimized signaling (STN), logging (XLOG), diagnostics (SDT) and core utilities, enabling reliable mobile connections and simplifying development, and will soon be open‑sourced.

C++Mobile NetworkingNetwork Library
0 likes · 10 min read
How WeChat’s Mars Library Powers Reliable Mobile Networks
WeChat Backend Team
WeChat Backend Team
Nov 18, 2016 · Backend Development

How WeChat Scales to Millions with libco: A Deep Dive into C/C++ Coroutines

libco, the high‑performance C/C++ coroutine library powering WeChat’s backend since 2013, enables agile synchronous‑style programming with massive concurrency, offering features like CGI support, shared‑stack mode, hook‑based API interception, and coroutine‑private variables, allowing seamless, non‑intrusive async transformation of hundreds of services.

C++asynchronous programmingcoroutine
0 likes · 10 min read
How WeChat Scales to Millions with libco: A Deep Dive into C/C++ Coroutines
Architecture Digest
Architecture Digest
Nov 10, 2016 · Operations

Interview with Lu Pengcheng on Mogu Street’s Monitoring System Architecture and Evolution

In this interview, Lu Pengcheng, a platform architect at Mogu Street, discusses the company’s large‑scale e‑commerce architecture, the evolution of its monitoring platform, design choices for high‑availability distributed systems, and future open‑source plans, providing practical insights for engineers and technical managers.

C++Distributed SystemsOperations
0 likes · 9 min read
Interview with Lu Pengcheng on Mogu Street’s Monitoring System Architecture and Evolution
WeChat Client Technology Team
WeChat Client Technology Team
Oct 31, 2016 · Backend Development

How libco Powers WeChat’s Backend with Million‑Scale Coroutines

libco is a high‑performance C/C++ coroutine library open‑sourced by Tencent, enabling WeChat’s backend to transform synchronous code into non‑intrusive asynchronous execution, achieve massive concurrency, support shared‑stack coroutines, hook network APIs, and simplify variable handling for million‑scale connections.

BackendC++coroutine
0 likes · 12 min read
How libco Powers WeChat’s Backend with Million‑Scale Coroutines
ITPUB
ITPUB
Sep 27, 2016 · Backend Development

Building a Linux C++ Memory Leak Detector with Custom New/Delete

This article explains how to implement a memory‑leak detection subsystem for Linux C++ programs by overloading the global new/delete operators, recording allocation sites with file and line information, handling mismatched deletions, supporting dynamic monitoring, and addressing nested‑delete and mutex re‑entrancy issues.

C++Debugginglinux
0 likes · 30 min read
Building a Linux C++ Memory Leak Detector with Custom New/Delete
ITPUB
ITPUB
Aug 2, 2016 · Fundamentals

Eliminating Linux Platform‑Specific Code in C++ with Design‑Pattern Solutions

This article examines the challenges of Linux platform‑specific code in C++ projects, critiques simple preprocessor‑macro approaches, and presents three progressively refined design‑pattern solutions—including interface abstraction, binary layering, and a combination of Proxy, Bridge, and Singleton—culminating in extensible, maintainable implementations.

C++Design PatternsPlatform-specific Code
0 likes · 16 min read
Eliminating Linux Platform‑Specific Code in C++ with Design‑Pattern Solutions
21CTO
21CTO
Jun 17, 2016 · Fundamentals

Why Knowing C Still Matters: A Journey Through Programming Languages

The article explores the historical and practical reasons for mastering C, compares it with Lisp, C++, Java, Perl, Ruby, and Python, and reflects on how language choices shape software development, performance, and developer culture within large engineering teams.

C programmingC++Lisp
0 likes · 28 min read
Why Knowing C Still Matters: A Journey Through Programming Languages
ITPUB
ITPUB
Apr 27, 2016 · Fundamentals

Why new T[10] Differs on Windows vs Linux: Default vs Value Initialization in C++

The article explains why allocating an array with new sample[10] yields zero‑initialized memory on Linux but uninitialized memory on Windows, clarifies the difference between default and value initialization in C++, and shows how various new expressions behave with concrete code examples.

C++cross-platformdefault initialization
0 likes · 10 min read
Why new T[10] Differs on Windows vs Linux: Default vs Value Initialization in C++
ITPUB
ITPUB
Apr 20, 2016 · Backend Development

Top 17 C++ Backend Interview Questions with Answers and Code Samples

This article compiles 17 common C++ backend interview questions covering algorithms, data structures, language nuances, Linux process handling, SQL, networking, and system design, providing concise explanations and complete code examples to help candidates prepare effectively.

AlgorithmsC++SQL
0 likes · 18 min read
Top 17 C++ Backend Interview Questions with Answers and Code Samples
21CTO
21CTO
Apr 2, 2016 · Backend Development

Boost C++ Performance: 20% Gains with gprof Profiling and Smart Optimizations

This article explains how to apply the Pareto principle and gprof profiling to identify and fix costly C++ code patterns—such as large object initialization and inefficient map usage—resulting in up to a 10% overall performance improvement with minimal code changes.

C++Code RefactoringProfiling
0 likes · 7 min read
Boost C++ Performance: 20% Gains with gprof Profiling and Smart Optimizations
ITPUB
ITPUB
Mar 2, 2016 · Databases

How to Connect C++ to MySQL on CentOS and Fix Common Build Errors

This guide walks through the typical problems faced when linking C++ applications to MySQL on CentOS—missing Boost headers and undefined driver references—and provides step‑by‑step solutions, including installing Boost, adjusting compile commands, and a working connection code sample.

BoostC++CentOS
0 likes · 4 min read
How to Connect C++ to MySQL on CentOS and Fix Common Build Errors
ITPUB
ITPUB
Jan 6, 2016 · Fundamentals

Mastering C++: Essential Skills Every Beginner Should Learn

This guide outlines the core competencies, project experience, and communication abilities a new C++ programmer should develop, recommending key resources and practical focus areas to accelerate learning and become an effective software developer.

AlgorithmsC++Learning Path
0 likes · 8 min read
Mastering C++: Essential Skills Every Beginner Should Learn
21CTO
21CTO
Oct 19, 2015 · Fundamentals

Mastering C++ Naming Conventions: 8 Principles for Clear, Readable Code

This guide explains why good naming is essential for maintainable C++ code, presents eight concrete principles—such as being true to the name, avoiding misleading terms, using searchable identifiers, and leveraging meaningful context—and shows bad versus good examples for variables, functions, classes, and constants.

C++Software Engineeringbest practices
0 likes · 8 min read
Mastering C++ Naming Conventions: 8 Principles for Clear, Readable Code
21CTO
21CTO
Oct 9, 2015 · Big Data

33 Open-Source Web Crawlers to Supercharge Your Data Collection

This article compiles 33 notable open‑source web crawler projects across multiple programming languages, detailing their core features, licensing, supported platforms, and typical use cases, helping developers choose the right tool for large‑scale data harvesting and analysis.

CC++Data Extraction
0 likes · 22 min read
33 Open-Source Web Crawlers to Supercharge Your Data Collection
21CTO
21CTO
Sep 8, 2015 · Backend Development

Demystifying TCP/IP, UDP, and Socket Programming with a Practical MFC Example

This article explains the fundamentals of TCP/IP and UDP protocols, clarifies where sockets fit in the network stack, describes their role as a façade layer, and provides a complete MFC‑based client‑server example with full source code for initializing, binding, listening, connecting, sending, and receiving data.

C++MFCTCP/IP
0 likes · 9 min read
Demystifying TCP/IP, UDP, and Socket Programming with a Practical MFC Example