- "C++: Size Matters in Platform Compatibility" - 2 Updates
- Performance of unaligned memory-accesses - 2 Updates
Lynn McGuire <lynnmcguire5@gmail.com>: Aug 16 02:04PM -0500 "C++: Size Matters in Platform Compatibility" https://www.codeproject.com/Tips/5164768/Cplusplus-Size-Matters-in-Platform-Compatibility Interesting. Especially on storing Unicode as UTF-8. Lynn |
Jorgen Grahn <grahn+nntp@snipabacken.se>: Aug 16 08:45PM ["Followup-To:" header set to comp.lang.c++.] On Fri, 2019-08-16, Lynn McGuire wrote: > "C++: Size Matters in Platform Compatibility" > https://www.codeproject.com/Tips/5164768/Cplusplus-Size-Matters-in-Platform-Compatibility > Interesting. Especially on storing Unicode as UTF-8. Interesting that people still try to store/transfer data as manually handled binary. He also didn't seem to care about endianness and similar issues. I mostly use text, but if I really wanted binary I suppose I'd look into Google protobuf. /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o . |
Tim Rentsch <tr.17687@z991.linuxsc.com>: Aug 15 04:56PM -0700 > There's no reason why a compiler might get incorrect code because of > this. It's undefined behaviour only because of the runtime-behaivour > of the CPU / OS. If you think that then you don't understand how the C and C++ standards define the term "undefined behavior". |
Bonita Montero <Bonita.Montero@gmail.com>: Aug 16 06:44AM +0200 >> of the CPU / OS. > If you think that then you don't understand how the C and > C++ standards define the term "undefined behavior". I'm more precise about that. |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment