Blogs / Personal blogs

Keith Packard

keithp.com

I support the Software Freedom Conservancy and encourage you to as well. Donate here

Popular posts
4
Total points
589
HN comments
215
Rank
#4,261 personal

Visit keithp.com → On Hacker News Oct 2014 – Apr 2025

Software Engineering 3Systems & Performance 2Life, Learning & Writing 1History & Retro Computing 1

1

Fun with -fsanitize=undefined and Picolibc

Both GCC and Clang support the -fsanitize=undefined flag which instruments the generated code to detect places where the program wanders into parts of the C language specification which are either undefined or implementation defined. Many of these are also common programming errors. It would be great if there were…

2

Picolibc – Libc for Embedded Systems

I wrote a couple of years ago about the troubles I had finding a good libc for embedded systems , and for the last year or so I've been using something I called 'newlib-nano', which was newlib with the stdio from avrlibc bolted on. That library has worked pretty well, and required very little work to ship.