Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
projects:endian_template [2016/02/26]
terence [Download]
projects:endian_template [2016/02/26] (current)
terence [Q & A]
Line 129: Line 129:
 //If you have a question not answered here, please feel free to [[mailto:tjgrant@tatewake.com|contact me]] and ask.// //If you have a question not answered here, please feel free to [[mailto:tjgrant@tatewake.com|contact me]] and ask.//
  
-//No questions so far!//+=== vs Boost? ===
  
 +  * **Q:** What makes this better or different than [[http://www.boost.org/libs/endian/|Boost.Endian]]?
 +  * **A:** I can't say for certain if it's better. The Endian Template is small, and only provides a minimum of what's needed to handle automatic endian conversion.
 +
 +As I understand it Boost.Endian provides three different mechanisms for handling endian (one providing swapping functions), whereas my primary philosophy here is "don't use swapping functions."
 +
 +Just for trivia: I originally created this class in 2001 as a proof-of-concept, hoping I could use it in some emulation projects (never got around to those unfortunately.)
 +This predates when Boost.Endian came out, which was around 2002 or 2003.
 +
 +That said, I've used boost (in general) before on a day-to-day basis for a client project. I'm not a boost "hater", but I'm not a regular user of it either.
 ===== History ===== ===== History =====
 **February 26, 2016** **February 26, 2016**
Print/export
QR Code
QR Code Endian Template (C++) (generated for current page)