Caleb Spare

Results 109 comments of Caleb Spare

If you change ``` var keyInt keyIntType = 0 ``` to ``` var keyInt keyIntType = 1 ``` then it allocates. If you change ``` const stringKey = "somestring" ```...

Thanks for implementing this @arp242! I skimmed the code and it makes sense to me, but I'm not too familiar with staticcheck internals since all my tools are built on...

Overall, I'm very excited to get access to a type-safe concurrent map in the stdlib. Thanks for sending this proposal. I'd prefer that we do sync/v2 and put it in...

This makes the rendered docs look nice, but now your code has an even uglier name in it which violates new style norms.

#66452 is the "related, thornier" issue I mentioned at the end.

#68103 is an interesting related bug. It looks like the `debug.SetTraceback` trick only works for panics and not fatal errors.

It's currently the case today that `debug.SetTraceback` lets the user disable (one part of) this security measure. People who wrote code before 2023 that called `debug.SetTraceback` never got the security...

I can turn this into a proposal, but I'd appreciate some feedback about what direction the runtime/security folks would find most palatable. By the way, I should say that from...

@rolandshoemaker could you please review this thread and say which options seem the best to you?