6.5 C
New York
Monday, July 26, 2021

Picolibc: Keith Packard presents New C library for embedded systems

Must Read

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 -


Please enter your comment!
Please enter your name here

- Advertisement -

Latest News

Drug-resistant ‘Superbug’ Candida Auris first time recorded spreading human-to-human

Candida auris is resistant to all currently available therapies and has been causing concern among health authorities since outbreaks...
- Advertisement -

More Articles Like This

- Advertisement -