Tagged articles

C++

877 articles · Page 5 of 9
Tencent Cloud Developer
Tencent Cloud Developer
Jan 9, 2024 · Fundamentals

C#'s Rise in TIOBE Rankings: A Comprehensive Analysis

Rising to the top of the 2023 TIOBE rankings, C#—born in the early 2000s to simplify complex software—combines type safety, cross‑platform .NET support, and modern tooling, enabling developers to build AI, cloud‑native, game, full‑stack web, desktop, mobile, and IoT applications with increasing popularity worldwide.

AIC++Game Development
0 likes · 16 min read
C#'s Rise in TIOBE Rankings: A Comprehensive Analysis
Java High-Performance Architecture
Java High-Performance Architecture
Jan 5, 2024 · Databases

Why Manticore Search Could Replace Elasticsearch: 10× Faster, Open‑Source DB

Discover how Manticore Search, an open‑source C++‑based high‑performance search engine, claims to outperform Elasticsearch by up to 15‑times, offering cost‑effective, multi‑threaded full‑text search, SQL compatibility, Docker deployment, and extensive language client support for diverse data workloads.

C++DockerElasticsearch alternative
0 likes · 6 min read
Why Manticore Search Could Replace Elasticsearch: 10× Faster, Open‑Source DB
Java Tech Enthusiast
Java Tech Enthusiast
Jan 3, 2024 · Fundamentals

Anders Hejlsberg: Pioneer of Turbo Pascal, Delphi, C# and TypeScript

Anders Hejlsberg, a Copenhagen‑born programming prodigy, created the Turbo Pascal compiler, led Borland’s Delphi that sold millions, then at Microsoft designed Visual J++, the .NET framework, the C# language, and co‑authored TypeScript, shaping software development across three decades.

Anders HejlsbergC++Delphi
0 likes · 5 min read
Anders Hejlsberg: Pioneer of Turbo Pascal, Delphi, C# and TypeScript
Bilibili Tech
Bilibili Tech
Dec 29, 2023 · Artificial Intelligence

Performance Optimization of Bilibili's Online Inference Service for the Effect Advertising Engine

To cope with soaring traffic on Bilibili’s effect‑advertising engine, the team systematically measured latency, eliminated redundant Redis calls, switched JSON to Protobuf, applied branch‑prediction hints, loop‑unrolling and AVX256 SIMD, introduced object‑pooling and an inverted‑index request format, cutting CPU usage by 21 % and boosting peak throughput 13 %.

C++CPUMemory Management
0 likes · 21 min read
Performance Optimization of Bilibili's Online Inference Service for the Effect Advertising Engine
Liangxu Linux
Liangxu Linux
Dec 28, 2023 · Fundamentals

Essential Open‑Source C Unit Testing Frameworks and Unity on STM32

This note introduces several open‑source C unit‑testing frameworks, compares their features, and provides a step‑by‑step guide for porting and using the Unity framework on an STM32 platform, including configuration, test case writing, and result interpretation.

C++Unityembedded
0 likes · 9 min read
Essential Open‑Source C Unit Testing Frameworks and Unity on STM32
Liangxu Linux
Liangxu Linux
Dec 25, 2023 · Fundamentals

Mastering C Pointers: From Memory Basics to Advanced Usage

This comprehensive guide explains the fundamentals of pointers in C, covering memory layout, variable storage, address arithmetic, const and void pointers, pointer arrays, function pointers, and common pitfalls, with clear diagrams and runnable code examples to deepen your understanding of low‑level programming.

C++Data TypesProgramming Fundamentals
0 likes · 30 min read
Mastering C Pointers: From Memory Basics to Advanced Usage
Liangxu Linux
Liangxu Linux
Dec 19, 2023 · Fundamentals

Master DHT11 Temperature & Humidity Sensor on STM32: Full Code Walkthrough

This tutorial provides a comprehensive, step‑by‑step guide to using the DHT11 temperature and humidity sensor with an STM32F103C8T6 MCU, covering hardware wiring, sensor specifications, timing diagrams, HAL‑based driver implementation, and complete source code for reliable data acquisition.

