Tagged articles

C#

848 articles · Page 1 of 9
IT Services Circle
IT Services Circle
Jun 29, 2026 · Game Development

What Programming Languages Power Genshin Impact?

Genshin Impact combines Unity's C# scripting, C++ engine cores, Go or Java for servers, Python for tooling, and even hand‑written assembly for critical paths, illustrating how a modern AAA game relies on a multi‑language stack to balance performance and development speed.

C#C++Game Development
0 likes · 7 min read
What Programming Languages Power Genshin Impact?
Deepin Linux
Deepin Linux
Jun 26, 2026 · Fundamentals

Mastering C++ vtable internals: Demystifying polymorphism

This article explains how C++ implements polymorphism through virtual tables and virtual pointers, walks through their generation, memory layout, single‑ and multiple‑inheritance scenarios, distinguishes compile‑time and runtime polymorphism, and shows practical guidelines for when to use or avoid polymorphic designs.

C#compile-time polymorphisminheritance
0 likes · 28 min read
Mastering C++ vtable internals: Demystifying polymorphism
Deepin Linux
Deepin Linux
Jun 25, 2026 · Fundamentals

Understanding C/C++ Process Memory Layout: Code, Global, Stack, and Heap

This article explains how an operating system divides a C/C++ program's virtual address space into four distinct regions—code, global, stack, and heap—detailing their lifetimes, permissions, management rules, and common pitfalls such as memory leaks, dangling pointers, and stack overflow.

C#Memory Managementcode segment
0 likes · 13 min read
Understanding C/C++ Process Memory Layout: Code, Global, Stack, and Heap
Deepin Linux
Deepin Linux
Jun 24, 2026 · Fundamentals

Master Compile‑Time Polymorphism: Ditch Obscure SFINAE with C++20 Concepts

The article explains compile‑time polymorphism in C++, shows why traditional SFINAE is hard to read and debug, and demonstrates how C++20 Concepts provide clearer syntax, precise errors, and better multi‑condition support, backed by side‑by‑side code examples and a detailed feature comparison.

C#ConceptsMetaprogramming
0 likes · 12 min read
Master Compile‑Time Polymorphism: Ditch Obscure SFINAE with C++20 Concepts
Deepin Linux
Deepin Linux
Jun 23, 2026 · Fundamentals

How Type Traits Rescue a Broken C++ Object Pool and Enable Type‑Adaptive Pooling

The author recounts how a naïve generic C++ object pool caused data residue, construction failures, and incompatibility with primitive types, then demonstrates a refactored, thread‑safe pool that leverages compile‑time Type Traits, std::enable_if, and constexpr if to apply distinct creation, reset, and destruction logic for trivial, Clear‑able, and non‑trivial types, eliminating the earlier bugs.

C#Object PoolTemplate Metaprogramming
0 likes · 11 min read
How Type Traits Rescue a Broken C++ Object Pool and Enable Type‑Adaptive Pooling
Deepin Linux
Deepin Linux
Jun 22, 2026 · Backend Development

Memory Pool vs Object Pool: When to Choose and How to Build One from Scratch

The article explains why high‑concurrency programs suffer from memory fragmentation and system‑call overhead, compares memory pools and object pools, outlines their distinct use‑cases, provides step‑by‑step C and C++ implementations, and highlights optimization tips and common pitfalls.

C#High concurrencyObject Pool
0 likes · 20 min read
Memory Pool vs Object Pool: When to Choose and How to Build One from Scratch
Deepin Linux
Deepin Linux
Jun 21, 2026 · Backend Development

Why Off‑Heap Memory Can Leak on Linux—and How to Avoid It

The article explains how off‑heap memory and mmap enable zero‑copy I/O for high‑performance Linux services, but because the JVM does not manage it, careless allocation or missing releases can cause off‑heap memory leaks that lead to OOM, and it provides concrete detection and mitigation techniques.

C#JavaLinux
0 likes · 24 min read
Why Off‑Heap Memory Can Leak on Linux—and How to Avoid It
IT Services Circle
IT Services Circle
Jun 19, 2026 · Fundamentals

Understanding C++ Multiple Inheritance: What Goes Into the A and B Parts of a vtable

The article explains how clang can dump the exact vtable layout for a class with multiple inheritance, revealing that a single vtable is actually a virtual table group composed of a primary and secondary table, each containing its own offset_to_top, RTTI entries, function slots and thunks, and shows why new virtual functions appear only in the primary part while the secondary part holds adjusted thunks for overridden base functions.

C#Itanium ABIMultiple Inheritance
0 likes · 21 min read
Understanding C++ Multiple Inheritance: What Goes Into the A and B Parts of a vtable
Deepin Linux
Deepin Linux
Jun 15, 2026 · Backend Development

Understanding Linux PCI Drivers: A Complete Beginner’s Guide

This article walks readers through the fundamentals of Linux PCI/PCIe buses, explains the kernel PCI subsystem, details core data structures such as struct pci_dev, struct pci_driver, and struct pci_device_id, and provides step‑by‑step code examples for device enumeration, driver matching, resource allocation, and practical driver implementation.

