Tencent Engineer Submits Patch to Linux Kernel Introducing Swap Table Architecture

Tencent Engineer Submits Patch to Linux Kernel Introducing Swap Table Architecture

Source: Reprinted with permission from OSC Open Source Community (ID: oschina2013) Recently, Tencent engineer Kairui Song submitted a new patch to the Linux kernel mailing list, proposing the introduction of a new architecture called Swap Table, which integrates swap cache, swap mapping, and swap allocator into a new backend infrastructure. According to reports, the latest … Read more

C++ Project Recommendation – A KV Storage Project Comparable to Redis – Including Performance Optimization Techniques

C++ Project Recommendation - A KV Storage Project Comparable to Redis - Including Performance Optimization Techniques

Overview This tutorial will guide you step by step to implement a high-performance Mini-Redis from scratch, covering core technologies such as RESP protocol parsing, event-driven network programming, data structure implementation, persistence, and master-slave replication. This KV storage project is a C++ project that can truly be added to your resume. Unlike other KV storage projects … Read more

Why Many Advise Against Learning C++, Yet Major Companies Still Require It?

Why Many Advise Against Learning C++, Yet Major Companies Still Require It?

If you have followed campus recruitment in the past two years, you will likely have a direct sense of the “intensity” of Java positions: submitting a Java resume might not even pass the initial screening — not due to insufficient qualifications, but because in interviews, a simple question about “JVM garbage collection principles,” “Spring transaction … Read more

Analysis of the Basic Principles of Kprobe in the Linux Kernel

Analysis of the Basic Principles of Kprobe in the Linux Kernel

Kprobe is a powerful debugging and tracing tool in the Linux kernel that allows developers to dynamically insert breakpoints at almost any instruction in the kernel, enabling the collection of debugging and performance information without the need to reboot the system, modify the kernel source code, or recompile the kernel. In the previous article, Introduction … Read more

Wireshark Case Study (25): The ‘Multiplexing’ of HTTP/2

Wireshark Case Study (25): The 'Multiplexing' of HTTP/2

Introduction This article continues the “Wireshark Practical Case Study” series, delving into an “epoch-making” “efficiency revolution” in the world of web performance. It concerns the “loading speed” of every modern website you open, the fundamental transformation in the “dialogue” between “browsers” and “servers”, and a great “traffic” revolution initiated to end the “old” and “inefficient” … Read more

Python 3.12 Era: 5 Essential Programming Techniques You Must Master

Python 3.12 Era: 5 Essential Programming Techniques You Must Master

Introduction: The Transformation and Opportunities of Python 3.12 Data Support: According to the latest statistics from PyPI, the installation rate of Python 3.12 has surged by 40%, and new feature optimizations have improved code execution efficiency by 15%-30%. Pain Points: Limitations of traditional Python code in asynchronous processing, type checking, and performance optimization. Core Value: … Read more

The Great Integer Reversal Showdown in Python: A Journey from Novice to Expert

The Great Integer Reversal Showdown in Python: A Journey from Novice to Expert

Attention all Pythonistas! Today we will explore the various fascinating techniques for reversing integers in Python. Whether you are a beginner or an experienced developer, this guide will surely enlighten you! 🎯 Basic Concept of Integer Reversal Integer reversal is the process of reversing the order of digits in an integer. For example: 123 → … Read more

Summary of Python Code Performance Optimization Techniques

Summary of Python Code Performance Optimization Techniques

Follow and star to learn new Python skills every day Due to changes in the public account’s push rules, please click “View” and add “Star” to get exciting technical shares as soon as possible Source from the internet, please delete if infringing Python is a scripting language, which has some shortcomings in efficiency and performance … Read more

Advanced Python Teaching Lesson 1: Cython & PyPy

Advanced Python Teaching Lesson 1: Cython & PyPy

Lesson 1: Cython & PyPy – Achieving Maximum CPU Acceleration (180 min practical lesson plan, non-table version) 5 min Pre-class Check Python 3.12 is installed with development headers Execute the one-click script in the terminal curl -sSL https://raw.githubusercontent.com/yourrepo/setup.sh | bash Script content: install cython numpy pytest py-spy Class Flow 0–10 min Warm-up Run a pure … Read more

C++ Integer Reversal Showdown: A Journey from Novice to Expert

C++ Integer Reversal Showdown: A Journey from Novice to Expert

Hello, code wizards! Today we will explore the various magical methods of integer reversal in C++. Whether you are a beginner just starting out or a seasoned pro, this guide will open your eyes! 🎯 Basic Concept of Integer Reversal Integer reversal is the process of reversing the order of digits in an integer. For … Read more