logoalt Hacker News

saagarjhalast Friday at 12:13 PM1 replyview on HN

This is no longer allowed with strict concurrency


Replies

galangalalgollast Friday at 12:28 PM

When did that happen? Or is it something I have to turn on? I had Claude write a swift version of the go version a few months ago and it segfaulted.

Edit: Ah, the global variable I used had a warning that it isn't concurrency safe I didn't notice. So you can compile it, but if you treat warnings as errors you'd be fine.