C++DHT11HAL
0 likes · 13 min read
Master DHT11 Temperature & Humidity Sensor on STM32: Full Code Walkthrough
Liangxu Linux
Liangxu Linux
Dec 9, 2023 · Fundamentals

Why Adding a printf Can “Bless” a Crashing C Program

A humorous tale reveals how an uninitialized stack variable caused a segmentation fault in C, how inserting a printf unintentionally altered memory to hide the bug, and why proper debugging with GDB is essential to understand such hidden issues.

C++Debuggingprintf side effect
0 likes · 9 min read
Why Adding a printf Can “Bless” a Crashing C Program
21CTO
21CTO
Nov 27, 2023 · Backend Development

Explore BOTLIB: A Minimal C Telegram Bot Framework by Redis Creator

Redis founder antirez has open‑sourced BOTLIB, a lightweight C library for building Telegram bots, featuring clear code structure, global chat state management, client handling, and a step‑by‑step event loop, making it an ideal learning project for C network programming enthusiasts.

Bot FrameworkC++Telegram bot
0 likes · 4 min read
Explore BOTLIB: A Minimal C Telegram Bot Framework by Redis Creator
Deepin Linux
Deepin Linux
Nov 24, 2023 · Fundamentals

Embedded Software Interview Experience and Technical Review

This article shares a comprehensive embedded software interview guide, covering written‑test topics such as structs vs. unions, linked lists, pointer safety, endianness detection, and a strcpy implementation, followed by technical interview tips, HR interview advice, and concluding remarks.

C++Data StructuresLinux
0 likes · 22 min read
Embedded Software Interview Experience and Technical Review
Liangxu Linux
Liangxu Linux
Nov 18, 2023 · Fundamentals

How to Build a Fully Decoupled Time‑Slice Scheduling Framework for Microcontrollers

This article explains why a solid program architecture is essential for embedded projects, introduces a lightweight time‑slice scheduling framework that separates OS logic from user code, and provides complete C source files—including an intrusive doubly‑linked list implementation—to help developers quickly create and manage tasks on a microcontroller.

C++Intrusive Linked ListTime Slice Scheduling
0 likes · 11 min read
How to Build a Fully Decoupled Time‑Slice Scheduling Framework for Microcontrollers
Efficient Ops
Efficient Ops
Nov 12, 2023 · Backend Development

How We Revamped QQ Browser’s Content Engine: From Micro‑services Chaos to High‑Performance Monolith

This article details the complete redesign of QQ Browser's content ingestion system, explaining why the original micro‑service architecture caused low efficiency and performance, and how a zero‑base redesign using a monolithic service, plugin framework, fault‑tolerant pipelines, and thread separation dramatically improved throughput, latency, and developer productivity.

C++System Designbackend
0 likes · 21 min read
How We Revamped QQ Browser’s Content Engine: From Micro‑services Chaos to High‑Performance Monolith
Bilibili Tech
Bilibili Tech
Nov 7, 2023 · Artificial Intelligence

Technical Overview of Bilibili Vision Toolkit (BVT): Architecture, Features, and FFmpeg Filter Integration

The Bilibili Vision Toolkit (BVT) is a C++ SDK that unifies multimedia AI algorithms through a low‑coupling core, modular dynamic libraries, and a multi‑engine backend, enabling configurable DAG pipelines, asynchronous parallel execution, and seamless FFmpeg filter integration for high‑performance, cross‑platform video processing.

BVTC++FFmpeg
0 likes · 15 min read
Technical Overview of Bilibili Vision Toolkit (BVT): Architecture, Features, and FFmpeg Filter Integration
ITPUB
ITPUB
Nov 3, 2023 · Backend Development

Cutting 80% of Legacy Query Code: Refactoring Lessons for Faster, Safer Backend Services

After inheriting a decade‑old query optimizer with massive code duplication and performance issues, our team reduced the codebase by 80%, improved stability, cut startup time from 18 minutes to seconds, and enabled cloud deployment, sharing the code smells we encountered, their motivations, and concrete fixes.

C++Code Refactoringbackend development
0 likes · 12 min read
Cutting 80% of Legacy Query Code: Refactoring Lessons for Faster, Safer Backend Services
FunTester
FunTester
Oct 30, 2023 · Backend Development