C#DeviceEmbedded
0 likes · 25 min read
Understanding Linux PCI Drivers: A Complete Beginner’s Guide
21CTO
21CTO
Jun 13, 2026 · Industry Insights

Beyond Fuel: Inside SpaceX’s Four Core Software Battlefields

The article examines how SpaceX’s software teams—covering flight control, enterprise information systems, ground launch‑pad software, and avionics testing—use a diverse tech stack to ensure real‑time reliability, illustrating that rockets rely on both fuel and code to reach orbit.

C#SpaceXavionics testing
0 likes · 10 min read
Beyond Fuel: Inside SpaceX’s Four Core Software Battlefields
Deepin Linux
Deepin Linux
Jun 12, 2026 · Interview Experience

Avoid the Top 4 Static Keyword Traps in C/C++ Interviews and Secure Your Offer

The article explains the four most frequently tested static keyword pitfalls in C/C++ interviews—local variable initialization, thread‑unsafe functions, file‑level global scope, and class member sharing—detailing their underlying lifetime and scope rules, common misconceptions, and a concise answer template to prevent losing an offer.

C#Scopeclass member
0 likes · 11 min read
Avoid the Top 4 Static Keyword Traps in C/C++ Interviews and Secure Your Offer
IT Services Circle
IT Services Circle
Jun 7, 2026 · Fundamentals

Why Switching Linux Page Size to 2 MiB Can Skyrocket Performance

The article explains how the default 4 KiB pages cause frequent TLB misses, how using 2 MiB huge pages expands a single TLB entry’s coverage by 512×, reduces page‑walk depth and page‑table overhead, and provides C++ examples for both hugetlbfs and Transparent Huge Pages.

C#Huge PagesLinux
0 likes · 7 min read
Why Switching Linux Page Size to 2 MiB Can Skyrocket Performance
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 5, 2026 · Industry Insights

Can Rust Replace C in Embedded Firmware? An Industrial Study from ST and Academia

A ten‑week side‑by‑side study by ST, Inria and university researchers shows that Rust firmware for an STM32U585 microcontroller uses 45 % less RAM than an equivalent C implementation while matching performance, highlighting Rust's zero‑heap model, portability advantages and the remaining limitations for low‑end MCUs.

Ariel OSC#Embedded Firmware
0 likes · 12 min read
Can Rust Replace C in Embedded Firmware? An Industrial Study from ST and Academia
Geek Labs
Geek Labs
Jun 4, 2026 · Product Management

Vicinae: Open‑Source C++ Desktop Launcher with Millisecond Response and Raycast Plugin Compatibility

Vicinae is an open‑source, C++‑native desktop command panel for macOS and Windows that launches in under a millisecond, offers built‑in functions like app search, clipboard history, file indexing, and supports React/TypeScript Raycast plugins, script commands, and dmenu mode, positioning itself as a fast, extensible alternative to Alfred, Raycast and uTools.

C#Cross-PlatformRaycast plugins
0 likes · 6 min read
Vicinae: Open‑Source C++ Desktop Launcher with Millisecond Response and Raycast Plugin Compatibility
AI Agent Super App
AI Agent Super App
May 29, 2026 · Databases

Why SQLite Is the World's Most Deployed Database—and How to Use It End‑to‑End

SQLite, the server‑less, single‑file database engine, is the most widely deployed database on the planet, powering Android, iOS, browsers and countless desktop apps; this article walks through its core features, Linux installation, command‑line CRUD, language bindings for Python, C, Java and Go, plus practical backup and performance tricks.

C#CLIGo
0 likes · 21 min read
Why SQLite Is the World's Most Deployed Database—and How to Use It End‑to‑End
Open Source Tech Hub
Open Source Tech Hub
May 23, 2026 · Backend Development

Achieving Single‑Thread Peak Performance: How TrueAsync Server Rewrites the PHP Server Landscape in C

TrueAsync Server is a high‑performance HTTP/1.1, HTTP/2 and HTTP/3 server written in C that embeds directly into the PHP process, runs entirely on a single thread, eliminates inter‑thread communication, supports multi‑protocol on one port, and offers a suite of low‑level optimizations and a clear API for developers.

C#HTTP/3PHP
0 likes · 17 min read
Achieving Single‑Thread Peak Performance: How TrueAsync Server Rewrites the PHP Server Landscape in C
Deepin Linux
Deepin Linux
May 22, 2026 · Fundamentals

What is nullptr and why should it replace NULL in modern C++?

The article explains that NULL is a macro equal to integer 0, which can cause type‑mixing errors in overload resolution and template deduction, while the C++11 keyword nullptr has its own std::nullptr_t type, providing strict pointer semantics, eliminating overload ambiguities, improving safety, readability, and integration with modern C++ features.

C#NULLfunction overload
0 likes · 24 min read
What is nullptr and why should it replace NULL in modern C++?
IT Services Circle
IT Services Circle
May 21, 2026 · Fundamentals

When `const auto& r = cond ? a : b;` Becomes a Dangling Reference – 3 C++ Lifetime‑Extension Pitfalls

