Are you over 18 and want to see adult content?
More Annotations
A complete backup of barriedragonboatfestival.ca
Are you over 18 and want to see adult content?
A complete backup of educationalmaterialcatalog.com
Are you over 18 and want to see adult content?
A complete backup of helloneighborgame.com
Are you over 18 and want to see adult content?
A complete backup of tiptopblinds.com.au
Are you over 18 and want to see adult content?
A complete backup of firstwefeast.com
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of xalxalmektebi.blogspot.com
Are you over 18 and want to see adult content?
A complete backup of thebellyguide.tumblr.com
Are you over 18 and want to see adult content?
A complete backup of blogdoshinhents.blogspot.com
Are you over 18 and want to see adult content?
A complete backup of yaoihime.blogspot.com
Are you over 18 and want to see adult content?
A complete backup of czechgaysolarium.com
Are you over 18 and want to see adult content?
A complete backup of zapinterlations.com
Are you over 18 and want to see adult content?
A complete backup of bigoliveapkmod.com
Are you over 18 and want to see adult content?
A complete backup of queenletiziastyle.com
Are you over 18 and want to see adult content?
Text
several
VIVALDI + VIMIUM = FINALLY NO MORE FIREFOX! First, you have to only display the Vivaldi button in the settings page. Then, you can use this custom CSS: to hide the title completely! To get rid of the scroll bar, you need to use the Stylish extension and use this custom CSS: If you want to have full HTML5 video support, you need to install extra codecs. MANAGE COMMAND-LINE OPTIONS WITH BOOST PROGRAM OPTIONS That's where Boost Program Options enters the game! Boost Program Options is one of the Boost C++ Libraries. It is a very powerful library to handle command-line options. You define all the options of the program and then Boost Program Options takes care of all. It parses the command line, handles errors, gets values and even displayshelp.
HOW TO INSTALL A SPECIFIC VERSION OF GCC ON UBUNTU 11.04 Sometimes you need to install a specific version of gcc for some reasons, for example when you need to have the same compiler versionas the
HOW TO PRINT STRINGS AND INTEGERS IN INTEL ASSEMBLY ON Print strings. Then, to print, we will call the sys_write system call : The value in %eax (4) indicates the system call we need ( sys_write ). The 1 in %ebx indicates that we want to write in the console. Finally the two last parameters indicates the string to print and the size of the string. In Intel assembly, the int instruction launch an CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. C++17 MIGRATION OF EXPRESSION TEMPLATES LIBRARY (ETL if constexpr. The most exciting new thing in C++17 for me is the if constexpr statement. This is a really really great thing. In essence, it's a normal if statement, but with one very important difference. The statement that is not taken (the else if the condition is true, or the if constexpr if the condition is false) is discarded.And what is interesting is what happens to discarded statements: USE TEMPLIGHT AND TEMPLAR TO DEBUG C++ TEMPLATES templight++ -Xtemplight -profiler -Xtemplight -memory -Xtemplight -ignore-system -std = c++14 main.cpp. All the templight options starts with -Xtemplight and then you can use any clang++ options. This will generate a a.memory.trace.pbf file in the current directory. You can then run Templar. use File > Open Trace to open the trace file. INSTALL AND USE CLANG STATIC ANALYZER ON A CMAKE PROJECT I recently started a bit of work on my compiler (eddic) again. I started by adapting it to build on CLang with libc++. There was some minor adaptions to make it compile, but nothing really fancy. It n RELEASE OF ZAPCC 1.0 Release of zapcc 1.0 - Fast C++ compiler. If you remember, I recently wrote about zapcc C++ compilation speed against gcc 5.4 and clang 3.9 in which I was comparing the beta version of zapcc against gcc and clang. I just been informed that zapcc was just released in version 1.0. I though it was a good occasion to test it again. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is VIVALDI + VIMIUM = FINALLY NO MORE FIREFOX! First, you have to only display the Vivaldi button in the settings page. Then, you can use this custom CSS: to hide the title completely! To get rid of the scroll bar, you need to use the Stylish extension and use this custom CSS: If you want to have full HTML5 video support, you need to install extra codecs. JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for HOW TO COMPUTE METRICS OF C++ PROJECT USING CCCC CCCC (C and C++ Code Counter) is a little command-line tool that generates metrics from the source code of a C or C++ project. The output of the tool is a simple HTML website with information about all your sources. CCCC generates not only information about the number of lines of codes for each of your modules, but also complexity metricslike
HOW TO PRINT STRINGS AND INTEGERS IN INTEL ASSEMBLY ON Print strings. Then, to print, we will call the sys_write system call : The value in %eax (4) indicates the system call we need ( sys_write ). The 1 in %ebx indicates that we want to write in the console. Finally the two last parameters indicates the string to print and the size of the string. In Intel assembly, the int instruction launch an CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. C++17 MIGRATION OF EXPRESSION TEMPLATES LIBRARY (ETL if constexpr. The most exciting new thing in C++17 for me is the if constexpr statement. This is a really really great thing. In essence, it's a normal if statement, but with one very important difference. The statement that is not taken (the else if the condition is true, or the if constexpr if the condition is false) is discarded.And what is interesting is what happens to discarded statements: USE TEMPLIGHT AND TEMPLAR TO DEBUG C++ TEMPLATES templight++ -Xtemplight -profiler -Xtemplight -memory -Xtemplight -ignore-system -std = c++14 main.cpp. All the templight options starts with -Xtemplight and then you can use any clang++ options. This will generate a a.memory.trace.pbf file in the current directory. You can then run Templar. use File > Open Trace to open the trace file. INSTALL AND USE CLANG STATIC ANALYZER ON A CMAKE PROJECT I recently started a bit of work on my compiler (eddic) again. I started by adapting it to build on CLang with libc++. There was some minor adaptions to make it compile, but nothing really fancy. It n RELEASE OF ZAPCC 1.0 Release of zapcc 1.0 - Fast C++ compiler. If you remember, I recently wrote about zapcc C++ compilation speed against gcc 5.4 and clang 3.9 in which I was comparing the beta version of zapcc against gcc and clang. I just been informed that zapcc was just released in version 1.0. I though it was a good occasion to test it again. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is VIVALDI + VIMIUM = FINALLY NO MORE FIREFOX! First, you have to only display the Vivaldi button in the settings page. Then, you can use this custom CSS: to hide the title completely! To get rid of the scroll bar, you need to use the Stylish extension and use this custom CSS: If you want to have full HTML5 video support, you need to install extra codecs. JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for HOW TO COMPUTE METRICS OF C++ PROJECT USING CCCC CCCC (C and C++ Code Counter) is a little command-line tool that generates metrics from the source code of a C or C++ project. The output of the tool is a simple HTML website with information about all your sources. CCCC generates not only information about the number of lines of codes for each of your modules, but also complexity metricslike
CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is C++11 CONCURRENCY TUTORIAL In the previous article, we saw how to use mutexes to fix concurrency problems. In this post, we will continue to work on mutexes with more advanced techniques. We DEEP LEARNING LIBRARY 1.0 Deep Learning Library 1.0 - Fast Neural Network Library. I'm very happy to announce the release of the first version of Deep Learning Library (DLL) 1.0. DLL is a neural network library with a focus on speed and ease of use. I started working on this library about 4 years ago for my Ph.D. thesis. JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for MEMORY MANAGER IN 64BITS INTEL ASSEMBLY ON LINUX For the last version of the EDDI Compiler, it has been necessary to extend the dynamic memory allocator, to support free memory.In this post, we will see how to write a simple Memory Manager in Intel Assembly for Linux. In the past, we've seen how to write a basic memory allocator, this time, we will write a more complete version.. The implementation is made in 64bits Intel Assembly. USE CLANG-TIDY FOR STATIC ANALYSIS AND INTEGRATION IN Use clang-tidy for static analysis and integration in Sonarqube. clang-tidy is an extensive linter C++. It provides a complete framework for analysis of C++ code. Some of the checks are very simple but some of them are very complete and most of the checks from the clang-static-analyzer are integrated into clang-tidy. SHORT REVIEW OF BULLSEYE COVERAGE Short review of Bullseye Coverage. Bullseye is a commercial Code Coverage analyzer. It is fully-featured with an export to HTML, to XML and even a specific GUI to see the application.It costs about 800$, with a renewal fee of about 200$ per year. I'm currently using gcov and passing the results to Sonar. This works well, but there areseveral
BUILD OPENCV WITH LIBC++ ON GENTOO AND STATIC-LIBS For one of my project, I'm using OpenCV and libc++. To simplify the installation of OpenCV, I created a new ebuild with a libcxx use flag to selectively build the library with libc++. This requires LLVM/CLang on the build machine. Moreover, by default, the Gentoo ebuild does not have support for building the static libraries. USE CMAKE TO EASILY COMPILES LATEX DOCUMENTS INTO PDF Everyone who compiles Latex documents by hand knows that it is not a panacea. You have to compile the file several times to handle the references. Moreover, if you HOW TO PRINT STRINGS AND INTEGERS IN INTEL ASSEMBLY ON Print strings. Then, to print, we will call the sys_write system call : The value in %eax (4) indicates the system call we need ( sys_write ). The 1 in %ebx indicates that we want to write in the console. Finally the two last parameters indicates the string to print and the size of the string. In Intel assembly, the int instruction launch an C++17 MIGRATION OF EXPRESSION TEMPLATES LIBRARY (ETL In ETL, I have a make_temporary function. This function either forwards an ETL container or creates a temporary container from an ETL expression. This is based on a compile-time traits. The return type of the function is the not the same in both cases. What you did in those case before C++17, is use SFINAE and make two functions: template C++ CONTAINERS BENCHMARK: VECTOR/LIST/DEQUE AND PLF Overall, for insertions, the vector and deque are the fastest for small types and the list is the fastest for the very large types. colony offers a medium performance on this benchmark but is quite stable for different data types. When you know the size of the collection, you should always use reserve () INSTALL AND USE CLANG STATIC ANALYZER ON A CMAKE PROJECT I recently started a bit of work on my compiler (eddic) again. I started by adapting it to build on CLang with libc++. There was some minor adaptions to make it compile, but nothing really fancy. It n USE TEMPLIGHT AND TEMPLAR TO DEBUG C++ TEMPLATES templight++ -Xtemplight -profiler -Xtemplight -memory -Xtemplight -ignore-system -std = c++14 main.cpp. All the templight options starts with -Xtemplight and then you can use any clang++ options. This will generate a a.memory.trace.pbf file in the current directory. You can then run Templar. use File > Open Trace to open the trace file. CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. RELEASE OF ZAPCC 1.0 Release of zapcc 1.0 - Fast C++ compiler. If you remember, I recently wrote about zapcc C++ compilation speed against gcc 5.4 and clang 3.9 in which I was comparing the beta version of zapcc against gcc and clang. I just been informed that zapcc was just released in version 1.0. I though it was a good occasion to test it again. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for HOW TO COMPUTE METRICS OF C++ PROJECT USING CCCC CCCC (C and C++ Code Counter) is a little command-line tool that generates metrics from the source code of a C or C++ project. The output of the tool is a simple HTML website with information about all your sources. CCCC generates not only information about the number of lines of codes for each of your modules, but also complexity metricslike
HOW TO PRINT STRINGS AND INTEGERS IN INTEL ASSEMBLY ON Print strings. Then, to print, we will call the sys_write system call : The value in %eax (4) indicates the system call we need ( sys_write ). The 1 in %ebx indicates that we want to write in the console. Finally the two last parameters indicates the string to print and the size of the string. In Intel assembly, the int instruction launch an C++17 MIGRATION OF EXPRESSION TEMPLATES LIBRARY (ETL In ETL, I have a make_temporary function. This function either forwards an ETL container or creates a temporary container from an ETL expression. This is based on a compile-time traits. The return type of the function is the not the same in both cases. What you did in those case before C++17, is use SFINAE and make two functions: template C++ CONTAINERS BENCHMARK: VECTOR/LIST/DEQUE AND PLF Overall, for insertions, the vector and deque are the fastest for small types and the list is the fastest for the very large types. colony offers a medium performance on this benchmark but is quite stable for different data types. When you know the size of the collection, you should always use reserve () INSTALL AND USE CLANG STATIC ANALYZER ON A CMAKE PROJECT I recently started a bit of work on my compiler (eddic) again. I started by adapting it to build on CLang with libc++. There was some minor adaptions to make it compile, but nothing really fancy. It n USE TEMPLIGHT AND TEMPLAR TO DEBUG C++ TEMPLATES templight++ -Xtemplight -profiler -Xtemplight -memory -Xtemplight -ignore-system -std = c++14 main.cpp. All the templight options starts with -Xtemplight and then you can use any clang++ options. This will generate a a.memory.trace.pbf file in the current directory. You can then run Templar. use File > Open Trace to open the trace file. CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. RELEASE OF ZAPCC 1.0 Release of zapcc 1.0 - Fast C++ compiler. If you remember, I recently wrote about zapcc C++ compilation speed against gcc 5.4 and clang 3.9 in which I was comparing the beta version of zapcc against gcc and clang. I just been informed that zapcc was just released in version 1.0. I though it was a good occasion to test it again. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for HOW TO COMPUTE METRICS OF C++ PROJECT USING CCCC CCCC (C and C++ Code Counter) is a little command-line tool that generates metrics from the source code of a C or C++ project. The output of the tool is a simple HTML website with information about all your sources. CCCC generates not only information about the number of lines of codes for each of your modules, but also complexity metricslike
CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is C++11 CONCURRENCY TUTORIAL In the previous article, we saw how to use mutexes to fix concurrency problems. In this post, we will continue to work on mutexes with more advanced techniques. We DEEP LEARNING LIBRARY 1.0 Deep Learning Library 1.0 - Fast Neural Network Library. I'm very happy to announce the release of the first version of Deep Learning Library (DLL) 1.0. DLL is a neural network library with a focus on speed and ease of use. I started working on this library about 4 years ago for my Ph.D. thesis. JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for MEMORY MANAGER IN 64BITS INTEL ASSEMBLY ON LINUX For the last version of the EDDI Compiler, it has been necessary to extend the dynamic memory allocator, to support free memory.In this post, we will see how to write a simple Memory Manager in Intel Assembly for Linux. In the past, we've seen how to write a basic memory allocator, this time, we will write a more complete version.. The implementation is made in 64bits Intel Assembly. USE CLANG-TIDY FOR STATIC ANALYSIS AND INTEGRATION IN Use clang-tidy for static analysis and integration in Sonarqube. clang-tidy is an extensive linter C++. It provides a complete framework for analysis of C++ code. Some of the checks are very simple but some of them are very complete and most of the checks from the clang-static-analyzer are integrated into clang-tidy. SHORT REVIEW OF BULLSEYE COVERAGE Short review of Bullseye Coverage. Bullseye is a commercial Code Coverage analyzer. It is fully-featured with an export to HTML, to XML and even a specific GUI to see the application.It costs about 800$, with a renewal fee of about 200$ per year. I'm currently using gcov and passing the results to Sonar. This works well, but there areseveral
BUILD OPENCV WITH LIBC++ ON GENTOO AND STATIC-LIBS For one of my project, I'm using OpenCV and libc++. To simplify the installation of OpenCV, I created a new ebuild with a libcxx use flag to selectively build the library with libc++. This requires LLVM/CLang on the build machine. Moreover, by default, the Gentoo ebuild does not have support for building the static libraries. USE CMAKE TO EASILY COMPILES LATEX DOCUMENTS INTO PDF Everyone who compiles Latex documents by hand knows that it is not a panacea. You have to compile the file several times to handle the references. Moreover, if you HOW TO PRINT STRINGS AND INTEGERS IN INTEL ASSEMBLY ON Print strings. Then, to print, we will call the sys_write system call : The value in %eax (4) indicates the system call we need ( sys_write ). The 1 in %ebx indicates that we want to write in the console. Finally the two last parameters indicates the string to print and the size of the string. In Intel assembly, the int instruction launch an C++17 MIGRATION OF EXPRESSION TEMPLATES LIBRARY (ETL In ETL, I have a make_temporary function. This function either forwards an ETL container or creates a temporary container from an ETL expression. This is based on a compile-time traits. The return type of the function is the not the same in both cases. What you did in those case before C++17, is use SFINAE and make two functions: template C++ CONTAINERS BENCHMARK: VECTOR/LIST/DEQUE AND PLF Overall, for insertions, the vector and deque are the fastest for small types and the list is the fastest for the very large types. colony offers a medium performance on this benchmark but is quite stable for different data types. When you know the size of the collection, you should always use reserve () INSTALL AND USE CLANG STATIC ANALYZER ON A CMAKE PROJECT I recently started a bit of work on my compiler (eddic) again. I started by adapting it to build on CLang with libc++. There was some minor adaptions to make it compile, but nothing really fancy. It n USE TEMPLIGHT AND TEMPLAR TO DEBUG C++ TEMPLATES templight++ -Xtemplight -profiler -Xtemplight -memory -Xtemplight -ignore-system -std = c++14 main.cpp. All the templight options starts with -Xtemplight and then you can use any clang++ options. This will generate a a.memory.trace.pbf file in the current directory. You can then run Templar. use File > Open Trace to open the trace file. CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. RELEASE OF ZAPCC 1.0 Release of zapcc 1.0 - Fast C++ compiler. If you remember, I recently wrote about zapcc C++ compilation speed against gcc 5.4 and clang 3.9 in which I was comparing the beta version of zapcc against gcc and clang. I just been informed that zapcc was just released in version 1.0. I though it was a good occasion to test it again. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for HOW TO COMPUTE METRICS OF C++ PROJECT USING CCCC CCCC (C and C++ Code Counter) is a little command-line tool that generates metrics from the source code of a C or C++ project. The output of the tool is a simple HTML website with information about all your sources. CCCC generates not only information about the number of lines of codes for each of your modules, but also complexity metricslike
HOW TO PRINT STRINGS AND INTEGERS IN INTEL ASSEMBLY ON Print strings. Then, to print, we will call the sys_write system call : The value in %eax (4) indicates the system call we need ( sys_write ). The 1 in %ebx indicates that we want to write in the console. Finally the two last parameters indicates the string to print and the size of the string. In Intel assembly, the int instruction launch an C++17 MIGRATION OF EXPRESSION TEMPLATES LIBRARY (ETL In ETL, I have a make_temporary function. This function either forwards an ETL container or creates a temporary container from an ETL expression. This is based on a compile-time traits. The return type of the function is the not the same in both cases. What you did in those case before C++17, is use SFINAE and make two functions: template C++ CONTAINERS BENCHMARK: VECTOR/LIST/DEQUE AND PLF Overall, for insertions, the vector and deque are the fastest for small types and the list is the fastest for the very large types. colony offers a medium performance on this benchmark but is quite stable for different data types. When you know the size of the collection, you should always use reserve () INSTALL AND USE CLANG STATIC ANALYZER ON A CMAKE PROJECT I recently started a bit of work on my compiler (eddic) again. I started by adapting it to build on CLang with libc++. There was some minor adaptions to make it compile, but nothing really fancy. It n USE TEMPLIGHT AND TEMPLAR TO DEBUG C++ TEMPLATES templight++ -Xtemplight -profiler -Xtemplight -memory -Xtemplight -ignore-system -std = c++14 main.cpp. All the templight options starts with -Xtemplight and then you can use any clang++ options. This will generate a a.memory.trace.pbf file in the current directory. You can then run Templar. use File > Open Trace to open the trace file. CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. RELEASE OF ZAPCC 1.0 Release of zapcc 1.0 - Fast C++ compiler. If you remember, I recently wrote about zapcc C++ compilation speed against gcc 5.4 and clang 3.9 in which I was comparing the beta version of zapcc against gcc and clang. I just been informed that zapcc was just released in version 1.0. I though it was a good occasion to test it again. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for HOW TO COMPUTE METRICS OF C++ PROJECT USING CCCC CCCC (C and C++ Code Counter) is a little command-line tool that generates metrics from the source code of a C or C++ project. The output of the tool is a simple HTML website with information about all your sources. CCCC generates not only information about the number of lines of codes for each of your modules, but also complexity metricslike
CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is C++11 CONCURRENCY TUTORIAL In the previous article, we saw how to use mutexes to fix concurrency problems. In this post, we will continue to work on mutexes with more advanced techniques. We DEEP LEARNING LIBRARY 1.0 Deep Learning Library 1.0 - Fast Neural Network Library. I'm very happy to announce the release of the first version of Deep Learning Library (DLL) 1.0. DLL is a neural network library with a focus on speed and ease of use. I started working on this library about 4 years ago for my Ph.D. thesis. JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for MEMORY MANAGER IN 64BITS INTEL ASSEMBLY ON LINUX For the last version of the EDDI Compiler, it has been necessary to extend the dynamic memory allocator, to support free memory.In this post, we will see how to write a simple Memory Manager in Intel Assembly for Linux. In the past, we've seen how to write a basic memory allocator, this time, we will write a more complete version.. The implementation is made in 64bits Intel Assembly. USE CLANG-TIDY FOR STATIC ANALYSIS AND INTEGRATION IN Use clang-tidy for static analysis and integration in Sonarqube. clang-tidy is an extensive linter C++. It provides a complete framework for analysis of C++ code. Some of the checks are very simple but some of them are very complete and most of the checks from the clang-static-analyzer are integrated into clang-tidy. SHORT REVIEW OF BULLSEYE COVERAGE Short review of Bullseye Coverage. Bullseye is a commercial Code Coverage analyzer. It is fully-featured with an export to HTML, to XML and even a specific GUI to see the application.It costs about 800$, with a renewal fee of about 200$ per year. I'm currently using gcov and passing the results to Sonar. This works well, but there areseveral
BUILD OPENCV WITH LIBC++ ON GENTOO AND STATIC-LIBS For one of my project, I'm using OpenCV and libc++. To simplify the installation of OpenCV, I created a new ebuild with a libcxx use flag to selectively build the library with libc++. This requires LLVM/CLang on the build machine. Moreover, by default, the Gentoo ebuild does not have support for building the static libraries. USE CMAKE TO EASILY COMPILES LATEX DOCUMENTS INTO PDF Everyone who compiles Latex documents by hand knows that it is not a panacea. You have to compile the file several times to handle the references. Moreover, if you CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. C++17 MIGRATION OF EXPRESSION TEMPLATES LIBRARY (ETL In ETL, I have a make_temporary function. This function either forwards an ETL container or creates a temporary container from an ETL expression. This is based on a compile-time traits. The return type of the function is the not the same in both cases. What you did in those case before C++17, is use SFINAE and make two functions: template INSTALL AND USE CLANG STATIC ANALYZER ON A CMAKE PROJECT I recently started a bit of work on my compiler (eddic) again. I started by adapting it to build on CLang with libc++. There was some minor adaptions to make it compile, but nothing really fancy. It n USE TEMPLIGHT AND TEMPLAR TO DEBUG C++ TEMPLATES templight++ -Xtemplight -profiler -Xtemplight -memory -Xtemplight -ignore-system -std = c++14 main.cpp. All the templight options starts with -Xtemplight and then you can use any clang++ options. This will generate a a.memory.trace.pbf file in the current directory. You can then run Templar. use File > Open Trace to open the trace file. HOW TO PRINT STRINGS AND INTEGERS IN INTEL ASSEMBLY ON Print strings. Then, to print, we will call the sys_write system call : The value in %eax (4) indicates the system call we need ( sys_write ). The 1 in %ebx indicates that we want to write in the console. Finally the two last parameters indicates the string to print and the size of the string. In Intel assembly, the int instruction launch an RELEASE OF ZAPCC 1.0 Release of zapcc 1.0 - Fast C++ compiler. If you remember, I recently wrote about zapcc C++ compilation speed against gcc 5.4 and clang 3.9 in which I was comparing the beta version of zapcc against gcc and clang. I just been informed that zapcc was just released in version 1.0. I though it was a good occasion to test it again. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is VIVALDI + VIMIUM = FINALLY NO MORE FIREFOX! First, you have to only display the Vivaldi button in the settings page. Then, you can use this custom CSS: to hide the title completely! To get rid of the scroll bar, you need to use the Stylish extension and use this custom CSS: If you want to have full HTML5 video support, you need to install extra codecs. JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for HOW TO COMPUTE METRICS OF C++ PROJECT USING CCCC CCCC (C and C++ Code Counter) is a little command-line tool that generates metrics from the source code of a C or C++ project. The output of the tool is a simple HTML website with information about all your sources. CCCC generates not only information about the number of lines of codes for each of your modules, but also complexity metricslike
CATCH: A POWERFUL YET SIMPLE C++ TEST FRAMEWORK Recently, I came accross a new test framework for C++ program: Catch. Until I found Catch, I was using Boost Test Framework. It is working quite well, but the problem is that you need to build Boost and link to the Boost Test Framework, which is not highly convenient. C++17 MIGRATION OF EXPRESSION TEMPLATES LIBRARY (ETL In ETL, I have a make_temporary function. This function either forwards an ETL container or creates a temporary container from an ETL expression. This is based on a compile-time traits. The return type of the function is the not the same in both cases. What you did in those case before C++17, is use SFINAE and make two functions: template INSTALL AND USE CLANG STATIC ANALYZER ON A CMAKE PROJECT I recently started a bit of work on my compiler (eddic) again. I started by adapting it to build on CLang with libc++. There was some minor adaptions to make it compile, but nothing really fancy. It n USE TEMPLIGHT AND TEMPLAR TO DEBUG C++ TEMPLATES templight++ -Xtemplight -profiler -Xtemplight -memory -Xtemplight -ignore-system -std = c++14 main.cpp. All the templight options starts with -Xtemplight and then you can use any clang++ options. This will generate a a.memory.trace.pbf file in the current directory. You can then run Templar. use File > Open Trace to open the trace file. HOW TO PRINT STRINGS AND INTEGERS IN INTEL ASSEMBLY ON Print strings. Then, to print, we will call the sys_write system call : The value in %eax (4) indicates the system call we need ( sys_write ). The 1 in %ebx indicates that we want to write in the console. Finally the two last parameters indicates the string to print and the size of the string. In Intel assembly, the int instruction launch an RELEASE OF ZAPCC 1.0 Release of zapcc 1.0 - Fast C++ compiler. If you remember, I recently wrote about zapcc C++ compilation speed against gcc 5.4 and clang 3.9 in which I was comparing the beta version of zapcc against gcc and clang. I just been informed that zapcc was just released in version 1.0. I though it was a good occasion to test it again. JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is VIVALDI + VIMIUM = FINALLY NO MORE FIREFOX! First, you have to only display the Vivaldi button in the settings page. Then, you can use this custom CSS: to hide the title completely! To get rid of the scroll bar, you need to use the Stylish extension and use this custom CSS: If you want to have full HTML5 video support, you need to install extra codecs. JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for HOW TO COMPUTE METRICS OF C++ PROJECT USING CCCC CCCC (C and C++ Code Counter) is a little command-line tool that generates metrics from the source code of a C or C++ project. The output of the tool is a simple HTML website with information about all your sources. CCCC generates not only information about the number of lines of codes for each of your modules, but also complexity metricslike
C++11 CONCURRENCY TUTORIAL In the previous article, we saw how to use mutexes to fix concurrency problems. In this post, we will continue to work on mutexes with more advanced techniques. We JENKINS TIP: SEND NOTIFICATIONS ON FIXED BUILDS IN In my previous post, I presented a few news about Jenkins and about the fact that I switched to declarative pipelines and Github Organization support for my projects.. The main issue I had with this system is that I lost the ability to get notifications on build that recover. Normally, I would get an email indicating that build X was back to normal, but I haven't found a way to solve that for JENKINS DECLARATIVE PIPELINE AND AWESOME GITHUB This worked quite well. Later on, Jenkins introduced the notion of Pipeline. Instead of a single set of commands to be executed, the build was defined in multi-stages pipeline of commands. This is defined as a Groovy script. One big advantage of this is MEMORY MANAGER IN 64BITS INTEL ASSEMBLY ON LINUX For the last version of the EDDI Compiler, it has been necessary to extend the dynamic memory allocator, to support free memory.In this post, we will see how to write a simple Memory Manager in Intel Assembly for Linux. In the past, we've seen how to write a basic memory allocator, this time, we will write a more complete version.. The implementation is made in 64bits Intel Assembly. DEEP LEARNING LIBRARY 1.0 Deep Learning Library 1.0 - Fast Neural Network Library. I'm very happy to announce the release of the first version of Deep Learning Library (DLL) 1.0. DLL is a neural network library with a focus on speed and ease of use. I started working on this library about 4 years ago for my Ph.D. thesis. USE CLANG-TIDY FOR STATIC ANALYSIS AND INTEGRATION IN Use clang-tidy for static analysis and integration in Sonarqube. clang-tidy is an extensive linter C++. It provides a complete framework for analysis of C++ code. Some of the checks are very simple but some of them are very complete and most of the checks from the clang-static-analyzer are integrated into clang-tidy. USE CMAKE TO EASILY COMPILES LATEX DOCUMENTS INTO PDF Everyone who compiles Latex documents by hand knows that it is not a panacea. You have to compile the file several times to handle the references. Moreover, if you SHORT REVIEW OF BULLSEYE COVERAGE Short review of Bullseye Coverage. Bullseye is a commercial Code Coverage analyzer. It is fully-featured with an export to HTML, to XML and even a specific GUI to see the application.It costs about 800$, with a renewal fee of about 200$ per year. I'm currently using gcov and passing the results to Sonar. This works well, but there areseveral
BUILD OPENCV WITH LIBC++ ON GENTOO AND STATIC-LIBS For one of my project, I'm using OpenCV and libc++. To simplify the installation of OpenCV, I created a new ebuild with a libcxx use flag to selectively build the library with libc++. This requires LLVM/CLang on the build machine. Moreover, by default, the Gentoo ebuild does not have support for building the static libraries. WRITE AND READ BINARY FILES IN C++ To write the EDDI compiler, I had to write and read binary files. Writing text files is really easy in C++, directly using theDetails
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0