Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
adamnemecek
· 6y ago · 0 comments
Please don't use Duff's device. Look at how your favorite c std lib implements memcpy and think about that rather than this.
Comments
[–]
alan
6y ago
Duff's device does not do memcpy. It's writing all the elements of a string to the same location in memory, where there's a port.