How to Build a High‑Performance Object Pool for Multithreaded Systems

This article explores the motivation, design, implementation, and performance testing of a high‑performance object pool that reduces allocation overhead in multithreaded environments by using thread‑local storage, freelists, and lock‑optimized global resources.

C++Memory Managementcacheline alignment
0 likes · 25 min read
How to Build a High‑Performance Object Pool for Multithreaded Systems
Liangxu Linux
Liangxu Linux
Oct 25, 2023 · Fundamentals

Master C Pointers: From Memory Basics to Advanced Techniques

This tutorial explains C pointers in depth, covering memory addresses, declaration, initialization, dereferencing, pointer arithmetic, function pointers, passing by reference, and dynamic memory allocation, with clear code examples and practical usage tips.

C++pointers
0 likes · 8 min read
Master C Pointers: From Memory Basics to Advanced Techniques
Selected Java Interview Questions
Selected Java Interview Questions
Oct 22, 2023 · Game Development

Red Alert (Command & Conquer) Source Code Open‑Sourced: History, Details, and Community Impact

The classic real‑time strategy game Red Alert, originally released by Westwood Studios and later acquired by EA, has had parts of its 1996 source code for both Tiberian Dawn and Red Alert released on GitHub, offering C++ developers insight into the well‑structured game logic while excluding assets and the engine.

C++Command & ConquerGame Development
0 likes · 4 min read
Red Alert (Command & Conquer) Source Code Open‑Sourced: History, Details, and Community Impact
Liangxu Linux
Liangxu Linux
Oct 21, 2023 · Fundamentals

Master C Pointers: From Memory Basics to Advanced Usage

This article explains C pointers in depth, covering memory layout, declaration, initialization, dereferencing, pointer arithmetic, function pointers, passing by reference, dynamic memory allocation, and common use cases, with clear code examples for each concept.

C++Programming Fundamentalscode examples
0 likes · 9 min read
Master C Pointers: From Memory Basics to Advanced Usage
Alipay Experience Technology
Alipay Experience Technology
Oct 20, 2023 · Mobile Development

Boost Android Native C++ Quality with Clang‑Tidy and the C++ Core Guidelines

This article explains how to integrate the C++ Core Guidelines checker via Clang‑Tidy into Android C++ projects, covering setup in ndk‑build and Android Studio, using quick‑fixes to automatically refactor code, generating a JSON compilation database, and highlighting the guidelines' impact on modern C++ talent development.

AndroidC++Clang-Tidy
0 likes · 14 min read
Boost Android Native C++ Quality with Clang‑Tidy and the C++ Core Guidelines
Liangxu Linux
Liangxu Linux
Oct 15, 2023 · Fundamentals

Mastering C Structs: Definitions, Alignment, and Practical Usage

This guide explains C structs—from basic definitions and declaration styles to memory alignment, byte sizing, bit‑field handling, nested structures, and using structs as function parameters—providing clear code examples and practical tips for efficient embedded and systems programming.

C++InitializationStruct
0 likes · 29 min read
Mastering C Structs: Definitions, Alignment, and Practical Usage
Deepin Linux
Deepin Linux
Oct 13, 2023 · Fundamentals

Understanding Sockets: Concepts, TCP/UDP, System Calls, and Sample C Code

This article explains the fundamentals of sockets as a network communication abstraction, covering process communication, TCP/UDP protocols, socket descriptors, key system calls, the TCP three‑way handshake and four‑way termination, Linux kernel basics, and provides complete C examples for a server and client.

C++LinuxSocket
0 likes · 45 min read
Understanding Sockets: Concepts, TCP/UDP, System Calls, and Sample C Code
Java High-Performance Architecture
Java High-Performance Architecture
Sep 30, 2023 · Fundamentals

Common Rookie Mistakes Every Programmer Should Avoid

This article reviews a series of typical programming blunders—from incorrect local file includes and obscure character usage to excessive if‑else chains, meaningless variable names, hard‑coded outputs, missing returns, and thread‑sleep misuse—offering concrete examples and community comments to help developers learn from these errors.

C++coding best practicesprogramming mistakes
0 likes · 5 min read
Common Rookie Mistakes Every Programmer Should Avoid
Liangxu Linux
Liangxu Linux
Sep 29, 2023 · Backend Development

5 Common Socket Programming Pitfalls and How to Avoid Them

This article outlines five frequent mistakes in C socket programming—ignoring return values, mishandling peer closures, address‑in‑use errors, endianness issues when sending structured data, and false assumptions about TCP framing—while providing concrete code examples and Linux debugging tools to help developers write more reliable network code.

C++Linux networkingerror-handling
0 likes · 13 min read
5 Common Socket Programming Pitfalls and How to Avoid Them
Amap Tech
Amap Tech
Sep 27, 2023 · Fundamentals

Crash Analysis of C++ LooperObserverMan: Memory Reordering and Segmentation Fault

The crash in asl::LooperObserverMan::notifyIdle was traced to a compiler‑level store‑store reordering that exposed an uninitialized observer pointer, causing an illegal memory access, and was fixed by inserting a memory barrier or using proper atomic ordering to enforce correct initialization order.

C++Crash analysisDebugging
0 likes · 32 min read
Crash Analysis of C++ LooperObserverMan: Memory Reordering and Segmentation Fault
Liangxu Linux
Liangxu Linux
Sep 21, 2023 · Fundamentals

When to Use {} vs do{…}while(0) vs ({}) in C Function‑like Macros

This article explains the three common techniques for wrapping C function‑like macros—plain braces, do{…}while(0), and the GNU ({}) extension—detailing their syntax, usage pitfalls, advantages, disadvantages, and recommendations for safe macro design.

C++Code safetyGNU extension
0 likes · 8 min read
When to Use {} vs do{…}while(0) vs ({}) in C Function‑like Macros
Top Architect
Top Architect
Sep 20, 2023 · Mobile Development

Cross‑Platform Architecture for WeChat Pay: Reducing Code, Improving Quality and Productivity

This article explains how WeChat Pay solved the fragmented iOS/Android implementations by building a C++‑based cross‑platform framework, introducing UseCase‑driven flow abstraction, a unified routing mechanism, disciplined network request handling, and standardized data passing, resulting in up to 45% code reduction and faster feature delivery.

C++Network RequestsRouting
0 likes · 17 min read
Cross‑Platform Architecture for WeChat Pay: Reducing Code, Improving Quality and Productivity
IT Services Circle
IT Services Circle
Sep 16, 2023 · Artificial Intelligence

Porting Llama2 to Mojo: Massive Performance Boosts and Insights

Former Meta engineer Aydyn Tairov quickly ported the Python implementation of Llama2 to the newly released Mojo language, demonstrating that Mojo’s SIMD primitives can accelerate Python code by up to 250 times and even make the Python version run 20% faster than the original C implementation.

AIC++Llama2
0 likes · 2 min read
Porting Llama2 to Mojo: Massive Performance Boosts and Insights
Liangxu Linux
Liangxu Linux
Sep 14, 2023 · Fundamentals

Master the Essential C Standard Library Functions for Professional Coding

This guide explores the most commonly used C standard library headers—stdio.h, stdlib.h, and string.h—detailing each function’s purpose, usage, and providing clear code examples such as printf, malloc, strcpy, and qsort to help programmers write cleaner, more efficient C code.

C++Stdiocode examples
0 likes · 11 min read
Master the Essential C Standard Library Functions for Professional Coding
dbaplus Community
dbaplus Community
Sep 13, 2023 · Backend Development

How We Boosted Content Ingestion Performance 13× by Redesigning a Microservice System

This article details the complete redesign of a large‑scale content ingestion platform, explaining why the original microservice‑heavy architecture suffered from low development efficiency and poor performance, how a monolithic‑plus‑plugin approach solved these issues, and the resulting 13‑fold speedup, 10‑fold batch improvement, and 70% latency reduction.

C++backendmicroservices
0 likes · 20 min read
How We Boosted Content Ingestion Performance 13× by Redesigning a Microservice System
AI Skills Research
AI Skills Research
Sep 12, 2023 · Fundamentals