The article explains that although C++ extends the lifetime of temporaries bound to a const reference, this rule has three critical edge cases—returning const references from functions, binding references in member initializer lists, and using the ternary operator—each of which can produce a dangling reference and cause obscure runtime crashes.

C#best practicescompiler warnings
0 likes · 13 min read
When `const auto& r = cond ? a : b;` Becomes a Dangling Reference – 3 C++ Lifetime‑Extension Pitfalls
TonyBai
TonyBai
May 20, 2026 · Artificial Intelligence

Why Go and Rust Outperform C++ in AI‑Generated Code: Insights from ProgramBench

A comprehensive analysis of the ProgramBench study reveals that top‑tier AI models like Claude excel at recreating Go and Rust projects, while GPT‑based models struggle, highlighting language‑specific engineering advantages and exposing AI coding habits that shape future software development.

AI codingC#Claude
0 likes · 14 min read
Why Go and Rust Outperform C++ in AI‑Generated Code: Insights from ProgramBench
Liangxu Linux
Liangxu Linux
May 19, 2026 · Fundamentals

Programming: Memorize or Create? Why Understanding Beats Rote Learning

The author argues that successful programming relies 70% on understanding, 20% on practice, and only 10% on memorization, emphasizing that developers should focus on grasping core concepts, building muscle memory through repeated coding, and using documentation as needed rather than trying to memorize every API.

C#EmbeddedLinux
0 likes · 6 min read
Programming: Memorize or Create? Why Understanding Beats Rote Learning
Java Architect Essentials
Java Architect Essentials
May 18, 2026 · Backend Development

Meet Reqable: A Free, Cross‑Platform Postman Alternative with Superior Performance

Reqable is a free, cross‑platform API testing tool built with Flutter and C++ that offers instant startup, low memory usage, offline storage, HTTP/2‑3 support, data migration from other tools, packet‑capture debugging, and an active open‑source community, positioning it as a high‑performance replacement for Postman.

API testingC#Cross-Platform
0 likes · 7 min read
Meet Reqable: A Free, Cross‑Platform Postman Alternative with Superior Performance
21CTO
21CTO
May 17, 2026 · Fundamentals

How C++26’s Hardened Standard Library Tackles Undefined Behavior

The article explains that undefined behavior in C++ often stems from standard‑library misuse, describes the new C++26 P3471R4 hardened library that turns such UB into runtime contract violations, cites Google’s production data showing over a thousand bugs found with only 0.30% overhead and a 30% drop in segfaults, and details how to enable and use the feature.

C#ContractsP3471R4
0 likes · 8 min read
How C++26’s Hardened Standard Library Tackles Undefined Behavior
21CTO
21CTO
May 11, 2026 · Artificial Intelligence

Mojo 1.0 Beta: A New Era of Python‑C++ Performance

Mojo 1.0 beta combines familiar Python syntax with C/Rust‑level speed, introduces API‑stabilizing language changes, expands cross‑vendor GPU support, and delivers measurable AI/ML performance gains, while offering a decision framework that weighs its early‑stage ecosystem against production needs.

AIC#GPU
0 likes · 10 min read
Mojo 1.0 Beta: A New Era of Python‑C++ Performance
Deepin Linux
Deepin Linux
May 11, 2026 · Fundamentals

Eliminate Memory Fragmentation: Understanding Memory Pools

The article explains how frequent dynamic allocations cause external and internal memory fragmentation, illustrates the problem with C++ examples, and shows that pre‑allocating a large contiguous block as a memory pool—managed via block division, free‑list tracking, and thread‑safe operations—significantly reduces fragmentation, improves allocation speed, and boosts concurrency performance.

C#Memory FragmentationPerformance Optimization
0 likes · 30 min read
Eliminate Memory Fragmentation: Understanding Memory Pools
21CTO
21CTO
May 10, 2026 · Industry Insights

JetBrains Makes CLion Free for Non‑Commercial Use – What It Means for Developers

JetBrains has announced that its flagship C/C++ IDE CLion is now free for any non‑commercial use, joining WebStorm and Rider in a broader strategy that lowers barriers for students, open‑source contributors, hobbyists, and content creators while preserving full functionality.

C#CLionDeveloper Tools
0 likes · 7 min read
JetBrains Makes CLion Free for Non‑Commercial Use – What It Means for Developers
Deepin Linux
Deepin Linux
May 3, 2026 · Backend Development

Master Lock‑Free Queues: Unlock the Core of High‑Concurrency Programming

This article demystifies lock‑free queues by explaining their low‑level implementation, atomic operations, memory barriers, and the four SPSC/MPMC models, while also covering ABA problems, false sharing avoidance, and practical C++ code examples to help developers truly understand high‑concurrency fundamentals.

C#CASMPMC
0 likes · 44 min read
Master Lock‑Free Queues: Unlock the Core of High‑Concurrency Programming
21CTO
21CTO
Apr 30, 2026 · Industry Insights

Renowned Developer Chris Wellons Officially Bids Farewell to Emacs

Chris Wellons, a veteran open‑source engineer with 24 years of experience, announced his departure from Emacs after two decades, detailing his shift to Vim, the creation of stackcalc and Elfeed2 in C++ with wxWidgets, and the efficiency gains that drove the change.

C#Cross-PlatformDeveloper Tools
0 likes · 5 min read
Renowned Developer Chris Wellons Officially Bids Farewell to Emacs
CodeTrend
CodeTrend
Apr 28, 2026 · Industry Insights

CodeTrend Daily Report – Top GitHub Repositories (April 28 2026)

The CodeTrend daily report spotlights the most‑starred GitHub projects added today, this week and this month across languages, highlighting hot repos such as Claude‑Code tools, VibeVoice, FinceptTerminal, and a range of AI, finance, and developer utilities.

C#GitHubPython
0 likes · 50 min read
CodeTrend Daily Report – Top GitHub Repositories (April 28 2026)
Liangxu Linux
Liangxu Linux
Apr 26, 2026 · Backend Development

Which IDEs Do Linux C Developers Prefer? Insights from Major Companies

The article surveys the most popular IDEs for C development on Linux, compares personal preferences such as VSCode, CLion, Vim/Neovim, and Emacs, and examines how large internet firms, embedded‑software companies, fintech, and startups choose their tools based on learning curve, performance, project size, and team policies.

C#CLionEmacs
0 likes · 5 min read
Which IDEs Do Linux C Developers Prefer? Insights from Major Companies
TonyBai
TonyBai
Apr 15, 2026 · Industry Insights

Modern C++: Productivity Revolution or Added Complexity? Community Deep Dive

A recent r/cpp discussion reveals three distinct C++ developer mindsets—legacy‑code loyalists, modern‑feature enthusiasts, and mixed‑approach pragmatists—debating whether C++20/23 innovations boost productivity or merely pile on complexity, and proposes incremental modernization as a balanced path forward.

C#C++20C++23
0 likes · 11 min read
Modern C++: Productivity Revolution or Added Complexity? Community Deep Dive
Liangxu Linux
Liangxu Linux
Apr 13, 2026 · Fundamentals

Master Linux Network Programming: From Echo Server to Mini HTTP Server

This guide walks beginners through progressive Linux network programming projects—starting with an Echo server, advancing to a concurrent chatroom, and culminating in a simple HTTP server—to solidify core concepts like TCP handshakes, socket I/O, and protocol handling.

C#LinuxNetwork Programming
0 likes · 4 min read
Master Linux Network Programming: From Echo Server to Mini HTTP Server
Deepin Linux
Deepin Linux
Apr 7, 2026 · Fundamentals

Why io_uring Is the Game‑Changer for Linux Asynchronous I/O (And How to Master It)

This article provides a comprehensive, step‑by‑step analysis of Linux's io_uring, covering its architecture, design principles, workflow, performance advantages over traditional models like epoll, practical C code examples, optimization techniques, real‑world use cases, and the challenges developers may face when adopting it.

C#Linuxasynchronous I/O
0 likes · 52 min read
Why io_uring Is the Game‑Changer for Linux Asynchronous I/O (And How to Master It)
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Mar 27, 2026 · Backend Development

How EasySearch Rules Engine Tags Data at Ingest Time

The article walks through EasySearch's Rules plugin, showing how its high‑performance C++ rule engine can automatically match and tag documents during the ingest pipeline, enabling zero‑latency content classification for scenarios like regional, sentiment, and entity tagging.

C#ElasticsearchIngest Pipeline
0 likes · 9 min read
How EasySearch Rules Engine Tags Data at Ingest Time
Deepin Linux
Deepin Linux
Mar 24, 2026 · Fundamentals

Mastering Linux PCI Driver Development: From Theory to Real Code

This comprehensive guide walks readers through the Linux PCI driver architecture, explains the PCI and PCIe bus evolution, details the kernel's layered driver framework, enumerates devices, manages resources, registers drivers, and presents a full SSD driver case study with code examples and performance tuning techniques.

C#Device DriversLinux
0 likes · 30 min read
Mastering Linux PCI Driver Development: From Theory to Real Code
DeWu Technology
DeWu Technology
Mar 4, 2026 · Backend Development

How the Multiplicative Tree Framework Enables Instant Formula Deployment and Stable High‑Performance Ranking

The article details the design and evolution of the Multiplicative Tree framework—from version 1.0 to 3.0—showing how a DSL‑based, compile‑time‑checked configuration system delivers instant formula deployment, robust stability safeguards, and significant performance gains for multi‑objective ranking models.

C#JavaPerformance Optimization
0 likes · 18 min read
How the Multiplicative Tree Framework Enables Instant Formula Deployment and Stable High‑Performance Ranking
IT Services Circle
IT Services Circle
Feb 26, 2026 · Interview Experience

Master C++ friend: 5 Levels of Usage Every Interview Candidate Should Know

This article walks through the five practical levels of using C++ friend— from a quick syntax recap to operator overloads, factory functions, iterator access, swap idiom, and the Passkey pattern—explaining when and why each scenario warrants a friend declaration and how it impacts encapsulation and interview performance.

