Profiling newlib-nano's memcpy
This article takes a look at one of the commonly used functions provided by the Newlib C library:
memcpy. We’ll examine the default nano implementation and the performance implications, comparing it against the faster non-default implementation.
What we've been reading in July and August (2021)
You may have noticed there was no July roundup. We’ve been busy improving Memfault, building out our partnerships with Nordic Semiconductor and Laird, and enjoying the summer months. Thanks for understanding.
Here are the articles, videos, and tools that we’ve been excited about this July and August.
What we've been reading in June (2021)
Here are the articles, videos, and tools that we’ve been excited about this June.
Pocket article: Undefined Behavior Sanitizer Trap on Error
This post is a brief overview on how the Undefined Behavior Sanitizer can be used to trap unintentional or error prone parts of a C program. We’re going to look at how it’s used on a desktop program, as well as a way to use it in small embedded programs!
What we've been reading in May (2021)
Here are the articles, videos, and tools that we’ve been excited about this May.
Firmware Static Analysis with CodeChecker
In this post, I go over how to set up CodeChecker on a firmware project to reap the benefits of static analysis. I’ll also cover ways to deal with false positives, and configure your assert functions to be analysis-friendly.
Practical Design Patterns: Opaque Pointers and Objects in Cby Nick Miller
Objects are not a native concept in C, but you can achieve something resembling objects by using a design pattern known as the “opaque pointer”. This post will show you what the pattern is, explain some of the finer details, and provide guidance on when you should and shouldn’t use it.
What we've been reading in April (2021)
Here are the articles, videos, and tools that we’ve been excited about this April.