Understanding C#'s volatile Keyword for Thread Safety

The article explains how the C# volatile keyword ensures that fields accessed by multiple threads always hold the latest value by preventing compiler optimizations, lists the types it can be applied to, and warns of pitfalls when used with complex data structures.

C++Thread SafetyVolatile
0 likes · 3 min read
Understanding C#'s volatile Keyword for Thread Safety
Open Source Linux
Open Source Linux
Sep 1, 2023 · Fundamentals

Mastering C Pointers: From Basics to Advanced Function Passing

This article explains the fundamentals of C pointer variables, covering their memory layout, declaration, initialization, pointer arithmetic with arrays, passing pointers between functions, and using arrays as function parameters, illustrated with clear code examples and diagrams.

ArraysC++Memory
0 likes · 8 min read
Mastering C Pointers: From Basics to Advanced Function Passing
Sanyou's Java Diary
Sanyou's Java Diary
Aug 31, 2023 · Backend Development

How a Monolith Redesign Boosted Content Ingestion Performance 13‑Fold

The article details how QQ Browser's content architecture was transformed from a fragmented micro‑service system into a single monolithic service with a plugin framework, dramatically improving processing speed, fault tolerance, and development efficiency while handling thousands of content types.

C++backendmicroservices
0 likes · 20 min read
How a Monolith Redesign Boosted Content Ingestion Performance 13‑Fold
Architect's Guide
Architect's Guide
Aug 25, 2023 · Mobile Development

Cross‑Platform Architecture for WeChat Pay: Reducing Bugs and Boosting Productivity with a C++ Framework

The article describes how a C++‑based cross‑platform framework was built to unify iOS and Android implementations of WeChat Pay, addressing bugs, scalability, quality assurance, routing, network request management, and data‑flow discipline, ultimately improving development efficiency and user experience.

C++RoutingUseCase
0 likes · 13 min read
Cross‑Platform Architecture for WeChat Pay: Reducing Bugs and Boosting Productivity with a C++ Framework
DeWu Technology
DeWu Technology
Aug 21, 2023 · Backend Development

Design and Implementation of DGraph: A High‑Performance Recommendation Engine

DGraph, a C++ recommendation engine launched in 2022 for 得物, combines an index layer with a service layer, uses lock‑free RCU structures, a custom mmap‑based D‑Allocator, RoaringBitmap invert indexes, and a multi‑operator fusion scheduler to achieve high‑performance, eventually consistent, scalable recommendations.

C++IndexingMemory Management
0 likes · 12 min read
Design and Implementation of DGraph: A High‑Performance Recommendation Engine
21CTO
21CTO
Aug 20, 2023 · Fundamentals

Build Your Own Unix Shell in C: A Step‑by‑Step Tutorial

This tutorial walks you through creating a simple Unix shell in C, covering its lifecycle, input handling, command parsing, process launching, built‑in commands, and full source compilation, while providing complete code examples and explanations.

C++System CallsUnix
0 likes · 19 min read
Build Your Own Unix Shell in C: A Step‑by‑Step Tutorial
Programmer DD
Programmer DD
Aug 1, 2023 · Fundamentals

Why Thread.Sleep(0) Can Change Your App’s Responsiveness – The Real Reason

Thread.Sleep pauses a thread for a specified time, but its behavior depends on OS scheduling; Sleep(0) yields the CPU to let other threads run, while Sleep(1000) doesn’t guarantee immediate wake‑up, illustrating how time‑slice and priority‑based scheduling affect thread execution.

C++CPU schedulingpreemptive multitasking
0 likes · 10 min read
Why Thread.Sleep(0) Can Change Your App’s Responsiveness – The Real Reason
Liangxu Linux
Liangxu Linux
Jul 30, 2023 · Fundamentals

5 Little‑Known C Tricks That Can Boost Your Code

This article explores five obscure yet useful C language features—enum bit‑fields, label‑and‑goto error handling, varargs functions, unconventional union usage, and conditional compilation—providing clear explanations and code examples to help programmers write more flexible and efficient code.