Access ControlC#design patterns
0 likes · 14 min read
Master C++ friend: 5 Levels of Usage Every Interview Candidate Should Know
Deepin Linux
Deepin Linux
Feb 25, 2026 · Backend Development

Master VSCode and GDB: Complete Guide to C/C++ Debugging

This comprehensive tutorial walks you through installing VSCode and GDB on Linux, macOS, and Windows, configuring launch.json and tasks.json, mastering basic and advanced debugging techniques such as breakpoints, watchpoints, multithreaded and remote debugging, and troubleshooting common issues for C/C++ development.

C#Remote DebuggingVSCode
0 likes · 26 min read
Master VSCode and GDB: Complete Guide to C/C++ Debugging
IT Services Circle
IT Services Circle
Feb 9, 2026 · Fundamentals

Why Misusing std::shared_ptr Slows Your C++ Code and How to Fix It

This article explores common pitfalls when using std::shared_ptr in C++, including unnecessary copying, extra heap allocations, cyclic references, and subtle memory retention with make_shared, provides benchmark comparisons, and offers practical guidelines such as preferring const‑reference passing, using std::make_shared, and employing weak_ptr to break cycles.

C#memory-managementperformance
0 likes · 10 min read
Why Misusing std::shared_ptr Slows Your C++ Code and How to Fix It
Deepin Linux
Deepin Linux
Jan 30, 2026 · Backend Development

Master Linux TCP: System Calls, Handshakes, and Real‑World Code

This article provides a comprehensive guide to Linux TCP development, explaining the role of system calls, the three‑way handshake and four‑way termination, detailing core socket functions such as socket, bind, listen, accept, connect, read/write, recv/send, and includes complete example code for building a simple TCP server and client with troubleshooting tips.

C#LinuxTCP
0 likes · 41 min read
Master Linux TCP: System Calls, Handshakes, and Real‑World Code
Wuming AI
Wuming AI
Jan 29, 2026 · Artificial Intelligence

How to Compress Long LLM Conversations with Smart Summarization and Sliding Window

This article explains how to keep essential information from lengthy AI chat histories by using an intelligent summarization prompt, injecting the summary as a system message, and applying a sliding‑window strategy that retains the last three exchanges, thereby reducing token cost and preserving context continuity.

C#LLMPrompt Engineering
0 likes · 11 min read
How to Compress Long LLM Conversations with Smart Summarization and Sliding Window
Liangxu Linux
Liangxu Linux
Jan 27, 2026 · Fundamentals

Master STM32 GPIO: All 8 Modes Explained with Code Samples

This tutorial walks through STM32's eight GPIO operating modes—four inputs and four outputs—detailing their electrical behavior, typical use cases, configuration steps, and providing complete HAL code examples to help embedded developers choose the right mode for reliable designs.

C#EmbeddedGPIO
0 likes · 16 min read
Master STM32 GPIO: All 8 Modes Explained with Code Samples
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 17, 2026 · Fundamentals

The Most Stupid Embedded C Bug Ever: A Missing Space That Turned Code Into a Comment

The article walks through a seemingly simple C file‑creation snippet that fails on Windows because Microsoft's tmpfile() uses C:\, then reveals a hidden bug where a stray backslash in a comment and a missing space in an expression silently turn code into comments, illustrating how tiny syntax errors can break cross‑platform programs.

C#Cross-PlatformEmbedded
0 likes · 7 min read
The Most Stupid Embedded C Bug Ever: A Missing Space That Turned Code Into a Comment
Zhihu Tech Column
Zhihu Tech Column
Jan 16, 2026 · Mobile Development

How a Custom C++ Native Rendering Engine Boosted Reading‑App Performance by Over 2%

The article details the design of a cross‑platform C++ rendering engine built for a mobile reading app, explaining its three‑layer architecture, file‑format support, layout and caching mechanisms, security features, and how these technical choices delivered measurable improvements in page views, reading time, and conversion rates.

C#Cross-PlatformMobile Development
0 likes · 35 min read
How a Custom C++ Native Rendering Engine Boosted Reading‑App Performance by Over 2%
Deepin Linux
Deepin Linux
Dec 28, 2025 · Fundamentals

Understanding Linux User Stacks: How Threads Manage Memory and Calls

This article explains the role of the Linux user stack in multithreaded programs, covering its memory layout, how each thread gets a private stack, stack frame mechanics, growth and overflow handling, and practical examples of creating and debugging stacks with pthreads and gdb.

C#LinuxUser Stack
0 likes · 24 min read
Understanding Linux User Stacks: How Threads Manage Memory and Calls
Java One
Java One
Dec 26, 2025 · Fundamentals

How C/C++, Java, and Python Run: A Deep Dive into Compilation and Execution

This article compares the execution models of C/C++, Java, and Python, explaining how compiled machine code, bytecode with JVM, and interpreted bytecode with the Python virtual machine operate, and illustrates each process with example file structures and compilation steps.

