On Wednesday, December 16, 2015 at 6:18:32 PM UTC-5, [email protected] wrote: > > I'm actually using cryptopp on android and ios, and they have dfferent > crash behaviors. The android issue is in another thread, and seems related > to stl. > > In iOS I get farther in my app, but when it comes time to do a FileSource > to FileSync encryption it locks the device. Has anyone seen this? >
Yeah, when you have memory problems :) I find Android is one of the toughest platforms. I find Linux, OS X and Windows some of the easiest. iOS is somewhere in between due to Xcode's Instruments (https://developer.apple.com/library/tvos/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/index.html). They are somewhat like Visual Studio's Managed Debugging Assistants (https://msdn.microsoft.com/en-us/library/d21c150d%28v=vs.110%29.aspx). What I do is concentrate my error checking and analysis on the desktop OSes, like OS X and Linux. Once I am satisfied the "core" logic is sound, I port it to another platform, like iOS and Android. The philosophy above means you need a clean separation between "core" and "window/ui" logic or routines. You'll get the hang of it quickly. If you thoroughly test your code under Linux or OS X, you will likely find a memory error with a tool like Valgrind. That means you have to write the test cases, exercise the core logic routines, and run them under different analysis tools. Crypto++ eats its own dogfood. We spend a lot of time and effort on error checking, analysis and testing on the desktops OSes. For every 15 minutes we spend writing code, we probably spend 1 or 2 hours testing it on various platforms under different configurations. Also see https://cryptopp.com/wiki/Release_Process Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
