Tagged articles
12 articles
Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
Nov 21, 2025 · Fundamentals

Catch Memory Changes with GDB Watchpoints in C/C++

This guide explains how to set hardware watchpoints in GDB to monitor specific memory addresses, demonstrates the technique with a simple C++ program that modifies a variable via a thread, and shows how GDB reports the exact location and values of the change.

Threadc++gdb
0 likes · 6 min read
Catch Memory Changes with GDB Watchpoints in C/C++
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Nov 12, 2023 · Fundamentals

How to Compute the Shortest Distance on a Circular Road Efficiently

Given a circular road with n stations and the distances between each consecutive pair, this article explains how to determine the minimal travel distance between any two stations by evaluating both clockwise and counter‑clockwise routes, providing problem details, examples, solution logic, reference implementations in Python, Java, and C++, and complexity analysis.

ArrayJavaalgorithm
0 likes · 8 min read
How to Compute the Shortest Distance on a Circular Road Efficiently
High Availability Architecture
High Availability Architecture
Mar 18, 2022 · Fundamentals

A C Programmer's First Experience with Rust

The author, a veteran C/C++ developer, reflects on two months of using Rust, highlighting how Rust's compile‑time safety checks address common memory problems of C languages, the challenges of reproducing runtime bugs, and the trade‑off between longer compile times and more reliable software.

DebuggingMemory SafetyRust
0 likes · 9 min read
A C Programmer's First Experience with Rust
21CTO
21CTO
Feb 22, 2022 · Fundamentals

Which Programming Languages Power Today’s Major Software? A Comprehensive Survey

This article surveys the programming languages and technologies underlying a wide range of operating systems, user interfaces, desktop tools, databases, browsers, servers, and other software, illustrating how C, C++, Java, and other languages dominate different components across the software ecosystem.

CTechnology Stackc++
0 likes · 14 min read
Which Programming Languages Power Today’s Major Software? A Comprehensive Survey
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.

CDynamic LibraryInterop
0 likes · 4 min read
How to Call C/C++ Code from Python Using ctypes
Baidu Geek Talk
Baidu Geek Talk
Aug 11, 2021 · Operations

Analyzing Core Dumps and Debugging Techniques with GDB

The article explains how to analyze core‑dump files with GDB by examining the function call stack, key registers, and memory contents, classifying crash causes, using GDB commands to inspect variables and addresses, reconstructing corrupted stacks, handling optimized‑away data and vtable errors, and following a systematic debugging workflow.

DebuggingRegistersc++
0 likes · 17 min read
Analyzing Core Dumps and Debugging Techniques with GDB
21CTO
21CTO
Sep 28, 2019 · Backend Development

What I Learned From a Tough ByteDance Backend Interview: Nginx, Redis, and More

A candid recount of a ByteDance backend interview reveals how superficial preparation, gaps in Nginx, uWSGI, Redis, and data‑structure knowledge, and nervousness can derail even experienced developers, while offering concrete advice on early preparation, resume framing, and tackling tough technical questions.

BackendNginxalgorithm
0 likes · 12 min read
What I Learned From a Tough ByteDance Backend Interview: Nginx, Redis, and More