Advanced TechniquesC++Conditional Compilation
0 likes · 5 min read
5 Little‑Known C Tricks That Can Boost Your Code
Python Programming Learning Circle
Python Programming Learning Circle
Jul 12, 2023 · Fundamentals

July 2023 TIOBE Index: C++ Narrows Gap with C and Major Shifts in the Top 20 Programming Languages

The July 2023 TIOBE Index reveals that C++ has almost caught up with C, while JavaScript climbs to a historic high of #6, several languages return to record positions, and the full Top 100 ranking—including a detailed list of languages ranked 51‑100—is presented with trend charts and methodological notes.

C++JavaScriptLanguage Popularity
0 likes · 4 min read
July 2023 TIOBE Index: C++ Narrows Gap with C and Major Shifts in the Top 20 Programming Languages
MaGe Linux Operations
MaGe Linux Operations
Jul 10, 2023 · Operations

Deploy and Use rtty for Web‑Based Remote Linux Management

This guide explains how rtty combines a lightweight C client, a Go server, and a Vue front‑end to provide web‑accessible terminals for remote Linux device maintenance, covering its key features, installation steps, token generation, and browser‑based access.

C++GoLinux
0 likes · 4 min read
Deploy and Use rtty for Web‑Based Remote Linux Management
21CTO
21CTO
Jun 30, 2023 · Fundamentals

Running ChatGPT on Windows 3.1: A Retro C Client with TLS 1.3

An anonymous developer built WinGPT, a C‑based ChatGPT client that runs on Windows 3.1 and later 16‑or 32‑bit Windows versions, using native TLS 1.3 to connect to OpenAI’s API, highlighting the challenges of retro UI controls, Winsock dependency, and icon creation on legacy systems.

C++ChatGPTTLS 1.3
0 likes · 4 min read
Running ChatGPT on Windows 3.1: A Retro C Client with TLS 1.3
Liangxu Linux
Liangxu Linux
Jun 27, 2023 · Fundamentals

How to Access and Communicate with Linux Serial Ports Using C

This guide explains Linux serial port device files, shows how to list them, and provides four C programming methods—polling, select‑based interrupt, SIGIO signal handling, and threaded reading—complete with code examples and detailed configuration steps.

C++Device FilesLinux
0 likes · 10 min read
How to Access and Communicate with Linux Serial Ports Using C
Liangxu Linux
Liangxu Linux
Jun 27, 2023 · Fundamentals

Understanding Linux System Calls: How Applications Interact with the Kernel

This article explains what Linux system calls are, how they are implemented—including parameter preparation, mode switching, execution, and return—and lists common file, process, network, and device calls, highlighting their role in enabling applications to access kernel services.

C++LinuxSystem Call
0 likes · 7 min read
Understanding Linux System Calls: How Applications Interact with the Kernel
Liangxu Linux
Liangxu Linux
Jun 14, 2023 · Backend Development

Mastering Linux Wait Queues: Step‑by‑Step Driver Implementation Guide

This article explains how Linux kernel drivers use wait queues for process sleep and wake‑up, covering static and dynamic initialization, the various wait_event macros, wake‑up functions, complete driver source code, Makefile setup, and step‑by‑step build and testing instructions.

C++Kernel DriverLinux
0 likes · 16 min read
Mastering Linux Wait Queues: Step‑by‑Step Driver Implementation Guide
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 22, 2023 · Mobile Development

Techniques for Reducing Android NDK .so Size: Code, Build, and Dependency Optimization

The article shows how to shrink Android NDK .so binaries by over 30% through code de‑duplication, disabling exceptions/RTTI/iostream, using fine‑grained sections with LTO and dead‑code elimination, limiting exported symbols via version scripts, employing JNI dynamic registration, and consolidating C++ runtime dependencies into a shared library.

Android NDKBuild configurationC++
0 likes · 13 min read
Techniques for Reducing Android NDK .so Size: Code, Build, and Dependency Optimization
ByteDance SYS Tech
ByteDance SYS Tech
May 19, 2023 · Backend Development

Why DPDK Memory Allocation Slows Down and How to Fix It

This article investigates the performance degradation caused by DPDK memory fragmentation, explains the underlying heap and element management, presents detailed profiling and test results, and proposes two practical solutions that dramatically reduce allocation latency and improve overall system throughput.

