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 Minggu, 19 September 2010 bad code directory file descriptor fstatat good code Hashing language Library open source opendir Optimization readdir searching sorting torture Optimizing your file dialog Recently, someone asked me why is it that the custom file dialogs in some programs I wrote are able to load a file list so much faster than ...
By Unknown Minggu, 11 November 2007 API buffer overflow directory file descriptor fstatat getcwd gnu Library openat opendir PATH_MAX Portability readdir realpath save_cwd stat Directory safety when working with paths As we discussed in our previous two articles, we run into issues of thread safety when we try changing the path during a running program. ...