Go, Python, Rust: Which One Should We Learn?

Go, Python, Rust: Which One Should We Learn?

Choosing a programming language is no longer just about syntax or preference; it also involves considerations of performance, scalability, developer coding speed, and even the cloud server costs for the team. If you are building a high-throughput service, should you choose Go for concurrency? Or Python for rapid iteration? Or Rust for speed and safety? … Read more

Linux cgroup v1 vs v2: Evolution and Transformation

Linux cgroup v1 vs v2: Evolution and Transformation

The Linux Control Groups (cgroups) is a mechanism provided by the Linux kernel to limit, control, and isolate the resources (such as CPU, memory, disk I/O, etc.) of a group of processes. Cgroup v1 and v2 are two major versions that have significant differences in design and functionality. 1. Architecture cgroup v1: Uses a hierarchical … Read more

Should Global Variables Be Recommended in Embedded Software?

Should Global Variables Be Recommended in Embedded Software?

Scan to FollowLearn Embedded Together, learn and grow together When it comes to global variables, the most common discussion is about reducing their usage or the various drawbacks associated with them. Today, we will discuss a different perspective. For embedded software, the use of global variables has many advantages. This article will explore the advantages … Read more

PlutoFilter: A Zero Memory Allocation Image Filter Library in C

PlutoFilter: A Zero Memory Allocation Image Filter Library in C

Introduction In the field of image processing, performance and simplicity are always the goals pursued by developers. Today, we introduce an open-source project—PlutoFilter—which is a lightweight, high-performance, and feature-rich image filter library. It is written in pure C language, consists of a single header file, and does not use dynamic memory allocation at all, making … Read more

Rust: How Many Times Have You Given Up?

Rust: How Many Times Have You Given Up?

Author | Yun ZhaoIn 2022, more and more developers are finding that team leaders are starting to let their teams refactor projects using Rust. Even if the team leader doesn’t push it, colleagues around seem to be quietly practicing the “borrow checker”, and sometimes you can see them yelling at the screen: “What the hell, … Read more

Switching from Python to Go: Here Are 9 Reasons We Found

Switching from Python to Go: Here Are 9 Reasons We Found

Excerpt from Stream Author: Thierry Schellenbach Translated by: Machine Heart Contributors: Huang Xiaotian, Li Yazhou Switching to a new programming language is often a significant decision, especially when only one member of your team has experience with it. This year, the Stream team transitioned its primary programming language from Python to Go. This article explains … Read more

Why OpenAI Rewrote Codex CLI in Rust?

Why OpenAI Rewrote Codex CLI in Rust?

Introduction: Beyond Language Preference — A Strategic Engineering Transformation The OpenAI Codex CLI is not just a code completion tool. It is an AI-driven coding agent that runs locally, designed for “chat-driven development”. Its capabilities include reading and editing files, executing commands, and even handling multimodal inputs like screenshots, which have posed high demands on … Read more

Shocking! The Secret of C++ Line Breaks: Are endl and \n Really Different?!

Shocking! The Secret of C++ Line Breaks: Are endl and n Really Different?!

Shocking! The Secret of C++ Line Breaks: Are endl and \n Really Different?! Hello everyone! Today, I am going to reveal a little-known fact in the C++ world! Are you ready to have your understanding refreshed? 🎭 Surface Brothers: endl and \n Many cute little ones think: cout << "Hello World!" << endl; and cout … Read more

Pillow-SIMD: The High-Speed Version of Image Processing!

Pillow-SIMD: The High-Speed Version of Image Processing!

▼ Click the card below to follow me ▲ Click the card above to follow me Pillow-SIMD: The High-Speed Version of Image Processing! Pillow-SIMD is an optimized version of the Pillow library that utilizes SIMD (Single Instruction, Multiple Data) technology to significantly accelerate image processing. Imagine you are in the kitchen, and your chopping speed … Read more

Renesas to Launch the World’s Most Powerful 1GHz MCU

Renesas to Launch the World's Most Powerful 1GHz MCU

In recent years, Renesas has made significant efforts in the MCU sector, continuously launching new MCUs.In fact, I have previously shared many articles about Renesas MCUs, including the newly launched MCU, such as: the ultra-low power microcontroller RA4L1. Additionally, I have shared an article: The Rise of Renesas MCUs in Recent Years.Recently, I discovered that … Read more