C++DPDKmalloc
0 likes · 16 min read
Why DPDK Memory Allocation Slows Down and How to Fix It
IT Services Circle
IT Services Circle
May 15, 2023 · Fundamentals

Why Learning C/C++ Often Feels Useless: The Crucial Role of C/C++ in Modern Software Infrastructure

The article explains that many core components of modern computing—operating systems, network stacks, compilers, drivers, and runtimes—are written in C/C++, making the language essential for infrastructure, but because reinventing these complex systems is impractical, beginners often shift to higher‑level languages for application development, illustrated with a Lego analogy.

C++Programming Fundamentalssoftware development
0 likes · 4 min read
Why Learning C/C++ Often Feels Useless: The Crucial Role of C/C++ in Modern Software Infrastructure
Liangxu Linux
Liangxu Linux
May 13, 2023 · Fundamentals

Mastering Error Handling in C: Strategies, Code Samples, and Best Practices

This article provides a comprehensive guide to error handling in C, covering error classification, step‑by‑step handling procedures, return‑value and out‑parameter techniques, global errno usage, goto and setjmp/longjmp jumps, signal handling, program termination functions, assertions, and practical encapsulation patterns with full code examples.

C++Signalassert
0 likes · 31 min read
Mastering Error Handling in C: Strategies, Code Samples, and Best Practices
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 11, 2023 · Mobile Development

Boost Android Local Search Speed with JavaScriptCore and JNI

This article explains how to improve Android local‑search latency by embedding JavaScriptCore via JNI, detailing the performance bottlenecks, the integration workflow, essential JSC APIs, JNI usage patterns, and concrete C++/Java code examples that cut processing time by roughly half.

AndroidC++JNI
0 likes · 10 min read
Boost Android Local Search Speed with JavaScriptCore and JNI
Python Programming Learning Circle
Python Programming Learning Circle
May 10, 2023 · Fundamentals

May 2024 TIOBE Index Highlights: Go Drops Out of Top 10, C++ Gains, New Languages Struggle to Enter Rankings

The May 2024 TIOBE programming language index shows minimal changes in the top 20, with Go falling to #12, C++ climbing to #4 with over 3% growth, and newer languages like Swift and Rust still finding it hard to break into the top 100, while the CEO emphasizes the stability of language popularity.

C++GoLanguage Popularity
0 likes · 5 min read
May 2024 TIOBE Index Highlights: Go Drops Out of Top 10, C++ Gains, New Languages Struggle to Enter Rankings
IT Services Circle
IT Services Circle
Apr 27, 2023 · Fundamentals

Understanding std::function and std::invoke in C++

This article explains the differences between std::function and std::invoke in C++, shows how std::function can wrap callable objects such as function pointers, and demonstrates using std::invoke to call various callable types—including free functions and member functions—through clear code examples.

C++callablestd::function
0 likes · 3 min read
Understanding std::function and std::invoke in C++
ByteFE
ByteFE
Apr 10, 2023 · Fundamentals

Overview of WebAssembly Language Ecosystem and Toolchains

WebAssembly has evolved to version 2.0, offering extensive instruction support, large memory handling, and vector operations, and is now widely used across web and non‑web scenarios; this article surveys popular languages (C/C++, Rust, Go, AssemblyScript, JavaScript, etc.) and key toolchains such as Emscripten, Binaryen, wasi‑sdk, TinyGo, wabt, wasm‑pack, and wasm‑bindgen.

BinaryenC++Emscripten
0 likes · 24 min read
Overview of WebAssembly Language Ecosystem and Toolchains
AI Cyberspace
AI Cyberspace
Apr 4, 2023 · Fundamentals

Mastering Linux Socket I/O: Blocking, Non‑Blocking, and Epoll Explained

This article explains the two‑stage socket I/O process in Linux, compares blocking, non‑blocking, and I/O multiplexing techniques, details the select, poll, and epoll APIs with their advantages and drawbacks, and provides complete C code examples for a high‑performance TCP server and client.