C#CompilationExecution Model
0 likes · 6 min read
How C/C++, Java, and Python Run: A Deep Dive into Compilation and Execution
Deepin Linux
Deepin Linux
Dec 25, 2025 · Operations

How to Optimize Linux Thread Stack Memory for High‑Concurrency Services

This article explains the fundamentals of Linux thread stack memory, identifies why default stack sizes can cause waste or overflow in high‑concurrency scenarios, and provides practical techniques—including stack‑size tuning, code refactoring, and memory‑mapping—to reduce memory usage and improve service stability.

C#LinuxMemory optimization
0 likes · 34 min read
How to Optimize Linux Thread Stack Memory for High‑Concurrency Services
Liangxu Linux
Liangxu Linux
Dec 24, 2025 · Fundamentals

Mastering C Function Pointers: From Basics to Embedded Applications

This tutorial explains what function pointers are, how to declare and use them in C, and demonstrates practical embedded‑system patterns such as callbacks, state machines, command dispatch, and advanced techniques like pointer arrays and struct members, while highlighting common pitfalls.

C#CallbacksEmbedded
0 likes · 13 min read
Mastering C Function Pointers: From Basics to Embedded Applications
Liangxu Linux
Liangxu Linux
Dec 23, 2025 · Fundamentals

Why char s1[] and char *s2 Aren’t the Same: Deep Dive into C Arrays vs Pointers

This article explains the fundamental differences between C arrays and pointers by examining memory layout, mutability, sizeof behavior, function parameter handling, multidimensional arrays, and practical best‑practice guidelines, providing clear code examples that reveal why declarations like char s1[] = "liangxu" and char *s2 = "liangxu" behave differently.

C#Embedded CPointers
0 likes · 14 min read
Why char s1[] and char *s2 Aren’t the Same: Deep Dive into C Arrays vs Pointers
Liangxu Linux
Liangxu Linux
Nov 30, 2025 · Fundamentals

How MuditaOS Brings Service‑Oriented Architecture to Embedded Phones

This article introduces MuditaOS, an open‑source embedded operating system for the minimalist Mudita Pure phone, detailing its FreeRTOS‑based service architecture, type‑safe message passing, lifecycle management, and the technical stack that enables a low‑power, E‑Ink‑optimized mobile experience.

C#FreeRTOSMuditaOS
0 likes · 5 min read
How MuditaOS Brings Service‑Oriented Architecture to Embedded Phones
Deepin Linux
Deepin Linux
Nov 30, 2025 · Fundamentals

When Does C++ Generate a Default Copy Constructor? A Deep Dive

This article explains the role of copy constructors in C++, when the compiler automatically provides a default one, the situations that trigger copy construction, why bitwise copying can be unsafe, and how to implement proper deep‑copy semantics with clear code examples.

C#Copy ConstructorDefault Constructor
0 likes · 31 min read
When Does C++ Generate a Default Copy Constructor? A Deep Dive
21CTO
21CTO
Nov 29, 2025 · Fundamentals

Why GCC’s Switch to C++20 Matters for Every C++ Developer

GCC has officially made C++20 the default language standard, a shift that reshapes codebases, tooling, and developer habits, requiring both newcomers and seasoned programmers to adapt to new features like modules, concepts, and coroutines while managing potential build issues.

C#C++20compiler
0 likes · 5 min read
Why GCC’s Switch to C++20 Matters for Every C++ Developer
Liangxu Linux
Liangxu Linux
Nov 24, 2025 · Fundamentals

Understanding Struct Alignment and Over‑Aligned Types in C/C++

This article explains the natural alignment requirements of C/C++ data types, how structs are padded and aligned based on member alignments, the hardware, cache and compiler reasons for alignment, and the concept of over‑aligned types with practical examples and usage guidelines.

C#C++compiler
0 likes · 11 min read
Understanding Struct Alignment and Over‑Aligned Types in C/C++
IT Services Circle
IT Services Circle
Nov 16, 2025 · Fundamentals

Will C# Overtake Java in 2025? Deep Dive into the TIOBE Index

The November 2025 TIOBE ranking shows Python still on top, but C# is rapidly gaining ground and may surpass Java for the first time in history, driven by cross‑platform .NET, open‑source momentum, modern language features, and strong backing from Microsoft and the cloud ecosystem.

2025C#Java
0 likes · 7 min read
Will C# Overtake Java in 2025? Deep Dive into the TIOBE Index
Liangxu Linux
Liangxu Linux
Nov 16, 2025 · Fundamentals

Convert Serial Bytes to Float in Embedded C with Unions and Endianness

This article explains how to reconstruct a 32‑bit floating‑point value from four serial bytes in embedded C by using a union or struct overlay, demonstrates the code, shows the resulting little‑endian byte order, and provides a simple function to detect system endianness.

C#Serial CommunicationUNION
0 likes · 5 min read
Convert Serial Bytes to Float in Embedded C with Unions and Endianness
Liangxu Linux
Liangxu Linux
Nov 13, 2025 · Fundamentals

How to Define a Custom read() in C Without Hiding the System Call

