Re:C uses "&" for the address-operator because 'ampersand so...
by itsphilos on Tuesday October 10, 2023 @11:02AM
(#37832984)
I didn't know about Duff's device, which looks pretty interesting! Thanks for sharing
[ Parent
| on HN ]
Re:C uses "&" for the address-operator because 'ampersand so...
by lisper on Tuesday October 10, 2023 @11:52AM
(#37833753)
Sure, but just for the record IMHO duffs device is an abomination and an illustration of how badly broken C is. No one should ever actually use it.
Re:C uses "&" for the address-operator because 'ampersand so...
by commandersaki on Wednesday October 11, 2023 @10:18AM
(#37844731)
I think I've come across Duff's device in Go internals for zero-ing memory.