6.5 C
New York
Sunday, November 28, 2021

Picolibc: Keith Packard presents New C library for embedded systems

Must Read

A massive asteroid stronger than an atom bomb is approaching Earth: how dangerous can it be?

The asteroid 2018 AH is expected to be roughly 190 meters long, similar to the Tunguska asteroid,...

Giving Tuesday: a chance to make a real difference for others and ourselves after Black Friday and Cyber Monday

Giving Tuesday 2021: After Black Friday and Cyber Monday, a chance to truly help others and ourselves.

JPMorgan’s chief might regret his comments about China’s CCP but he has a point

Comparing JPMorgan to the Chinese Communist Party is bold and hubristic. Despite his later regrets for boasting...
Aakash Molpariya
Aakash started in Nov 2018 as a writer at Revyuh.com. Since joining, as writer, he is mainly responsible for Software, Science, programming, system administration and the Technology ecosystem, but due to his versatility he is used for everything possible. He writes about topics ranging from AI to hardware to games, stands in front of and behind the camera, creates creative product images and much more. He is a trained IT systems engineer and has studied computer science. By the way, he is enthusiastic about his own small projects in game development, hardware-handicraft, digital art, gaming and music. Email: aakash (at) revyuh (dot) com

The developer Keith Packard has announced in his blog the first stable version of Picolibc. This is a new implementation of the standard library for language C, which is specifically designed for use on embedded devices. In the library various code components of other projects and new code from Packard were merged.

Packard itself has been involved in the development of Unix-like systems for several decades, most notably the X11 windowing system, and has a long experience in using language C. Since mid-July, Packard has been working for the RISC V Specialists Sifive on improving the development tools for embedded systems with the free CPU architecture. The new project clearly aims to be used on small microcontrollers and not for use with more powerful CPUs and a complete Linux system.

For the now available Picolibc Packard has taken the code of Newlib as the starting point of his work. In it, the developer has replaced the IO components with those from the AVR Libc and further optimized the new code in other respects. For example, RISC-V generates faster and smaller code through specific changes. The use of the build system Meson should also accelerate building the library.

As part of Picolibc, Packard has also created a picocrt, which is responsible for initializing memory and invoking various constructors before calling its own C program the main function. The code of Picolibc can be found on Github. The code consists exclusively of components under BSD license or similarly revealing licenses.

Via | Keith Blog

- Advertisement -

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -

Latest News

- Advertisement -

More Articles Like This

- Advertisement -