Comment

Comment by not_the_fda

Embedded is a PIA, its not web development and shouldn't be treated as such.

Printf isn't re-entrant, and they are calling it from multiple threads.

There are solutions with trade offs: https://interrupt.memfault.com/blog/printf-on-embedded

Everything in embedded is a tradeoff of space, performance, or cost.

If you come at it as web development with IO you are going to have a very bad time.

parent not_the_fda 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton