News

C++ 20 Concepts

Time to use them.

C++ 20 Concepts part 1 and part 2

by Gajendra Gulgulia

From the article:

Concepts is one of the 4 major additions in C++20 standard. The idea of concepts has existed as long as C++ templates themselves but it has only been until few years that the foundation of C++ concepts have been laid out in the manner it had earlier been desired desired, i.e., in coherence with C++ templates design principles:

  • a generalized code
  • better code than hand written code with zero overhead
  • well specified interfaces on the template method/class usage.

C++ templates fell short on the last requirements but the first two requirements were good enough and templates few off with a huge success. In simpler terms the last requirement on concepts is about imposing constraints on the template parameters themselves, that a function or a class can accept.
In this article, I’ll give an introductory example of how concepts could be useful in terms of specifying the interface of a generic code, which amongh many advantages helps get rid of the verbose error message and achieve faster compilation, and consequently help make generic programming more expressive and fun. In the later long running series about concepts with gradually increasing complexity, I’ll present details as and when necessary. Lastly before beginning, I encourage all users to try out the code examples with a compiler that supports C++20 . So lets start with concepts of concepts wink

Upcoming C++ User Group meetings in November

The monthly listing of upcoming C++ User Group meetings at Meeting C++

Upcoming C++ User Group meetings in November

by Jens Weller

From the article:

The monthly overview on C++ User Group meetings being announced by the start of the month!

This month features 4 Events organized by Meeting C++:

    2.11 Meeting C++ online - What you can learn from being too cute: why you should write code
    4.11 Meeting Emedded 2021
    10.11 Meeting C++ 2021
    16.11 Meeting C++ online job fair

There is 1 new C++ User Groups: Odense.

 

CppCon 2021 Tuesday keynote video posted: Herb Sutter on "Pattern matching using 'is' and 'as'"

cppcon2021-keynote-herb.pngThe second keynote from CppCon 2021 is now publicly available via JetBrains, our video sponsor:

Thoughts on pattern matching using 'is' and 'as' [jetbrains.com/cppcon2021]

by Herb Sutter

In this talk, the speaker shows the C++ pattern matching libraries and language proposals that were considered, and presents his own contribution that builds on them.

How Meeting C++ can help you to close your C++ knowledge gap

Update your C++ skills with Meeting C++!

How Meeting C++ can help you to close your C++ knowledge gap

by Jens Weller

From the article

With 1.5 years of the pandemic behind us and one more "season" ahead for many of us, I'd like to show you how you can improve your C++ skills with the events organized by Meeting C++!

Meeting C++ organizes many online Events on Hubilo with its Meeting C++ online User Group. This started over a year ago and today it hosts 1 - 2 evenings of C++ content per month. Usually a talk or a fair like the online C++ job fair or the book & tool fair. The next meeting of this User Group is next week, hosting Daisy Hollmans CppCon Talk What you can learn from being too cute: why you should write code that you should never write.

CppCon 2021 C++ committee fireside chat panel video posted

cppcon2021-fireside.pngThe second video from CppCon 2021 is now publicly available via JetBrains, our video sponsor:

Committee Fireside Chat [jetbrains.com/cppcon2021]

Panelists: Bjarne Stroustrup, Lisa Lippincott, Gabriel Dos Reis, David Stone, Michael Wong, Inbal Levi

Moderator: Herb Sutter

The panel of representative members of the C++ standards committee answers questions on C++.

CopperSpice: Paradigms, Polymorphism, and Generic Programming

New video on the CopperSpice YouTube Channel:

Paradigms, Polymorphism, and Generic Programming

by Barbara Geller and Ansel Sermersheim

About the video:

We had no idea the word paradigm could actually be a useful term. Come watch our new video and find out what we learned. It is both more complex and more interesting than you might think.

Please take a look and remember to subscribe!

Audio Programming with Marsyas -- Richard Thomson

Utah C++ Programmers has released a new video.

Audio Programming with Marsyas

by Richard Thomson

From the video description:

Marsyas is an open source software framework for audio processing with specific emphasis on Music Information Retrieval applications. [...] Marsyas has been used for a variety of projects in both academia and industry.

This month, Richard Thomson will give us an introduction to the Marsyas API. We'll take a look at how to use this library to extract musical score features from an audio file.

https://www.youtube.com/watch?v=urNdsVT7V3A

Results and Statistics from the September Meeting C++ online job fair

A posting some insights and statistics from the last job fair.

Results and Statistics from the September Meeting C++ online job fair

by Jens Weller

From the article:

In September Meeting C++ online organized an online C++ Job fair, in this blog post I'm going to write about some of the lessons learned and a few new insights from the attendee data.

First, the next online job fair is mid November, book your table if you'd like to attend as an employer. Or become listed in the Meeting C++ employer listing for one year.