This article explains how to create a user‑defined read() function in C that coexists with the standard library read() by using the static keyword and separate translation units, providing code examples, compilation steps, and execution results.

C#Linuxfunction-overriding
0 likes · 6 min read
How to Define a Custom read() in C Without Hiding the System Call
Liangxu Linux
Liangxu Linux
Nov 12, 2025 · Fundamentals

Mastering Button Management in Embedded C with lwbtn: A Deep Dive

This article introduces the lightweight lwbtn library for embedded C, explains its core features, shows how to integrate it on STM32 with a complete demo, and provides an in‑depth analysis of its architecture, state‑machine processing, click detection algorithm, configuration options, and practical usage tips.

C#EmbeddedGPIO
0 likes · 13 min read
Mastering Button Management in Embedded C with lwbtn: A Deep Dive
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Nov 5, 2025 · Fundamentals

Why static_cast Beats C‑Style Casts in Modern C++

This article explains how static_cast provides compile‑time type safety, clearer intent, and zero runtime overhead compared to C‑style casts, covering basic arithmetic, pointer, and enum conversions, the compiler’s processing steps, practical examples, and best‑practice recommendations for safe C++ coding.

C#best practicescompile-time safety
0 likes · 14 min read
Why static_cast Beats C‑Style Casts in Modern C++
Deepin Linux
Deepin Linux
Nov 5, 2025 · Fundamentals

Unlocking the Secrets of TCP/IP: From Basics to Real-World Applications

This comprehensive guide explains how TCP/IP functions as the Internet's traffic rules, details each protocol in the suite, explores the four‑layer model, showcases practical C++ socket examples, and provides troubleshooting tips for real‑world networking scenarios.

C#Network ProtocolsTCP
0 likes · 45 min read
Unlocking the Secrets of TCP/IP: From Basics to Real-World Applications
Liangxu Linux
Liangxu Linux
Nov 4, 2025 · Fundamentals

Top Open‑Source MCU Libraries and Projects for Embedded Development

This article curates a collection of popular open‑source microcontroller projects, covering practical software modules such as MultiButton, QueueForMcu, and StateMachine, complete hardware projects like TinyGameEngine and HomeAutomation, IoT platforms, creative gadgets, and debugging tools, each with repository links, feature highlights, usage examples, and code snippets.

C#EmbeddedHardware
0 likes · 13 min read
Top Open‑Source MCU Libraries and Projects for Embedded Development
Liangxu Linux
Liangxu Linux
Oct 30, 2025 · Fundamentals

Boost Embedded Performance with the Lightweight C Event Library lwevt

This article introduces lwevt, a lightweight C event‑management library for embedded systems, covering its design goals, key features, X‑Macro‑based type definitions, thread‑safety considerations, and step‑by‑step usage examples with full source code snippets.

C#X-Macroevent-driven
0 likes · 6 min read
Boost Embedded Performance with the Lightweight C Event Library lwevt
Liangxu Linux
Liangxu Linux
Oct 28, 2025 · Fundamentals

8 Must‑Know Embedded Interview Questions and How to Ace Them

This article presents eight high‑frequency embedded‑system interview questions, explains the underlying concepts such as boot process, interrupt handling, stack overflow detection, struct alignment, bit‑banding, dynamic memory risks, volatile usage, and provides concise C code examples and best‑practice answers to help candidates succeed in technical interviews.

C#Cortex-MEmbedded
0 likes · 8 min read
8 Must‑Know Embedded Interview Questions and How to Ace Them
Dunmao Tech Hub
Dunmao Tech Hub
Oct 21, 2025 · Backend Development

How to Compile and Deploy ZLMediaKit for GB28181 Video Services

This guide walks you through installing prerequisites, cloning the ZLMediaKit source, compiling it on Linux, configuring it to work with WVP, and launching the server, plus troubleshooting tips and a Docker deployment alternative for GB28181 video integration.

C#GB28181Linux
0 likes · 7 min read
How to Compile and Deploy ZLMediaKit for GB28181 Video Services
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Oct 20, 2025 · Fundamentals

Why Does a C++ Program Crash on free() Even When It Looks Correct?

Even when a C++ program appears to run correctly, writing beyond allocated memory can corrupt heap metadata, causing a delayed crash at free(); this article explains the underlying malloc/free mechanisms, demonstrates the issue with code examples, and offers debugging tools and defensive programming practices to prevent such errors.

C#Freedebugging
0 likes · 9 min read
Why Does a C++ Program Crash on free() Even When It Looks Correct?
Liangxu Linux
Liangxu Linux
Oct 18, 2025 · Fundamentals

Essential C Coding Style Guide: Rules for Clean, Consistent Code

This guide outlines comprehensive C coding style rules, covering indentation, naming conventions, whitespace, comments, function prototypes, variable declarations, structures, enums, control flow, macros, and documentation, with clear examples to help developers write clean, maintainable, and consistent code across projects.

C#Code formattingStyle Guide
0 likes · 23 min read
Essential C Coding Style Guide: Rules for Clean, Consistent Code
Liangxu Linux
Liangxu Linux
Oct 15, 2025 · Fundamentals

