What do people think about a programming language feature where there's a builtin intrinsic that just reads 2, 4, or 8 bytes, from memory known to be either big or little endian, and returns an integer in the correct byte order: a no-op if they match, fastest instructions if not.
-
Show this thread
-
Replying to @Jonathan_Blow
Are not all current micro architectures little endian? I think this was more of a previous century thing?
1 reply 0 retweets 2 likes -
Replying to @Jonathan_Blow @BramStolk
In which case it might be good to keep it explicit? (rather than implicit, as seems the case from your description)
6:34 PM - 2 Jan 2020
0 replies
0 retweets
3 likes
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.