Tag

c++

0 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Dec 6, 2023 · Backend Development

Exception Handling in Software Development: A Comprehensive Analysis

The article systematically distinguishes unrecoverable errors from recoverable exceptions and surveys five major handling strategies—global error codes, return‑value conventions, parameter‑based collectors, language‑level exception mechanisms, and OS‑level support—concluding that the optimal approach depends on performance constraints, code‑base design, and portability requirements.

Error Handlingbackend developmentc++
0 likes · 47 min read
Exception Handling in Software Development: A Comprehensive Analysis
Tencent Cloud Developer
Tencent Cloud Developer
Dec 3, 2022 · Backend Development

Refactoring a Decade-Old Query Optimizer: Architecture, DIFF Fixes, Performance Gains, and Stability Improvements

Tencent engineers completely rewrote a ten‑year‑old query optimizer, shrinking the codebase by 80% and replacing its monolithic thread‑pool with a tRPC‑Fiber DAG scheduler, which cut latency by 28%, reduced startup time to five minutes, saved 40 GB memory, boosted throughput 12%, fixed numerous stability bugs, raised test coverage above 60%, and accelerated new‑feature lead time to under a day.

backend developmentc++diff testing
0 likes · 15 min read
Refactoring a Decade-Old Query Optimizer: Architecture, DIFF Fixes, Performance Gains, and Stability Improvements
Python Programming Learning Circle
Python Programming Learning Circle
Dec 27, 2021 · Fundamentals

How to Call C/C++ Code from Python Using ctypes

This article explains how to improve Python performance by embedding C or C++ code: write the source, compile it into a shared library, and invoke its functions from Python with the ctypes module, providing step‑by‑step commands and example code for both C functions and C++ classes.

CPythonTutorial
0 likes · 4 min read
How to Call C/C++ Code from Python Using ctypes