Tags: #memory #allocation #linux #kernel
https://stackoverflow.com/questions/39947921/why-is-memory-allocation-for-processes-slow-and-can-it-be-faster/39967913
https://stackoverflow.com/questions/39947921/why-is-memory-allocation-for-processes-slow-and-can-it-be-faster/39967913
Stack Overflow
Why is memory allocation for processes slow and can it be faster?
I relatively familiar how virtual memory works. All process memory is divided into pages and every page of the virtual memory maps to a page in real memory or a page in swap file or it can be a new...
Tags: #whyuse #boost #multindex #part1
Although Boost.MultiIndex is a pretty old library — introduced in Boost 1.32, released in 2004 — I found it rather unsung and underestimated across the C++ community in comparison to other non-standard containers.
https://david-grs.github.io/why_boost_multi_index_container-part1/
Although Boost.MultiIndex is a pretty old library — introduced in Boost 1.32, released in 2004 — I found it rather unsung and underestimated across the C++ community in comparison to other non-standard containers.
https://david-grs.github.io/why_boost_multi_index_container-part1/
Thoughts from a Wall Street developer
Why you should use Boost.MultiIndex (Part I)
Although Boost.MultiIndex is a pretty old library — introduced in Boost 1.32, released in 2004 — I found it rather unsung and underestimatedacross the C++ community in comparison to other non-stand...
Do you like anime art and wallpapers?
Join : https://telegram.me/animepix
Join : https://telegram.me/animepix
Telegram
AnimePix
Channel with a lot of fanart and pictures of anime
Italian group: https://t.iss.one/angoloanime
Italian group: https://t.iss.one/angoloanime
Tags: #observer #library
The Observable C++ library – implementing the observer pattern
https://danieldinu.com/posts/observable-cpp-library/
The Observable C++ library – implementing the observer pattern
https://danieldinu.com/posts/observable-cpp-library/
Daniel Dinu
The Observable C++ library - implementing the observer pattern - Daniel Dinu
Use the Observable C++ library to implement the observer pattern in your C++ project. It's easy to use, well-tested and fast.
Tags: #check #validity
When writing generic code, it is sometimes useful to check whether or not a particular SFINAE-friendly expression is valid
https://vittorioromeo.info/index/blog/checking_expression_validity_in_place.html
When writing generic code, it is sometimes useful to check whether or not a particular SFINAE-friendly expression is valid
https://vittorioromeo.info/index/blog/checking_expression_validity_in_place.html
Tags: #Polymorphism #cpp17 #variant
C++17 gives us std::variant<> which allows for a new form of runtime polymorphism.
https://adishavit.github.io/2016/polymorphism-polymorphism/
C++17 gives us std::variant<> which allows for a new form of runtime polymorphism.
https://adishavit.github.io/2016/polymorphism-polymorphism/
adishavit.github.io
Polymorphism Polymorphism
Insights and Visions
Tags: #howto #contribute #github #projects
This tutorial will guide you through the whole process to generate a pull request for a project.
https://blog.davidecoppola.com/2016/11/howto-contribute-to-open-source-project-on-github/
This tutorial will guide you through the whole process to generate a pull request for a project.
https://blog.davidecoppola.com/2016/11/howto-contribute-to-open-source-project-on-github/
Bits of Bytes
How to contribute to an open source project on GitHub
A step by step tutorial showing how to contribute to an open source project on GitHub, one of the most popular and used git repository hosting services.
Tags: #asynchronous #part2
https://kukuruku.co/hub/cpp/asynchronous-programming-part-2-teleportation-through-portals
https://kukuruku.co/hub/cpp/asynchronous-programming-part-2-teleportation-through-portals
Kukuruku Hub
Asynchronous Programming Part 2: Teleportation through Portals
Finally, I have finished another article about asynchronous programming. It develops the ideas of the previous one [1]. Today we are going to discuss quite a difficult task that will reveal the power and flexibility of using coroutines in various nontrivial…
Tags: #database #transaction #handling
https://blog.san-ss.com.ar/2016/11/db-transaction-handling-in-cpp-systems
https://blog.san-ss.com.ar/2016/11/db-transaction-handling-in-cpp-systems
blog.san-ss.com.ar
SanSS's Blog: Database transaction handling in C++ systems
Architectural approach of a way to handle transactions in C++ systems. The approach aims to be as decoupled and non-invasive as possible.
Tags: #quiz #c
A lot of programmers claim they know C. Well, it has the most famous syntax, it has been there for 44 years, and it’s not cluttered with obscure features. It’s easy!
https://hackernoon.com/so-you-think-you-know-c-8d4e2cd6f6a6#.7n9kofshw
A lot of programmers claim they know C. Well, it has the most famous syntax, it has been there for 44 years, and it’s not cluttered with obscure features. It’s easy!
https://hackernoon.com/so-you-think-you-know-c-8d4e2cd6f6a6#.7n9kofshw
Hackernoon
So you think you know C? | HackerNoon
A lot of programmers claim they know C. Well, it has the most famous syntax, it has been there for 44 years, and it’s not cluttered with obscure features. It’s easy!
Tags: #cuda8 #nvidia
CUDA 8 is one of the most significant updates in the history of the CUDA platform.
https://devblogs.nvidia.com/parallelforall/new-compiler-features-cuda-8/
CUDA 8 is one of the most significant updates in the history of the CUDA platform.
https://devblogs.nvidia.com/parallelforall/new-compiler-features-cuda-8/
Parallel Forall
New Compiler Features in CUDA 8
A tour of the many new and improved features in CUDA C++ and the NVCC compiler, including host-device lambdas, improved Runtime Compilation, and more.
Tags: #sizeof #expectedresults
The size and layout of C++ objects are not alway intuitive.
https://cppisland.com/?p=369
The size and layout of C++ objects are not alway intuitive.
https://cppisland.com/?p=369
C++ Island
sizeof: When The Whole is Greater Than The Sum Of Its Parts
Running the program: Generates this output: The structure A occupies 6 bytes more than the sum of its members. the mystery thickens when we check the output for structure B having the same elemen…
Tags: #terminators #diagram #flows
A GraphViz diagram that shows both normal and unexpected program termination flows in C++.
https://github.com/adishavit/Terminators
A GraphViz diagram that shows both normal and unexpected program termination flows in C++.
https://github.com/adishavit/Terminators
GitHub
adishavit/Terminators
Hasta la vista, baby! Contribute to adishavit/Terminators development by creating an account on GitHub.
Tags: #inline
Thanks to inline the compiler can replace the function call by the function body. There are two reasons to use inline functions: performance and safety.
https://www.modernescpp.com/index.php/inline
Thanks to inline the compiler can replace the function call by the function body. There are two reasons to use inline functions: performance and safety.
https://www.modernescpp.com/index.php/inline
Modernescpp
inline - ModernesCpp.com
Tags: #stackoverflow
https://stackoverflow.com/questions/40481286/why-does-the-size-of-this-stdstring-change-when-characters-are-changed
https://stackoverflow.com/questions/40481286/why-does-the-size-of-this-stdstring-change-when-characters-are-changed
Stackoverflow
Why does the size of this std::string change, when characters are changed?
I have an issue in which the size of the string is effected with the presence of a '\0' character. I searched all over in SO and could not get the answer still.
Here is the snippet.
int main()
{
...
Here is the snippet.
int main()
{
...
Tags: #azure #linux #docker #visualstudio
https://blogs.msdn.microsoft.com/vcblog/2016/11/08/developing-linux-c-applications-with-azure-docker-containers/
https://blogs.msdn.microsoft.com/vcblog/2016/11/08/developing-linux-c-applications-with-azure-docker-containers/
Microsoft
Developing Linux C++ applications with Azure Docker containers
C++ tutorials, C and C++ news, and information about the C++ IDE Visual Studio from the Microsoft C++ team.