Re:Ask HN: Is big-endian dead?
by classichasclass on Saturday January 20, 2018 @02:54AM
(#16192542)
Except, of course, for those small number of us who primarily do run on a BE platform. I don't mind doing this work, just let us do it.
[ Parent
| on HN ]
FWIW I'd be very happy to accept patches adding the appropriate platform-specific inline assembly around here: https://github.com/capnproto/capnproto/blob/master/c++/src/c...
(But the status quo on BE is that it does a load followed by a byte swap, which is probably pretty cheap anyway. The compiler might even already know how to optimize that into the appropriate LE-load instruction.)