logoalt Hacker News

ninjaoxygentoday at 12:18 PM1 replyview on HN

People who grew up with assembly language or locking primitives are fairly likely to use compare-and-swap because it's literally the commonly understood term for it.

https://en.wikipedia.org/wiki/Compare-and-swap


Replies

8by3today at 1:50 PM

TIL, thanks for the context. What I was getting at still stands, LLM's seem to love a lot of words-with-hyphens which might be grammatically correct, but I've never seen a human actually type.