Tags: #stackoverflow #binary #operator
http://stackoverflow.com/questions/40751662/is-a-b-255-255-the-same-as-a-b-255
http://stackoverflow.com/questions/40751662/is-a-b-255-255-the-same-as-a-b-255
Stack Overflow
Is ((a + (b & 255)) & 255) the same as ((a + b) & 255)?
I was browsing some C++ code, and found something like this:
(a + (b & 255)) & 255
The double AND annoyed me, so I thought of:
(a + b) & 255
(a and b are 32-bit unsigned integers)
I
(a + (b & 255)) & 255
The double AND annoyed me, so I thought of:
(a + b) & 255
(a and b are 32-bit unsigned integers)
I
Tags: #github #8millions #profiles #leaked
"this incident is not about any sort of security vulnerability on GitHub's behalf, rather it relates to a trove of data from their site which was inappropriately scraped and then inadvertently exposed due to a vulnerability in another service"
https://www.troyhunt.com/8-million-github-profiles-were-leaked-from-geekedins-mongodb-heres-how-to-see-yours/?utm_content=buffer79ad8&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer
"this incident is not about any sort of security vulnerability on GitHub's behalf, rather it relates to a trove of data from their site which was inappropriately scraped and then inadvertently exposed due to a vulnerability in another service"
https://www.troyhunt.com/8-million-github-profiles-were-leaked-from-geekedins-mongodb-heres-how-to-see-yours/?utm_content=buffer79ad8&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer
Troy Hunt
8 million GitHub profiles were leaked from GeekedIn's MongoDB - here's how to see yours
Let me make it crystal clear in the opening paragraph: this incident is not about any sort of security vulnerability on GitHub's behalf, rather it relates to a trove of data from their site which was inappropriately scraped and then inadvertently exposed…
Tags: #cpp17 #newfeatures #guaranteed
"A smaller, more subtle improvement it brings is guaranteed copy elision. The keyword is guaranteed, as copy elision itself has always been part of the standard."
https://jonasdevlieghere.com/guaranteed-copy-elision/
"A smaller, more subtle improvement it brings is guaranteed copy elision. The keyword is guaranteed, as copy elision itself has always been part of the standard."
https://jonasdevlieghere.com/guaranteed-copy-elision/
Jonas Devlieghere
Guaranteed Copy Elision
The new C++17 standard brings many exciting new features. A smaller, more subtle
improvement it brings is guaranteed copy elision. The keyword is guaranteed, as
copy elision itself has always been part of the standard. Although it might not
be a change as…
improvement it brings is guaranteed copy elision. The keyword is guaranteed, as
copy elision itself has always been part of the standard. Although it might not
be a change as…
Tags: #processors #intel #vector #SIMD
"The art and science of microprocessor architecture is a never-ending struggling to balance complexity, ..."
http://sites.utexas.edu/jdm4372/2016/11/05/intel-discloses-vectorsimd-instructions-for-future-processors/
"The art and science of microprocessor architecture is a never-ending struggling to balance complexity, ..."
http://sites.utexas.edu/jdm4372/2016/11/05/intel-discloses-vectorsimd-instructions-for-future-processors/
Tags: #windows #runtime #winrt
The Windows Runtime (WinRT) is the technology that powers the Universal Windows Platform, letting developers write applications that are common to all Windows devices, from Xbox to PCs to HoloLens to phones.
https://blogs.windows.com/buildingapps/2016/11/28/standard-c-windows-runtime-cwinrt/#.WD0j1IuOxDk#HVR4S5d8dFkpexa1.97
The Windows Runtime (WinRT) is the technology that powers the Universal Windows Platform, letting developers write applications that are common to all Windows devices, from Xbox to PCs to HoloLens to phones.
https://blogs.windows.com/buildingapps/2016/11/28/standard-c-windows-runtime-cwinrt/#.WD0j1IuOxDk#HVR4S5d8dFkpexa1.97
Windows Developer Blog
Standard C++ and the Windows Runtime (C++/WinRT)
The Windows Runtime (WinRT) is the technology that powers the Universal Windows Platform, letting developers write applications that are common to all Windows devices, from Xbox to PCs to HoloLens to phones. Most of UWP can also be used by developers targeting…
Tags: #rule #one #definition
We have been hit by the same bug twice already this year. It ends in a crash, and it took developers days to find it (in each case), even though it is reproducible on each run of unit tests.
https://akrzemi1.wordpress.com/2016/11/28/the-one-definition-rule/
We have been hit by the same bug twice already this year. It ends in a crash, and it took developers days to find it (in each case), even though it is reproducible on each run of unit tests.
https://akrzemi1.wordpress.com/2016/11/28/the-one-definition-rule/
Andrzej's C++ blog
The One-Definition Rule
We have been hit by the same bug twice already this year. It ends in a crash, and it took developers days to find it (in each case), even though it is reproducible on each run of unit tests. The co…
Tags: #cmake #qtcreator #visualstudio
CMake 3.7 supports a new “server” mode
https://blog.kitware.com/cmake-e-server-improves-visual-studio-and-qt-creator-ides/
CMake 3.7 supports a new “server” mode
https://blog.kitware.com/cmake-e-server-improves-visual-studio-and-qt-creator-ides/
Kitware Blog
cmake -E server improves Visual Studio and Qt Creator IDEs - Kitware Blog
CMake 3.7 supports a new “server” mode. This work was originally prototyped by Stephen Kelly and is now led by Tobias Hunger (The Qt Company) to ... Read More
Tags: #lambda #moderncpp
"Lambda is one among them and the experts described it as a game changer in c++ programming ,So I have decided to write something very little about it🙂"
https://simpletalkaboutcplusplus.wordpress.com/2016/11/27/lambdas-on-the-fly/
"Lambda is one among them and the experts described it as a game changer in c++ programming ,So I have decided to write something very little about it🙂"
https://simpletalkaboutcplusplus.wordpress.com/2016/11/27/lambdas-on-the-fly/
A simple talk about c++
Lambdas on the fly
The modern era of C++ comprises many features that makes it look like a new language.Lambda is one among them and the experts described it as a game changer in c++ programming ,So I have decided to…
Forwarded from Deleted Account
Join for a lot games/anime wallpaper every day!
https://telegram.me/joinchat/Ba4AAT_8gBXWPg6__j95cw
https://telegram.me/joinchat/Ba4AAT_8gBXWPg6__j95cw
Tags: #cpp17 #tranformation #code #improve
"I've spent a bit of time today updating my own basic windowing library to use C++17 features. Some of the things have been simple transforms such as converting 'typedef' to 'using', others have been more OCD satisfying;"
http://www.gamedev.net/blog/42/entry-2262470-c-17-transformation/
"I've spent a bit of time today updating my own basic windowing library to use C++17 features. Some of the things have been simple transforms such as converting 'typedef' to 'using', others have been more OCD satisfying;"
http://www.gamedev.net/blog/42/entry-2262470-c-17-transformation/
www.gamedev.net
C++ 17 Transformation... - GameDev.net
Im basically really bad at working on my own projects, but with the recent release of Visual Studio 2017 RC and its improved C++17 support I figured...
Tags: #memory #performance #unique_ptr #shared_ptr
C++11 offers four different smart pointers.
http://www.modernescpp.com/index.php/memory-and-performance-overhead-of-smart-pointer
C++11 offers four different smart pointers.
http://www.modernescpp.com/index.php/memory-and-performance-overhead-of-smart-pointer
Tags: #howto #writing #fast #code
I’m about to show you some of the fastest code there is.
http://blog.demofox.org/2016/12/06/the-secret-to-writing-fast-code-how-fast-code-gets-slow/
I’m about to show you some of the fastest code there is.
http://blog.demofox.org/2016/12/06/the-secret-to-writing-fast-code-how-fast-code-gets-slow/
The blog at the bottom of the sea
The Secret to Writing Fast Code / How Fast Code Gets Slow
This is a “soft tech” post. If that isn’t your thing, don’t worry, I’ll be returning to some cool “hard tech” and interesting algorithms after this. I̵…