molecularman
Re:Kids who own phones have poorer reading comprehension scores than t...
on Wednesday July 29, 2026 @02:40AM (#49094118)
I mean, I myself have poorer reading comprehension than me x years ago.
Re:Eliminating Go bounds checks with unsafe
on Wednesday July 22, 2026 @01:44AM (#49002308)
Thanks! Good question, I don't think such a tool exists. Such a tool would require a mathematical proof of an invariant that all the accesses are in bounds. The closest thing is the compiler's own bounds-check elimination proof engine. It eliminates the check when it can prove the checks aren't necessary and sometimes you can help it with hints like `_ = b[i+3]`. But then you don't need unsafe at all, which is the point: unsafe is the last resort.
Re:Eliminating Go bounds checks with unsafe
on Wednesday July 22, 2026 @01:21AM (#49002184)
Thank you. I've added your comment to the essay.