Excellent article as always from the cloudflare blog - engineering without magic infrastructure and ml. One day I will apply ! Compiler bugs are actually quite common ( I used to find several a year in gcc ), but as the author says, some of them only appear when you work at a very large scale, and most people never dive that far.
What's stopping you applying today?
We found a bug in Go's ARM64 compiler
11–20 of 146 posts
Re: We found a bug in Go's ARM64 compiler
#12Re: We found a bug in Go's ARM64 compiler
#13Re: We found a bug in Go's ARM64 compiler
#14Always adjust your stack pointer atomically, kids.
Nobodys fault really, but bad results ensued.
Re: We found a bug in Go's ARM64 compiler
#15That's an incredible find and once I saw the assembly I was right along with them on the debug path. Interestingly it doesn't need to be assembly for this to work, it's just that that's where the split was. The IR could've done it, it just doesn't for very good reasons. So another win for being able to read arm assembly. Unsure if this would be another way to do it but to save an instruction at the cost of a memory a…
> So another win for being able to read arm assembly. Yes, though that weird stuff with dollars in it is not normal AArch64 assembly! The article could have mentioned the "stack moves once" rule.
Re: We found a bug in Go's ARM64 compiler
#16That's an incredible find and once I saw the assembly I was right along with them on the debug path. Interestingly it doesn't need to be assembly for this to work, it's just that that's where the split was. The IR could've done it, it just doesn't for very good reasons. So another win for being able to read arm assembly. Unsure if this would be another way to do it but to save an instruction at the cost of a memory a…
Usually in runtimes like Java and .NET there are safepoints exactly to avoid changing context in the middle of a set of instructions.
Re: We found a bug in Go's ARM64 compiler
#17Re: We found a bug in Go's ARM64 compiler
#18Earlier quoted context omitted.
What's stopping you applying today?
Similar to the previous commenter, every time I read a blog post from Cloudflare I end up checking the careers page thinking "this is exactly the kind of work I'd like to be doing". Sadly no openings in my country. I'll keep checking!
If you have the skills, they have the coin.
They won’t hire some react guy in X country but someone who can find compiler bugs and save them XX+ million dollars a year? Heck yeah.
Re: We found a bug in Go's ARM64 compiler
#19Also, fulfills the marketing objective because I cannot help but think that this team is a bunch of hotshots who have the skill to do this on demand and the quality discipline to chase down rare issues.
I assume these are Ampere Altra? I was considering some of those for web servers to fill out my rack (more space than power) but ended up just going higher on power and using Epyc.
Re: We found a bug in Go's ARM64 compiler
#20For the impatient, here's the fix: https://github.com/golang/go/commit/f7cc61e7d7f77521e073137c...
Does the Go team have a natural language bot or is this just comment.contains(“backport”) type stuff?