Blazingly Fast Shadow Stacks for Go
tl;dr: Software shadow stacks could deliver up to 8x faster stack trace capturing in the Go runtime when compared to the frame pointer unwinding that landed in go1.21. This doesn't mean that this idea should escape from the laboratory right away, but it offers a fun glimpse into a potential future of hardware accelerated stack trace capturing via shadow stacks.InspirationA couple of days ago I came across an interesting comment from the author of the Bytehound profiler on Hacker News. The comme...
Read more at blog.felixge.de