Partners: KDAB Whole Tomato Software

Hi there!

My name is Bartek, I'm a programmer from Cracow/Poland. This is my blog about C++ and native coding.

Quick jump links:

21 January 2019

std:filesystem::file_size Advantages and Differences

Getting File Size in C++

Subtitle: Learning std::filesystem through file_size routines.

Last week I wrote a short post that explained how to use std::filesystem::file_size. Today I’d like to continue and show some significant differences that this new functionality has over the “older” techniques (like reading a file and getting its file position).

We’ll also learn something about permissions and how to manage them in std::filesystem.

19 January 2019

C++ Links #15

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 12th and 18th of January 2019.

In this week you may find the final answer how to get the size of the file, article describing few examples with Ranges and many more!

14 January 2019

How to get File Size in C++?

Getting File Size in C++

Before C++17 we could often complain that even simple tasks as getting a file size were complicated. With std::filesystem things get a bit easier!

12 January 2019

C++ Links #14

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 5th and 11th of January 2019.

This week you will link to post about over complicated initialisation of the variables, link to an article that checks which STL header it’s the longest being parsed and many more!

05 January 2019

C++ Links #13

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 29th December 2018 and 4th of January 2019.

We are back after a month break - we hope that we won't have such long breaks in the future.
The most important event from the last weeks is "Niebler Gate", long and controversial topic that started from Eric Niebler post. It relates to the state of C++, "debug-ability", entry level for learning C++, gamedev and more.

31 December 2018

C++ at the End of 2018

C++ Status at the end of 2017

2018 is almost over (just a few hours left in Poland till midnight). As in previous years, I did a summary of many things that happened in the C++ community. This year seems to be marked with a solid progress towards the standardisation of C++20, using more and more C++17 and as always the growth in the community.

Let’s have a look.

28 December 2018

How To Parallelise CSV Reader - New Chapter

C++17 In Detail

Learning new language and library features in isolation might not be the best choice. That’s why in my book I also added bigger examples where many C++ elements coexist together.

This time I’d like to describe another book update where I create and walk through a CSV reader application. The application uses a lot of language and library components. And the main task is to parallelise it. Can it work faster than the sequential version?

07 December 2018

C++ Links #12

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 1st and 7th of December.

In this week you will find a link with learning resources from SG20 Education, article about optimising C++ code and many more!

03 December 2018

How to Use The Newest C++ String Conversion Routines - std::from_chars

How To Use std::from_chars, C++17

With C++17 we get another facility to handle the conversion between text and numbers. Why should we care about the new routines? Are they better in any way?

30 November 2018

C++ Links #11

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 24th and 30th of November. In this week you can found links to blog post series about good interface design, benchmarks for C++17 parallel algorithms, a video about compiler attributes and many more!

26 November 2018

How to Boost Performance with Intel Parallel STL and C++17 Parallel Algorithms

How To Boost Performance With Intel Parallel STL

C++17 brings us parallel algorithms. However, there are not many implementations where you can use the new features. The situation is getting better and better, as we have the MSVC implementation and now Intel’s version will soon be available as the base for libstdc++ for GCC.

Since the library is important, I’ve decided to see how to use it and what it offers.

16 November 2018

C++ Links #10

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 10th and 16th of November.

This week we have link to another ISO C++ Standards Committee Meeting report - this time from Herb Sutter, you can also find link to video with unusual initialization using Designated Initializers.

12 November 2018

The Amazing Performance of C++17 Parallel Algorithms, is it Possible?

The Amazing Performance of C++17 Parallel Algorithms

With the addition of Parallel Algorithms in C++17, you can now easily update your “computing” code to benefit from parallel execution. In the article, I’d like to examine one STL algorithm which naturally exposes the idea of independent computing. If your machine has 10-core CPU, can you always expect to get 10x speed up? Maybe more? Maybe less? Let’s play with this topic.

09 November 2018

C++ Links #9

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 3rd and 9th of November.

In this week we have C++ Standards Committee meeting in San Diego, we all can’t wait when first reports come out! Until then - one of the links is Herb Sutter pre-meeting trip report. You will also find video about differences between std::cerr, std::cout & std::clog, and many more!

© 2017, Bartlomiej Filipek, Blogger platform
Any opinions expressed herein are in no way representative of those of my employers.
This site contains ads or referral links, which provide me with a commission. Thank you for your understanding.