Tags: #tools #windows
"I have had quite a few helpful suggestions for other tools to try. Thanks!"
https://www.lenholgate.com/blog/2016/10/more-thoughts-on-c-tools-on-windows-1.html
"I have had quite a few helpful suggestions for other tools to try. Thanks!"
https://www.lenholgate.com/blog/2016/10/more-thoughts-on-c-tools-on-windows-1.html
Tags: #msvc #versus #clangcodegeneration
"I’m a windows PC game developer using MSVC 2015 update 1, working in C++.
More and more, I hear people talk about how great clang is, and that it generates much better code than MSVC, among other niceties."
https://blog.demofox.org/2016/10/14/a-data-point-for-msvc-vs-clang-code-generation/
"I’m a windows PC game developer using MSVC 2015 update 1, working in C++.
More and more, I hear people talk about how great clang is, and that it generates much better code than MSVC, among other niceties."
https://blog.demofox.org/2016/10/14/a-data-point-for-msvc-vs-clang-code-generation/
The blog at the bottom of the sea
A Data Point for MSVC vs Clang Code Generation
I'm a windows PC game developer using MSVC 2015 update 1, working in C++. More and more, I hear people talk about how great clang is, and that it generates much better code than MSVC, among other niceties. I have…
Tags: #stackoverflow #leftshift #masking
"Is masking before unsigned left shift in C/C++ too paranoid?"
https://stackoverflow.com/questions/39964651/is-masking-before-unsigned-left-shift-in-c-c-too-paranoid
"Is masking before unsigned left shift in C/C++ too paranoid?"
https://stackoverflow.com/questions/39964651/is-masking-before-unsigned-left-shift-in-c-c-too-paranoid
Stack Overflow
Is masking before unsigned left shift in C/C++ too paranoid?
This question is motivated by me implementing cryptographic algorithms (e.g. SHA-1) in C/C++, writing portable platform-agnostic code, and thoroughly avoiding undefined behavior.
Suppose that a
Suppose that a
Tags: #dependency #injected #exceptions
"Dependency injected exceptions or error handling"
https://www.kirit.com/Blog:/2016-10-15/Dependency%20injected%20exceptions%20or%20error%20handling
"Dependency injected exceptions or error handling"
https://www.kirit.com/Blog:/2016-10-15/Dependency%20injected%20exceptions%20or%20error%20handling
Tags: #compiler #bomb
DO NOT COMPILE AND RUN UNLESS YOU KNOW WHAT YOU ARE DOING.
This is a 29 byte C code that compiles to a 17,179,875,837 byte (16 GB) executable.
https://wikicoding.org/wiki/c/Compiler_Bomb/
DO NOT COMPILE AND RUN UNLESS YOU KNOW WHAT YOU ARE DOING.
This is a 29 byte C code that compiles to a 17,179,875,837 byte (16 GB) executable.
https://wikicoding.org/wiki/c/Compiler_Bomb/
Tags: #unsigned #conundrum
"A few weeks ago, CppCon16 conference organizer Jon Kalb gave a great little lightning talk titled “unsigned: A Guideline For Better Code“. "
https://bulldozer00.com/2016/10/16/the-unsigned-conundrum/
"A few weeks ago, CppCon16 conference organizer Jon Kalb gave a great little lightning talk titled “unsigned: A Guideline For Better Code“. "
https://bulldozer00.com/2016/10/16/the-unsigned-conundrum/
Bulldozer00's Blog
The “unsigned” Conundrum
A few weeks ago, CppCon16 conference organizer Jon Kalb gave a great little lightning talk titled “unsigned: A Guideline For Better Code”. Right up front, he asked the audience what the…
Tags: #stackoverflow #stdmin
Why does Release/Debug have a different result for std::min?
https://stackoverflow.com/questions/39919069/why-does-release-debug-have-a-different-result-for-stdmin
Why does Release/Debug have a different result for std::min?
https://stackoverflow.com/questions/39919069/why-does-release-debug-have-a-different-result-for-stdmin
Stack Overflow
Why does Release/Debug have a different result for std::min?
Here is the test program:
void testFunc()
{
double maxValue = DBL_MAX;
double slope = std::numeric_limits<double>::quiet_NaN();
std::cout << "slope is " << slope <...
void testFunc()
{
double maxValue = DBL_MAX;
double slope = std::numeric_limits<double>::quiet_NaN();
std::cout << "slope is " << slope <...
Tags: #introduction #qt #gui
"With this course, my concept of teaching Qt has become reality, but I'd like to share my views on Qt with you, and give you an overview over Qt."
https://meetingcpp.com/index.php/br/items/an-introduction-into-qt.html
"With this course, my concept of teaching Qt has become reality, but I'd like to share my views on Qt with you, and give you an overview over Qt."
https://meetingcpp.com/index.php/br/items/an-introduction-into-qt.html
Meetingcpp
An introduction into Qt - Meeting C++
The last 3 weeks I've been busy with teaching Qt. Each monday I was doing an one on one introductory course, from Qt Core to Qt XML. So, for a few weeks I was very busy with Qt, …
Tags: #visualstudio #fasterbuild #performance
With Visual Studio ‘15’ our goal is to considerably improve productivity for C++ developers.
https://blogs.msdn.microsoft.com/visualstudio/2016/10/13/faster-c-solution-load-and-build-performance-with-visual-studio-15/
With Visual Studio ‘15’ our goal is to considerably improve productivity for C++ developers.
https://blogs.msdn.microsoft.com/visualstudio/2016/10/13/faster-c-solution-load-and-build-performance-with-visual-studio-15/
Microsoft
Faster C++ solution load and build performance with Visual Studio “15”
The official source of product insight from the Visual Studio Engineering Team
Forwarded from Syra's Techbinder
https://herbsutter.com/2016/06/30/trip-report-summer-iso-c-standards-meeting-oulu/
Tags: #programming #Cpp
Tags: #programming #Cpp
Sutter’s Mill
Trip report: Summer ISO C++ standards meeting (Oulu)
On June 25, the ISO C++ committee completed its summer meeting in Oulu, Finland, hosted by Symbio and the Finnish national body. We again had some 100 experts officially representing nine national …
Tags: #passkey #idiom #empty #classes
"After last week’s post about tag dispatch let’s have a look at another example for useful empty classes"
https://arne-mertz.de/2016/10/passkey-idiom/
"After last week’s post about tag dispatch let’s have a look at another example for useful empty classes"
https://arne-mertz.de/2016/10/passkey-idiom/
Simplify C++!
Passkey Idiom: More Useful Empty Classes - Simplify C++!
Another example for useful empty classes: The passkey idiom can help us regain control that we would give up by simply making classes friends.
Tags: #if #evaluation #vs #readability
if statement - short circuit evaluation vs readability
https://stackoverflow.com/questions/40081279/if-statement-short-circuit-evaluation-vs-readability
if statement - short circuit evaluation vs readability
https://stackoverflow.com/questions/40081279/if-statement-short-circuit-evaluation-vs-readability
Stackoverflow
if statement - short circuit evaluation vs readability
Sometimes, an if statement can be rather complicated or long, so for the sake of readability it is better to extract complicated calls before the if.
e.g. this:
if (SomeComplicatedFunctionCall() ||
e.g. this:
if (SomeComplicatedFunctionCall() ||