April 2018

Distributed C++ Meetup 0x02--Jean Guegant

Did you see it?

Distributed C++ Meetup 0x02

by Jean Guegant

From the article:

Here is a quick follow-up of the event I announced in my previous post: the Distributed C++ Meetup 0x02. A quick explanation for those too lazy to click a link or scroll down a bit to read my previous post (not judging you here, I would do the same); the concept of a Distibuted C++ Meetup consists in gathering multiple C++ user groups from around the world in one event using video-conference facilities. This time we had the pleasure to bring together the Berlin, London and Stockholm Meetup groups using King's offices.

Quick Q: Does access control matter for deleted constructors?

Quick A: No

Recently on SO:

Does access control matter for deleted constructors?

Since it's overload resolution that makes the program ill-formed in this case, and not access specifiers (which are checked later), there is no difference in outcome. The compiler will always complain that a deleted function was picked.

But since the idiom before C++11 was "declare but not define a private copy c'tor to disable copying", I would consider it going along with the same idiom, and therefore favorable. You are using the "old slang" with some new language to describe the same thing, except better.

East End Functions--Phil Nash

What's your opinion?

East End Functions

by Phil Nash

From the article:

There has been a recent stirring of attention, in the C++ community, for the practice of always placing the const modifier to the right of the thing it modifies. The practice has even been gifted a catchy name: East Const (which, I think, is what has stirred up the interest)...

Getting the Benefits of Strong Typing in C++ at a Fraction of the Cost--Vincent Zalzal

Very interesting!

Getting the Benefits of Strong Typing in C++ at a Fraction of the Cost

by Vincent Zalzal

From the article:

Strong types promote safer and more expressive code. I won’t repeat what Jonathan has presented already in his series on strong types.

I suspect some people may find that the NamedType class template has a nice interface but is using a somewhat heavy machinery to achieve the modest goal of strong typing. For those people, I have good news: you can achieve many of the functionalities of NamedType, with a very simple tool. That tool is the humble struct...

Announcing code::dive 2018

code::dive 2018 will be held in Wrocław (Poland), November 7-8, 2018.

Announcing code::dive 2018

by Adam Badura

From the article:

code::dive 2018, the fifth edition, will be held in Wrocław (Poland) on November 7-8, 2018.

Call for Papers is open until end of June 2018 -- register on the webpage.

C++Now Announces Closing Keynote by John Regehr

C++Now 2018 will be held in Aspen, May 6–11, 2018.

Closing Keynote Announced: John Regehr on Undefined Behavior and Compiler Optimizations

From the announcement:

John is a professor of computer science at the University of Utah, where his research group creates tools for making software more efficient and correct. One of his projects is Csmith, a tool that generates random C programs. Why? To test compilers, of course. Csmith has been used to find more than 500 previously unknown bugs in production-quality compilers.

John will share some of the insights he’s gained from his research into compilers.

He will discuss what undefined behavior means to the compiler and how compiler writers use it in surprising ways generate better code.

 

Parallel Coding: From 90x Performance Loss To 2x Improvement--"No Bugs" Hare

Part 2!

Parallel Coding: From 90x Performance Loss To 2x Improvement

by "No Bugs" Hare

From the article:

In my previous post, we have observed pretty bad results for calculations as we tried to use mutexes and even atomics to do things parallel. OTOH, it was promised to show how parallel <algorithm> CAN be used both correctly and efficiently (that is, IF you need it, which is a separate question); this is what we’ll start discussing within this post...