3 ms·
Using Zig to provide stack traces on kernel panic on bare metal (2018)
- tibbydudeza 6y agoI once helped an engineer to bring up a custom board running an AMD 286 ... it had a strip of LED's which our boot loader would trigger at various points while it initialized the various bits. No LED meant it was time to bring out the oscilloscope.
- deckarep 6y agoOk, is it just me or is Andrew Kelley a one-person, prodigy coding machine? I’ve been following Zig’s development for a few years now and the technical wizardry he’s gone through to develop a powerful, innovative language that is self hosted, challenges all the new systems languages out there, compiles C and supports magical cross compilation is just mind blowing to 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.
- CyberDildonics 6y ago> Thanks Andrew for pushing the boundaries and rethinking what can be possible with modern tooling. Zig fails if you have carriage returns or tabs in your source
- deleted 6y ago[deleted]
- idle_zealot 6y agoIs that a bug or a feature?
- rstat1 6y agoDepends on which side of the "tab vs spaces" debate you're on I'd think (I'd personally consider it a bug to not be able to handle both)
- O_H_E 6y agoAnswered clearly here https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-me-to-use-spaces-instead-of-tabs https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...
- pron 6y agoYou mean an early prototype of the Zig compiler fails.
- O_H_E 6y agoI would like to thank (and blame :p) you for the rabbit hole. I just had some ride between zig, foss funding, musl, and such. Andrew is truly doing some awesome work.
- deleted 6y ago[deleted]
- andreaorru 6y agoWhen I lived in New York, I was lucky enough to have the opportunity of hacking together pretty often. Seeing his intensity and dedication had a huge impact on me. Thanks Andy!
- wavesquid 6y agoNeeds [2018] Previous discussion: https://news.ycombinator.com/item?id=18603632 https://news.ycombinator.com/item?id=18603632
- deleted 6y ago[deleted]