By Unknown Sabtu, 03 Mei 2014 API bad code bugs compatibility file descriptor files good code insane ideas Portability pure failure x86-64 A good idea with bad usage: /dev/urandom Last week, I wrote two articles pointing out issues with unofficial porting efforts of LibreSSL . In these articles, I highlighted some is...
By Unknown Selasa, 02 April 2013 API binary C++ 2011 C++-0x compatibility file descriptor files Function Pointers good code insane ideas lambda functions language Library Optimization Portability protocols Designing C++ functions to write/save to any storage mechanism Problem A common issue when dealing with a custom object or any kind of data is to create some sort of save functionality with it, perhaps w...
By Unknown Selasa, 29 November 2011 API competition files GCC Optimization Reading in an entire file at once in C++, part 2 Last week I discussed 6 different methods on how to quickly get an entire file into a C++ string . The conclusion was that the straight forw...
By Unknown Selasa, 22 November 2011 API competition files GCC good code insane ideas Optimization How to read in a file in C++ So here's a simple question, what is the correct way to read in a file completely in C++? Various people have various solutions, those w...