Unlock Cross‑Platform C Development with TBOX: A Comprehensive Library Overview

TBOX is an open‑source C library offering a unified, cross‑platform API that simplifies common development tasks across Windows, macOS, Linux, Android, iOS and BSD, featuring modules for streams, coroutines, memory, containers, algorithms, networking, databases, and more, with build instructions via xmake.

C#Cross-PlatformLibrary
0 likes · 12 min read
Unlock Cross‑Platform C Development with TBOX: A Comprehensive Library Overview
IT Services Circle
IT Services Circle
Oct 15, 2025 · Fundamentals

Why Python Dominates and C Struggles for 2nd Place in the 2025 TIOBE Index

The October 2025 TIOBE index shows Python retaining the top spot while C reclaims second place, with C++, Java, and C# fiercely contesting the rankings, highlighting each language’s unique strengths and the shifting popularity driven by new standards, ecosystem growth, and emerging technology demands.

C#Language PopularityPython
0 likes · 6 min read
Why Python Dominates and C Struggles for 2nd Place in the 2025 TIOBE Index
Liangxu Linux
Liangxu Linux
Oct 12, 2025 · Fundamentals

Mastering Strong and Weak Functions in C for Flexible Embedded Design

This article explains the concept of strong and weak functions in C, shows how to declare them with GCC and other compilers, outlines the linker selection rules, and demonstrates practical uses such as library overrides, interrupt handlers, callbacks, test stubs, plugin systems, and related pitfalls.

C#EmbeddedLinker
0 likes · 9 min read
Mastering Strong and Weak Functions in C for Flexible Embedded Design
Liangxu Linux
Liangxu Linux
Oct 8, 2025 · Fundamentals

Master STM32 ADC Sampling and Filtering: From Basics to Advanced Algorithms

This tutorial walks through STM32F103ZET6 ADC fundamentals, explains key parameters, demonstrates how to use the VOFA+ PC tool for data visualization, and provides step‑by‑step implementations of several filtering algorithms—including first‑order complementary, median, arithmetic average, moving average, limit‑average, and Kalman filters—complete with code examples and performance analysis.

ADCC#Embedded
0 likes · 16 min read
Master STM32 ADC Sampling and Filtering: From Basics to Advanced Algorithms
Deepin Linux
Deepin Linux
Oct 6, 2025 · Fundamentals

Mastering Placement New in C++: When and How to Use It Safely

This article explains the concept, syntax, and practical use cases of C++ placement new, compares it with ordinary new, discusses memory‑pool and stack allocations, highlights alignment and lifetime management issues, and provides interview‑style Q&A with code examples.

C#Object Constructioncustom allocator
0 likes · 35 min read
Mastering Placement New in C++: When and How to Use It Safely
Deepin Linux
Deepin Linux
Oct 5, 2025 · Fundamentals

Why Stack Memory Is Faster Than Heap: Deep Dive into Allocation Mechanics

This article explains the fundamental differences between stack and heap memory allocation, covering their mechanisms, performance characteristics, common pitfalls such as overflow and leaks, and practical coding examples in C and C++, helping developers choose the right memory strategy for efficient software design.

C#allocationperformance
0 likes · 63 min read
Why Stack Memory Is Faster Than Heap: Deep Dive into Allocation Mechanics
Deepin Linux
Deepin Linux
Oct 3, 2025 · Fundamentals

When to Use Mutex vs Spinlock: Performance Guide and Best Practices

Choosing the right lock—mutex or spinlock—can dramatically affect program performance; this article explains their underlying waiting mechanisms, compares CPU usage, context‑switch costs, and suitability across multi‑core versus single‑core, high‑contention versus low‑contention scenarios, and provides practical C++ code examples.

C#Spinlockmutex
0 likes · 29 min read
When to Use Mutex vs Spinlock: Performance Guide and Best Practices
IT Services Circle
IT Services Circle
Oct 2, 2025 · Backend Development

Cracking Baidu's C++/PHP Interview: Key Questions, Answers, and QuickSort Code

This article examines the diminishing premium of overseas degrees, suggests one‑year master programs for career advancement, and then provides a comprehensive Baidu interview guide covering C++/PHP fundamentals, memory allocation, networking protocols, process vs thread, Redis performance, and a complete quicksort implementation in C++.

C#Memory ManagementQuickSort
0 likes · 13 min read
Cracking Baidu's C++/PHP Interview: Key Questions, Answers, and QuickSort Code
Deepin Linux
Deepin Linux
Oct 1, 2025 · Fundamentals

Why Deque Beats Vector and List: Inside the Double‑Ended Queue’s Magic

This article explains how the C++ deque combines the random‑access speed of a vector with the constant‑time double‑ended insertions of a list by using a segmented storage architecture, detailing its internal map, iterator mechanics, core operations, performance comparisons, practical use cases, and common pitfalls.

C#Data Structurealgorithm
0 likes · 47 min read
Why Deque Beats Vector and List: Inside the Double‑Ended Queue’s Magic