From Essence to Implementation: What are the C and C++ Standard Libraries?

From Essence to Implementation: What are the C and C++ Standard Libraries?

Follow and star our public account for exciting content From the public account: OSC Open Source Community Link: https://www.oschina.net/translate/c-c-standard-library?origin=wechat Collaborative Translation Original Text: What are the C and C++ Standard Libraries? Link: https://www.internalpointers.com/post/c-c-standard-library Translators: Tocy, Tot_ziens, 雪落无痕xdj, 琪花亿草, 周其 This article provides a brief introduction to the field of writing C/C++ applications, the role of … Read more

Essential for Embedded Systems! Slimming Down the C Standard Library to Just a Few KB: Practical Notes on picolibc

Essential for Embedded Systems! Slimming Down the C Standard Library to Just a Few KB: Practical Notes on picolibc

In simple terms, picolibc is a C standard library (libc) tailored for small embedded devices. It combines the essence of newlib and AVR Libc, targeting systems with extremely limited memory—capable of running on a variety of architectures such as MSP430, RISC-V, ARM, ESP32, and MIPS. The focus is on being small, fast, and testable. Why … Read more

Understanding the Header File in the C Standard Library

Understanding the Header File in the C Standard Library

We are about to discuss the <string.h> header file in the C standard library. This header file provides a set of functions for manipulating strings (character arrays terminated by a null character ‘\0’) and memory blocks. I will explain the main functions in this header file in detail, including their purposes, parameters, return values, and … Read more

Comprehensive Analysis of String Handling Functions in C Language

Comprehensive Analysis of String Handling Functions in C Language

Comprehensive Analysis of String Handling Functions in C Language In C language, strings are stored as arrays of characters and are terminated with a null character <span>'\0'</span>. The C standard library provides a series of functions to handle strings, which are defined in the header file <span><string.h></span>. This article will detail commonly used string handling … Read more

Rust 1.87.0 Released! A Comprehensive Analysis of the Latest Version Unveiling New Heights in Performance and Safety

Rust 1.87.0 Released! A Comprehensive Analysis of the Latest Version Unveiling New Heights in Performance and Safety

On May 16, 2025, the highly anticipated Rust programming language welcomed its new stable version—Rust 1.87.0! As one of the leading, safest, and high-performance system-level languages in the industry, Rust continuously enhances the development experience and underlying technology through version upgrades. This 1.87.0 iteration brings several important new features and stability improvements, covering core language … Read more

newlib: An Open Source C Standard Library Tailored for Bare-Metal and Small Systems

newlib: An Open Source C Standard Library Tailored for Bare-Metal and Small Systems

Let’s start with the background of newlib. It is an open-source C standard library (libc) that originated from Cygnus and was later maintained by Red Hat. Unlike the “heavyweights” like glibc, newlib is specifically designed for bare-metal and small systems, allowing it to run without an operating system. In simple terms, it provides you with … Read more