carfield.com.hk misc.txt 2020-12-24T00:49:03Z 2020-12-24T00:49:03Z <br/>The long past of C, how standard growth in C - <a href="http://esr.ibiblio.org/?p=4304">http://esr.ibiblio.org/?p=4304</a> <br/><br/>The state of C - <a href="http://drdobbs.com/article/print?articleId=223000089&siteSectionName=">http://drdobbs.com[..]int?articleId=223000089&siteSectionName=</a> <br/><br/>Reference of C libraries - <a href="http://programmers.stackexchange.com/questions/102924/are-there-any-c-api-explorers-browsers-out-there-that-include-the-gnu-c-library">http://programmers.stackexchange.com[..]out-there-that-include-the-gnu-c-library</a> <br/><br/>Reflection for C - <a href="http://altdevblogaday.com/2011/09/25/reflection-in-c-part-1-introduction/">http://altdevblogaday.com[..]/25/reflection-in-c-part-1-introduction/</a> <br/><br/>Interesting idea, integrate C and lisp - <a href="http://voodoo-slide.blogspot.com/2010/01/amplifying-c.html">http://voodoo-slide.blogspot.com/2010/01/amplifying-c.html</a> <br/><br/>How to prevent code duplication in C - <a href="http://groups.google.com/group/comp.lang.c.moderated/browse_thread/thread/b4d029524579944e?hl=en&pli=1">http://groups.google.com[..]read/thread/b4d029524579944e?hl=en&pli=1</a> <br/><br/>Why need header - <a href="http://stackoverflow.com/questions/1305947/why-does-c-need-a-separate-header-file">http://stackoverflow.com[..]7/why-does-c-need-a-separate-header-file</a> <br/><br/>How to monitor file usage - <a href="http://www.thegeekstuff.com/2010/04/inotify-c-program-example">http://www.thegeekstuff.com/2010/04/inotify-c-program-example</a> <br/><br/>C programming questions - <a href="http://stevenkobes.com/ctest.html">http://stevenkobes.com/ctest.html</a> <br/><br/>Taking input for compilation - <a href="http://susam.in/blog/compiler-taking-input-while-compiling/">http://susam.in/blog/compiler-taking-input-while-compiling/</a> <br/><br/>Understand lvalues and rvalues - <a href="http://eli.thegreenplace.net/2011/12/15/understanding-lvalues-and-rvalues-in-c-and-c/">http://eli.thegreenplace.net[..]standing-lvalues-and-rvalues-in-c-and-c/</a> <br/><br/><a href="http://www.thegeekstuff.com/2012/05/classic-unix-books">http://www.thegeekstuff.com/2012/05/classic-unix-books</a> <br/><br/>You may have something like <br/> switch (x) {<br/> case 1 ... 100:<br/> printf("1 <= %d <= 100\n", x);<br/> break;<br/><a href="http://www.lainoox.com/ranges-in-c-switch-statements/">http://www.lainoox.com/ranges-in-c-switch-statements/</a> <br/><br/>Tutorial - <a href="http://cslibrary.stanford.edu/101/EssentialC.pdf">http://cslibrary.stanford.edu/101/EssentialC.pdf</a> <br/><br/>C Is Not a Low-level Language - <a href="https://queue.acm.org/detail.cfm?id=3212479">https://queue.acm.org/detail.cfm?id=3212479</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2020-12-24T00:49:03Z chinese.txt 2020-09-02T05:47:43Z 2020-09-02T05:47:43Z <br/>Chinese character detail - <a href="https://chardb.iis.sinica.edu.tw/">https://chardb.iis.sinica.edu.tw/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2020-09-02T05:47:43Z optimization.txt 2017-06-01T15:13:08Z 2017-06-01T15:13:08Z <br/>Optimizing Pixomatic for x86 Processors part II<br/><br/><a href="http://www.ddj.com/architect/184405765">http://www.ddj.com/architect/184405765</a> <br/><a href="http://www.ddj.com/184405807">http://www.ddj.com/184405807</a> <br/><a href="http://www.ddj.com/184405848">http://www.ddj.com/184405848</a> <br/><a href="http://www.home.comcast.net/~tom_forsyth/papers/pixomatic_gdc2004.ppt">http://www.home.comcast.net[..]tom_forsyth/papers/pixomatic_gdc2004.ppt</a> <br/><br/>Fast way to add null after each char from a string - <a href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/51d0f84dd22ad734?hl=en">http://groups.google.com[..]wse_thread/thread/51d0f84dd22ad734?hl=en</a> <br/><br/>Move 80 bytes asap - <a href="http://codereview.stackexchange.com/questions/5520/copying-80-bytes-as-fast-as-possible">http://codereview.stackexchange.com[..]520/copying-80-bytes-as-fast-as-possible</a> <br/><br/>Pass by value maybe faster than pass by reference - <a href="http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/">http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/</a> <br/><br/>Why is java consumer/producer so much faster than C++, a lot of analysis and optimization tips for C++ coding - <a href="https://groups.google.com/forum/?hl=en&fromgroups#!topic/comp.lang.c++/7aNw3PzPvMI">https://groups.google.com[..]mgroups#!topic/comp.lang.c++/7aNw3PzPvMI</a> <br/><br/>case study of optimization with asm output - <a href="http://roartindon.blogspot.hk/2016/04/boosting-zopfli-performance.html">http://roartindon.blogspot.hk[..]2016/04/boosting-zopfli-performance.html</a> <br/><br/>Thread-Local Storage - <a href="http://david-grs.github.io/tls_performance_overhead_cost_linux/">http://david-grs.github.io/tls_performance_overhead_cost_linux/</a> <br/><br/>There are chance that remove branching make code run faster -<br/><a href="http://www.infoq.com/cn/articles/x86-high-performance-programming">http://www.infoq.com/cn/articles/x86-high-performance-programming</a> Other articles in same series - <a href="http://www.infoq.com/cn/articles/x86-high-performance-programming-pipeline">http://www.infoq.com[..]86-high-performance-programming-pipeline</a> <br/><a href="http://www.infoq.com/cn/articles/x86-high-performance-programming-optimization">http://www.infoq.com[..]igh-performance-programming-optimization</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-06-01T15:13:08Z book.txt 2017-02-16T14:45:06Z 2017-02-16T14:45:06Z <br/><a href="https://www.ossblog.org/learn-c-programming-with-9-excellent-open-source-books/">https://www.ossblog.org[..]ming-with-9-excellent-open-source-books/</a> <br/><br/><a href="https://www.ossblog.org/master-c-programming-with-open-source-books/">https://www.ossblog.org[..]er-c-programming-with-open-source-books/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-02-16T14:45:06Z cpp.txt 2016-01-05T15:00:16Z 2016-01-05T15:00:16Z <br/>Element of Modern C++ Style, new language feature of C++11 - <a href="http://www.herbsutter.com/elements-of-modern-c-style/">http://www.herbsutter.com/elements-of-modern-c-style/</a> , complete tutorial of C++11 - <a href="http://www2.research.att.com/~bs/C++0xFAQ.html">http://www2.research.att.com/~bs/C++0xFAQ.html</a> . And also list of document - <a href="http://punchcard.wordpress.com/2011/11/01/c11-c0x-documentation/">http://punchcard.wordpress.com/2011/11/01/c11-c0x-documentation/</a> <br/><br/>How to embed script in C++ - <a href="http://dobbscodetalk.com/index.php?option=com_myblog&show=Embedding-a-Scripting-Language-in-CPlusPlus.html&Itemid=29">http://dobbscodetalk.com[..]ing-Language-in-CPlusPlus.html&Itemid=29</a> <br/><br/>Is CPP that crap? <a href="http://lwn.net/Articles/249460/">http://lwn.net/Articles/249460/</a> <br/><br/>lint for c++ - <a href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/b895a69d84ff909d?pli=1">http://groups.google.com[..]wse_thread/thread/b895a69d84ff909d?pli=1</a> <br/><br/><a href="http://www.ddj.com/cpp/archives.jhtml">http://www.ddj.com/cpp/archives.jhtml</a> <br/><br/>Namespace tutorial - <a href="http://www.dreamincode.net/forums/showtopic59841.htm">http://www.dreamincode.net/forums/showtopic59841.htm</a> <br/><br/><a href="http://loadcode.blogspot.com/2009/11/advantages-of-c-over-c.html">http://loadcode.blogspot.com/2009/11/advantages-of-c-over-c.html</a> <br/><br/>Delete a pointer in iterator - <a href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/cfff42bf0c8a569c?hl=en">http://groups.google.com[..]wse_thread/thread/cfff42bf0c8a569c?hl=en</a> <br/><br/>Discussing about using standard container without copy constructor - <a href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/50e174f87d0261cd?hl=en">http://groups.google.com[..]wse_thread/thread/50e174f87d0261cd?hl=en</a> <br/><br/>Free books - <a href="https://tfetimes.com/free-c-books/">https://tfetimes.com/free-c-books/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2016-01-05T15:00:16Z style.txt 2013-08-12T09:31:03Z 2013-08-12T09:31:03Z <br/>How to have good C code - <br/><br/>- Be Disciplined About Namespace Management<br/>- Clearly Document Published APIs<br/>- Keep Data Types Abstract<br/>- Use Polymorphism Judiciously<br/>- Prefer Modularisation Over Conditional Compilation<br/>- The Best Way to Modularise a Large C Codebase is Don't Have a Large C Codebase!<br/><br/><a href="http://www.natpryce.com/articles/000799.html">http://www.natpryce.com/articles/000799.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2013-08-12T09:31:03Z ide.txt 2013-07-13T10:02:24Z 2013-07-13T10:02:24Z <br/><a href="http://programmers.stackexchange.com/questions/47082/is-there-a-good-but-lightweight-c-editor-or-ide-for-windows">http://programmers.stackexchange.com[..]-lightweight-c-editor-or-ide-for-windows</a> <br/><br/>13 Linux Debuggers for C++ Reviewed - <a href="http://www.drdobbs.com/article/print?articleId=240156817&siteSectionName=testing">http://www.drdobbs.com[..]icleId=240156817&siteSectionName=testing</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2013-07-13T10:02:24Z compiler.txt 2012-11-04T02:01:04Z 2012-11-04T02:01:04Z <br/>Template variable name lookup explain - <a href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/e8755b9cb8f0fd61#">http://groups.google.com[..]+/browse_thread/thread/e8755b9cb8f0fd61#</a> <br/><br/>How link work, and how to debug if thing doesn't work - <a href="http://www.thegeekstuff.com/2011/10/gcc-linking">http://www.thegeekstuff.com/2011/10/gcc-linking</a> <br/><br/>How to create static / dynamic library - <a href="http://www.lainoox.com/c-shared-libraries-static-dynamic/">http://www.lainoox.com/c-shared-libraries-static-dynamic/</a> <br/><br/>GCC - <a href="http://www.thegeekstuff.com/2012/10/gcc-compiler-options/">http://www.thegeekstuff.com/2012/10/gcc-compiler-options/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-11-04T02:01:04Z network.txt 2012-10-28T01:42:16Z 2012-10-28T01:42:16Z <br/>Sample code of flooding network with raw socket - <a href="http://www.lainoox.com/c-syn-flood-raw-socket/">http://www.lainoox.com/c-syn-flood-raw-socket/</a> <br/><br/>C99 socket programming - <a href="http://gustedt.wordpress.com/2011/10/24/socket-programming-and-c99/">http://gustedt.wordpress.com[..]m/2011/10/24/socket-programming-and-c99/</a> <br/><br/>How to Perform Packet Sniffing Using Libpcap with C Example Code - <a href="http://www.thegeekstuff.com/2012/10/packet-sniffing-using-libpcap/">http://www.thegeekstuff.com[..]m/2012/10/packet-sniffing-using-libpcap/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-10-28T01:42:16Z concurrency.txt 2012-08-29T23:41:07Z 2012-08-29T23:41:07Z <br/>Lightweight thread, actually a simple greem thread - <a href="http://www.sics.se/~adam/pt/index.html">http://www.sics.se/~adam/pt/index.html</a> <a href="http://www.sics.se/~adam/pt/pt-1.4-refman/">http://www.sics.se/~adam/pt/pt-1.4-refman/</a> <a href="http://drdobbs.com/article/print?articleId=229601338&siteSectionName=">http://drdobbs.com[..]int?articleId=229601338&siteSectionName=</a> <br/><br/>How Fork work - <a href="http://stackoverflow.com/questions/7609531/how-is-fork-working-when-children-fork">http://stackoverflow.com[..]1/how-is-fork-working-when-children-fork</a> <br/><br/>Comparing OpenMP and Intel TBB - <a href="http://www.ddj.com/go-parallel/article/printableArticle.jhtml;jsessionid=JE3I1H3FF3UUUQSNDLPCKHSCJUNN2JVN?articleID=214303519">http://www.ddj.com[..]UQSNDLPCKHSCJUNN2JVN?articleID=214303519</a> <br/><br/>Tutorial about TBB - <a href="http://software.intel.com/en-us/articles/optimizing-game-architectures-with-intel-threading-building-blocks/">http://software.intel.com[..]es-with-intel-threading-building-blocks/</a> <br/><br/>Multi-thread optimzated malloc - <a href="http://groups.google.com/group/comp.programming.threads/browse_thread/thread/c1ec1fa08c744a8c?hl=en">http://groups.google.com[..]wse_thread/thread/c1ec1fa08c744a8c?hl=en</a> <br/><br/>Introduction to 2 static analysis tool to check OpenMP potential issue, like racing condition - <a href="http://software.intel.com/en-us/articles/an-unsuccessful-attempt-to-compare-pvs-studio-vivamp-and-intel-cc-parallel-lint/">http://software.intel.com[..]tudio-vivamp-and-intel-cc-parallel-lint/</a> <br/><br/>Light weigth lock provide by Linux kernal - <a href="http://lwn.net/Articles/360699/">http://lwn.net/Articles/360699/</a> <br/><br/><a href="http://software.intel.com/en-us/articles/intel-threading-building-blocks-openmp-or-native-threads/">http://software.intel.com[..]uilding-blocks-openmp-or-native-threads/</a> <br/><br/>OpenMP vs. POSIX - <a href="http://www.dalkescientific.com/writings/diary/archive/2012/01/13/openmp_vs_posix_threads.html">http://www.dalkescientific.com[..]/2012/01/13/openmp_vs_posix_threads.html</a> <br/><br/>OpenACC - <a href="http://www.drdobbs.com/article/print?articleId=240006334&siteSectionName=parallel">http://www.drdobbs.com[..]cleId=240006334&siteSectionName=parallel</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-08-29T23:41:07Z profiler.txt 2012-08-21T14:56:25Z 2012-08-21T14:56:25Z <br/>gprof - <a href="http://www.ibm.com/developerworks/library/l-gnuprof.html">http://www.ibm.com/developerworks/library/l-gnuprof.html</a> <a href="http://www.thegeekstuff.com/2012/08/gprof-tutorial/">http://www.thegeekstuff.com/2012/08/gprof-tutorial/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-08-21T14:56:25Z make.txt 2012-07-28T04:01:37Z 2012-07-28T04:01:37Z <br/>Make alternatives - <a href="http://freecode.com/articles/make-alternatives">http://freecode.com/articles/make-alternatives</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-07-28T04:01:37Z cuda.txt 2012-06-07T16:54:50Z 2012-06-07T16:54:50Z <br/>Using CUDA with Java - <a href="http://www.javacodegeeks.com/2011/09/gpgpu-java-programming.html">http://www.javacodegeeks.com/2011/09/gpgpu-java-programming.html</a> <br/><br/>C library that allow programmer use the power of NVIDIA GPUs<br/><br/><a href="http://www.nvidia.com/object/cuda_home.html">http://www.nvidia.com/object/cuda_home.html</a> <br/><a href="http://www.ddj.com/article/printableArticle.jhtml;jsessionid=UFEJH1Z4AGIIIQSNDLOSKH0CJUNN2JVN?articleID=207200659&dept_url=/architect/">http://www.ddj.com[..]articleID=207200659&dept_url=/architect/</a> <br/><a href="http://www.ddj.com/article/printableArticle.jhtml;jsessionid=BL2GUDLIYK1O4QSNDLPCKH0CJUNN2JVN?articleID=207402986&dept_url=/hpc-high-performance-computing/">http://www.ddj.com[..]ept_url=/hpc-high-performance-computing/</a> <br/><a href="http://www.ddj.com/article/printableArticle.jhtml?articleID=207603131&dept_url=/hpc-high-performance-computing/">http://www.ddj.com[..]ept_url=/hpc-high-performance-computing/</a> <br/><br/>CUDA Data Parallel Primitives Library - <a href="http://www.ddj.com/article/printableArticle.jhtml?articleID=212903437&dept_url=/hpc-high-performance-computing/">http://www.ddj.com[..]ept_url=/hpc-high-performance-computing/</a> <br/><br/>CUDA tutorial - <a href="http://www.ddj.com/architect/207200659">http://www.ddj.com/architect/207200659</a> <br/><br/><a href="http://www.infoq.com/presentations/Introduction-to-CUDA-C">http://www.infoq.com/presentations/Introduction-to-CUDA-C</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-06-07T16:54:50Z security.txt 2012-05-09T16:29:56Z 2012-05-09T16:29:56Z <br/>Security coding standard for C - <a href="http://www.drdobbs.com/cpp/232901670?cid=DDJ_nl_upd_2012-05-08_h&elq=71bc323bdc004bfc8091ce3238c093a2">http://www.drdobbs.com[..]8_h&elq=71bc323bdc004bfc8091ce3238c093a2</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-05-09T16:29:56Z system.txt 2012-04-25T16:02:07Z 2012-04-25T16:02:07Z <br/>How to add file in /proc - <a href="http://www.thegeekstuff.com/2012/04/create-proc-files">http://www.thegeekstuff.com/2012/04/create-proc-files</a> <br/><br/>Basic about unix signal - <a href="http://www.thegeekstuff.com/2012/03/linux-signals-fundamentals/">http://www.thegeekstuff.com/2012/03/linux-signals-fundamentals/</a> <br/><br/>limitation of select call - <a href="http://www.moythreads.com/wordpress/2009/12/22/select-system-call-limitation/">http://www.moythreads.com[..]009/12/22/select-system-call-limitation/</a> <br/><br/>Give hint to kernal about how use swap memory - <a href="http://linux.die.net/man/2/madvise">http://linux.die.net/man/2/madvise</a> <br/><br/>Recursive ls - <a href="http://synesis.com.au/software/recls/">http://synesis.com.au/software/recls/</a> <br/><br/>Socket programming tutorial - <a href="http://www.codedanger.com/caglar/?p=210">http://www.codedanger.com/caglar/?p=210</a> <a href="http://simplestcodings.com/2011/01/18/ping/">http://simplestcodings.com/2011/01/18/ping/</a> <br/><br/>Discussion about making flush() reliable - <a href="http://groups.google.com/group/comp.programming.threads/browse_thread/thread/71da1187ec3b0445?hl=en">http://groups.google.com[..]wse_thread/thread/71da1187ec3b0445?hl=en</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-04-25T16:02:07Z cobol.txt 2012-04-01T13:02:15Z 2012-04-01T13:02:15Z <br/>Where will cobol go? - <a href="http://www.javaworld.com/cgi-bin/mailto/x_java.cgi?pagetosend=/export/home/httpd/javaworld/javaworld/jw-03-2012/120314-cobol-s-legacy-could-be-lost.html&pagename=/javaworld/jw-03-2012/120314-cobol-s-legacy-could-be-lost.html&pageurl=http://www.javaworld.com/javaworld/jw-03-2012/120314-cobol-s-legacy-could-be-lost.html&site=jw_core">http://www.javaworld.com[..]s-legacy-could-be-lost.html&site=jw_core</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-04-01T13:02:15Z memory issue.txt 2012-03-01T14:25:13Z 2012-03-01T14:25:13Z <br/>Problem of malloc, and introduction to some improved version - <a href="http://betathoughts.blogspot.com/2010/02/history-of-malloc.html">http://betathoughts.blogspot.com/2010/02/history-of-malloc.html</a> <br/><br/>Personal memo about C++ memory management, from a Java developer, contain some rule of thumb tips - <a href="http://karussell.wordpress.com/2012/01/19/java-guy-reboots-with-c-trying-to-understand-memory-mangement/">http://karussell.wordpress.com[..]c-trying-to-understand-memory-mangement/</a> <br/><br/>Tutorial of valgrind - <a href="http://www.thegeekstuff.com/2011/11/valgrind-memcheck/">http://www.thegeekstuff.com/2011/11/valgrind-memcheck/</a> <br/><br/>Disucssion of GC in C++ - <a href="http://herbsutter.com/2011/10/25/garbage-collection-synopsis-and-c/">http://herbsutter.com[..]10/25/garbage-collection-synopsis-and-c/</a> <br/><br/>Core dump with few variable declaration removed - <a href="http://techblog.rosedu.org/c-extern-internals.html">http://techblog.rosedu.org/c-extern-internals.html</a> <br/><br/>Tracking memory allocation - <a href="http://jfdube.wordpress.com/2011/10/06/memory-management-part-2-allocations-tracking/">http://jfdube.wordpress.com[..]-management-part-2-allocations-tracking/</a> <br/><br/>We have a process running fine for several years and recently have core dump everytime starting it up. here is the stacktrace:<br/><br/>(gdb) backtrace<br/>#0 0xfe34251c in realfree () from /lib/libc.so.1<br/>#1 0xfe342e28 in cleanfree () from /lib/libc.so.1<br/>#2 0xfe341f5c in _malloc_unlocked () from /lib/libc.so.1<br/>#3 0xfe341e50 in malloc () from /lib/libc.so.1<br/>#4 0xfe38f534 in _findbuf () from /lib/libc.so.1<br/>#5 0xfe384f38 in _doprnt () from /lib/libc.so.1<br/>#6 0xfe3886fc in fprintf () from /lib/libc.so.1<br/>#7 0x164f64 in _ZN7LogBook8WriteLogEPcS0_i (this=<incomplete type>, pType=0x5c00e8 "INFO",<br/> pMsg=0x6b0b14 "main. Database=XXXXXX. Performing Login to XXXX. user=SYSTEM.", nFile=0) at Util.cpp:164<br/>#8 0x164e28 in _ZN7LogBook9PromptLogEPciS0_i (this=<incomplete type>, pType=0x5c00e8 "INFO",<br/> nType=3, pMsg=0x0, nFile=0) at Util.cpp:136<br/>#9 0x14a364 in main (argc=3, argv=0xffbef5bc) at XXXX.cpp:385<br/>(gdb)<br/><br/>Eventaully we found out the reason is the class LogBook is singleton, and it reuse few char* buffer internally, without delete and new in between, after adding delete and new for transaction, the process run correctly, as a rule of thumb, singleton is evil for most of the cases.<br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-03-01T14:25:13Z bug.txt 2011-10-15T03:37:46Z 2011-10-15T03:37:46Z <br/>incorrect comparison of 64bit pointers - <a href="http://www.azulsystems.com/blog/cliff/2011-08-28-just-fixed-a-20-year-old-bug">http://www.azulsystems.com[..]/2011-08-28-just-fixed-a-20-year-old-bug</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2011-10-15T03:37:46Z gui.txt 2011-09-26T15:59:58Z 2011-09-26T15:59:58Z <br/>Example of using DBus - <a href="http://brunogirin.blogspot.com/2011/01/d-bus-experiments-in-vala.html">http://brunogirin.blogspot.com[..]m/2011/01/d-bus-experiments-in-vala.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2011-09-26T15:59:58Z string.txt 2011-08-05T16:35:30Z 2011-08-05T16:35:30Z <br/>One big problem of strncpy, it doesn't allow you control the behaviour when overflow... <a href="http://blog.liw.fi/posts/strncpy/">http://blog.liw.fi/posts/strncpy/</a> <br/><br/>Problem of atoi - <a href="http://www.lainoox.com/ascii-to-integer-atoi-in-c/">http://www.lainoox.com/ascii-to-integer-atoi-in-c/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2011-08-05T16:35:30Z io.txt 2011-01-15T02:08:41Z 2011-01-15T02:08:41Z <br/>First Disk Seek on multi-core system - <a href="http://www.1024cores.net/home/scalable-architecture/wide-finder-2">http://www.1024cores.net/home/scalable-architecture/wide-finder-2</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2011-01-15T02:08:41Z