newlib

Sourceware.org's Newlib mirror with clang support for ARM baremetal (by eblot)

Newlib Alternatives

Similar projects and alternatives to newlib

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better newlib alternative or higher similarity.

newlib reviews and mentions

Posts with mentions or reviews of newlib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-03.
  • Is strcmp in embedded C safe? If not, what are the usual substitutes?
    2 projects | /r/embedded | 3 Feb 2023
    Swap the arguments is safer, as the first argument is checked for null termination first: https://github.com/eblot/newlib/blob/master/newlib/libc/string/strcmp.c
  • What happens if main returns (and nothing happens after)? And: syscalls in embedded?
    1 project | /r/embedded | 31 Dec 2022
    Regarding __libc_init_array(), I found this source code, but I think I don't quite understand; it says about the array of function pointers "These magic symbols are provided by the linker" - to what does __preinit_array_start refer?
  • How to make sure no Dynamic Memory is used
    1 project | news.ycombinator.com | 7 Nov 2022
    Any software written for microcontrollers or other low-memory environments is probably not going to use mmap or, more generally, anything that dynamically manipulates memory mappings (if there even is an MMU in the first place).

    That said, the specific use of a function called sbrk seems odd and maybe archaic, since it has no useful role if the heap is fixed-sized anyway. But it looks like newlib uses _sbrk as part of an abstraction that supports many different environments [1], including not just bare metal but also running as a userland program under Linux and other kernels. So maybe it makes sense.

    [1] https://github.com/eblot/newlib/search?q=_sbrk&type=code

  • A note from our sponsor - WorkOS
    workos.com | 28 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic newlib repo stats
3
54
10.0
over 10 years ago

eblot/newlib is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of newlib is C.

Popular Comparisons


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com