Using Zig to provide stack traces on kernel panic on bare metal (2018)
andrewkelley.me
andrewkelley.me
Thanks Andrew for pushing the boundaries and rethinking what can be possible with modern tooling.
I highly recommend people to watch his live streams. Excellent stuff.
Zig fails if you have carriage returns or tabs in your source
(I'd personally consider it a bug to not be able to handle both)
No LED meant it was time to bring out the oscilloscope.
Previous discussion: https://news.ycombinator.com/item?id=18603632