Fantastic Algorithms and Where To Find Them - Nicholas Ormrod
A great introduction to some lesser known algorithms:
Fantastic Algorithms and Where To Find Them
by Nicholas Ormrod
September 13-19, Aurora, CO, USA
October 25, Pavia, Italy
November 6-8, Berlin, Germany
November 3-8, Kona, HI, USA
By Meeting C++ | Feb 2, 2018 03:40 AM | Tags: meetingcpp intermediate algorithms
A great introduction to some lesser known algorithms:
Fantastic Algorithms and Where To Find Them
by Nicholas Ormrod
By Blog Staff | Feb 1, 2018 03:46 PM | Tags: None
A new WG21 paper is available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N4720
Date: 2018-01-29
Working Draft, Extensions to C++ for Modules
by Gabriel Dos Reis
Excerpt:
As approved between meetings as a current working draft base for further proposal discussion in Jacksonville.
By Andrey Karpov | Feb 1, 2018 11:55 AM | Tags: undefined behavior null malloc
Unfortunately, many programmers are careless about checking of pointers, and sometimes they deliberately do not check whether to memory was allocated or not.
Why it is important to check what the malloc function returned
by Andrey Karpov
From the article:
There are 4 reasons at once, each of them is enough to prove that it is so necessary to write a check after you call the malloc function. If someone from your team doesn't write the checks, make him read this article.
- Null pointer dereference is undefined behavior
- Null pointer dereference is a vulnerability
- Where are guarantees that dereferencing of exactly a null pointer will occur?
- Where are the guarantees that memset fills the memory in a direct order?
By James | Feb 1, 2018 11:08 AM | Tags: None
We are happy to inform you that CppDepend v2018.1 has been released and is now available for download!
More Information about CppDepend v2018.1 new features!
by CoderGears
About the release:
CppDepend v2018.1 allows architects and developers to analyze C and C++ code base. Measure, query and visualize source code and avoid unexpected issues, technical debt and complexity.
Start your 1-month free trial!
About the release
With CppDepend v2018.1 Save time, reduce costs and deliver high-quality code with these important updates:
- CERT (SEI CERT C++ Coding Standard ) standard checks
- HICPP (High Integrity C++) standard checks
- More rules to check your modern C++ codebase(C++11,C++14,C++17): More than 20 modernization detections
- Clang-tidy tool embedded for more issues detection
- Analysis of the CMake format specification: CppDepend analyzes now out of the box the CMake Compilation Database Format Specification.
- C++ Core Guidelines support
- New rules related to the performance and the readability issues
By Meeting C++ | Feb 1, 2018 03:08 AM | Tags: performance multithreading meetingcpp efficiency
A talk on understanding when a reader-writer lock beats a mutex, and when not.
Reader-Writer Lock versus Mutex
by Jeffrey Mendelsohn
By Adrien Hamelin | Jan 31, 2018 07:22 PM | Tags: advanced
Did you have that problem?
The Most Vexing Parse: How to Spot It and Fix It Quickly
by Jonathan Boccara
From the article:
Everyone has their little defaults. You know, that little something that they do from time to time and that gets on your nerves, even though they’re otherwise nice people?
For C++, one of these little annoyances is the most vexing parse, well, as its name suggests...
By Adrien Hamelin | Jan 31, 2018 07:14 PM | Tags: intermediate c++17
And make less mistakes.
Help the compiler warn you
by Andrzej Krzemieński
From the article:
Compiler warnings are a very useful tool for detecting bugs in your program. Because you can enable them selectively, and because you can choose to turn them into hard errors on your compiler, you can in fact build a dialect, which is a safer subset of C++...
By Adrien Hamelin | Jan 31, 2018 07:12 PM | Tags: intermediate community
A classic error:
break and fallthrough
by Andrey Karpov
From the article:
We would like to suggest reading the series of articles dedicated to the recommendations on writing code of high quality using the examples of errors found in the Chromium project. This is the second part, which will be devoted to the switch operator and, more precisely, to the problem of a forgotten break operator...
By Meeting C++ | Jan 31, 2018 02:23 AM | Tags: meetingcpp libraries api
A new talk from Meeting C++ 2017:
API & ABI versioning
by Mathieu Ropert
By Meeting C++ | Jan 30, 2018 03:12 AM | Tags: stringview qt meetingcpp c++17
A view on StringViews from the author of QStringView from Meeting C++ 2017!
StringViews, StringViews everywhere!
by Marc Mutz