random C/C++ question: is there any way to implement the chunking optimization w/o violating strict aliasing?https://github.com/esmil/musl/blob/master/src/string/memcpy.c …
-
-
Replying to @johnregehr
@johnregehr memcpy is magical and the compiler can perform magic when it sees it's being called. Chunk at will, brave soul!1 reply 0 retweets 1 like -
Replying to @jfbastien
@jfbastien but I've been looking at a lot of C lately and basically everything does its own chunking optimziations3 replies 0 retweets 1 like -
Replying to @johnregehr
@johnregehr@jfbastien You could save a lot of hand-wringing by linking to examples of code not implementing libc.2 replies 0 retweets 0 likes -
Replying to @BRIAN_____
@BRIAN_____ “Parlomba! Apporte le vin et le saucisson. Pas celui des clients.”2 replies 0 retweets 1 like -
Replying to @volatile_void
@spun_off
@BRIAN_____ yet another thing I will have to say more often1 reply 0 retweets 0 likes
@johnregehr @spun_off It'd only help a bit. GCC has special code that says "Is the function named memcpy? If so, do something sensible."
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.