C++I/OLinux
0 likes · 20 min read
Mastering Linux Socket I/O: Blocking, Non‑Blocking, and Epoll Explained
NetEase LeiHuo Testing Center
NetEase LeiHuo Testing Center
Mar 31, 2023 · Game Development

A Newcomer's Six-Month Journey in Game Test Development: Automation, Tool Creation, and Cross-Language Integration

This article shares a newcomer’s six‑month experience in game test development, covering automation testing fundamentals, script writing, maintenance practices, tool creation workflows, and cross‑language integration between C#, Lua, PHP, and SQL, offering practical guidance for aspiring test engineers.

C++Luacross-language integration
0 likes · 15 min read
A Newcomer's Six-Month Journey in Game Test Development: Automation, Tool Creation, and Cross-Language Integration
Liangxu Linux
Liangxu Linux
Mar 29, 2023 · Fundamentals

How to Build a Simple Unix Shell in C: Step‑by‑Step Guide

This tutorial walks you through creating a basic Unix shell in C, covering prompt output, command input, parsing with strtok, handling built‑in commands like cd and echo, forking child processes, executing commands via execvp, and assembling the complete source code.

C++Process ManagementUnix
0 likes · 8 min read
How to Build a Simple Unix Shell in C: Step‑by‑Step Guide
AI Cyberspace
AI Cyberspace
Mar 25, 2023 · Fundamentals

Mastering C Memory Management: malloc, realloc, memset, memcpy & More

This article explains how C programs allocate, resize, initialize, and transfer memory using functions like malloc, free, realloc, memset, memcpy, memmove, and alloca, and provides coding standards to avoid out‑of‑bounds errors, leaks, and use‑after‑free bugs.

C++Memcpymalloc
0 likes · 11 min read
Mastering C Memory Management: malloc, realloc, memset, memcpy & More
IT Services Circle
IT Services Circle
Mar 20, 2023 · Fundamentals

Comprehensive Interview Review: Networking, TCP/IP, Epoll, Redis, MySQL MVCC, and C++ Concepts

This article compiles a detailed interview guide covering TCP/UDP differences, three‑way handshake and four‑way termination, flow and congestion control, select/poll/epoll mechanisms, zero‑copy techniques, Redis advantages and persistence, MySQL MVCC and repeatable‑read semantics, as well as core C++ topics and common algorithm questions.

C++DatabaseMySQL
0 likes · 19 min read
Comprehensive Interview Review: Networking, TCP/IP, Epoll, Redis, MySQL MVCC, and C++ Concepts
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 15, 2023 · Backend Development

EJC Architecture: Integrating Electron, Java, and C/C++ for Scalable Desktop Quality Inspection Applications

This article presents the EJC (Electron‑Java‑C/C++) architecture adopted by ZhiZhuan’s quality‑inspection platform, detailing its layered design, communication modules, JNI/JNA integration, performance comparisons, and real‑world implementation for cross‑platform desktop tools, illustrating how the approach enhances extensibility, maintainability, and scalability.

C++Desktop applicationElectron
0 likes · 17 min read
EJC Architecture: Integrating Electron, Java, and C/C++ for Scalable Desktop Quality Inspection Applications
AI Cyberspace
AI Cyberspace
Mar 13, 2023 · Fundamentals

Mastering S-Expression Parsing in C: Build a Lisp Interpreter Step‑by‑Step

This article explains the concept of S‑Expressions, defines their simple syntax, and provides a complete C implementation that parses, stores, evaluates, and prints S‑Expression based Lisp code, including detailed explanations of data structures, constructors, destructors, and evaluation logic.

C++LispS-Expression
0 likes · 24 min read
Mastering S-Expression Parsing in C: Build a Lisp Interpreter Step‑by‑Step
AI Cyberspace
AI Cyberspace
Mar 9, 2023 · Backend Development

Build a Cross‑Platform C REPL with GNU Readline and MPC Parser

This guide walks through building a cross‑platform interactive C REPL, covering basic input/output loops, integrating GNU Readline for line editing and history, handling portability with preprocessor directives, and using the MPC library to create a simple Doge language parser.

C++GNU ReadlineMPC
0 likes · 14 min read
Build a Cross‑Platform C REPL with GNU Readline and MPC Parser