community

May update for the C/C++ extension in Visual Studio Code--Ankit Asthana

News from Visual Studio:

May update for the C/C++ extension in Visual Studio Code

by Ankit Asthana

From the article:

We would like to thank all of you who have tried out the C/C++ extension in Visual Studio Code and have already provided
rich feedback on your experiences and filed issues and requests with us. We are working hard on incorporating your feedback
into the product. Continuing with our effort to make Visual Studio Code as the editor tool of choice for C++ developers with
this update of the C/C++ extension, we are introducing the following features:

• Code formatting with clang-format
• Fuzzy Auto-Complete for C/C++ code
• Debugging on Windows for Cygwin/MinGW applications
• Console application debugging with GDB on the Mac

Now let’s dive into each one of these in more detail...

CppCon 2015 What's New in Visual C++ 2015 and Future Directions--Steve Carroll • Ayman Shoukry

Have you registered for CppCon 2016 in September? Don’t delay – Early Bird registration is open now.

While we wait for this year’s event, we’re featuring videos of some of the 100+ talks from CppCon 2015 for you to enjoy. Here is today’s feature:

What's New in Visual C++ 2015 and Future Directions

by Steve Carroll • Ayman Shoukry

(watch on YouTube) (watch on Channel 9)

Summary of the talk:

In this talk, we'll discuss new features, optimizations, and scenarios in Visual Studio 2015. We'll cover new backend optimizations, improved build throughput, new productivity and diagnostics features, and give a detailed update on our conformance progress, as well as talk about cool new c++1y features that we are shipping from await to modules.

Visual Studio isn't just for Microsoft platform developers. We'll also demonstrate our latest cross platform C++ development features for Android and iOS. We'll also give a sneak peak at our work on combining the Clang frontend with our existing backend to bring Clang support for Windows to Visual Studio.

James McNellis' talks @Italian C++ Conference 2016

The talks James McNellis gave at the Italian C++ Conference 2016 are now online:

An Introduction to C++ Coroutines

One of the most interesting new features being proposed for C++ standardization is coroutines, formerly known as “resumable functions.”  C++ coroutines are designed to be highly scalable, highly efficient (no overhead), and highly extensible, while still interacting seamlessly with the rest of the C++ language.

This session will consist of an in-depth introduction to C++ coroutines.  We will begin by looking at the rationale for adding coroutines to the C++ language and then look at several examples that show [1] how to write a coroutine, [2] how to use the extensibility model to adapt existing libraries to work with C++ coroutines, and [3] how coroutines really work “under the hood,” using the Visual C++ implementation as a reference.  Finally, we will look briefly at the status of the C++ coroutines proposal and some of the competing ideas.

Slides

 

Adventures in a Legacy Codebase

Three years ago, the Visual C++ team undertook a project to substantially modernize and redesign the Microsoft C Runtime (CRT) with the goals of improving long-term maintainability, performance, and usability.  This work culminated with the release of the Universal CRT with Windows 10 and Visual Studio 2015.

In this session, I will discuss our team’s experiences from this project.  We’ll look at some of the techniques we used in modernizing a decades-old codebase and look at some of the challenges that we faced, lessons that we learned, and best practices that we developed during the course of the project.

Slides

An Overview of Static Analyzers for C/C++ Code--Aleksandr Alekseev

Which static tools do you use?

An Overview of Static Analyzers for C/C++ Code

by Aleksandr Alekseev

From the article:

C and C++ programmers tend to make mistakes when writing code.

Many of these mistakes can be found using -Wall, asserts, tests, meticulous code review, IDE warnings, building with different compilers for different operating systems running on different hardware configurations, and the like. But even all these means combined often fail to reveal all the bugs. Static code analysis helps improve the situation a little. In this post, we will take a look at some static analysis tools. [The author of this article is not an employee of our company, and his opinion may be different from ours.]...

Italian C++ Conference 2016--Marco Arena

A brief article on the first edition of:

Italian C++ Conference 2016

by Marco Arena

From the article:

After two years of meetups and participations in Italy, last Saturday we had more than 100 people attending (130+ registered people – ~22% drop) the first edition of the Italian C++ Conference, in Milan, our new free event fully focused on C++. Hosted by “Bicocca” University and sponsored by RogueWave Software, we delivered 5×60′ technical sessions, 1×30′ sponsor demo session and 1×40′ Q/A panel. It has been a great day!...

GCC 6.1 Released

After slightly more than a year since last major GCC release, the GCC project is proud to announce the new major GCC release, 6.1.

GCC 6.1 Released

by the GCC project

From the article:

GCC 6.1 is a major release containing substantial new functionality not available in GCC 5.x or previous GCC releases.

The C++ frontend now defaults to C++14 standard instead of C++98 it has been defaulting to previously, for compiling older C++ code that might require either explicitly compiling with selected older C++ standards, or might require some code adjustment, see http://gcc.gnu.org/gcc-6/porting_to.html for details. The experimental C++17 support has been enhanced in this release.

This releases features various improvements in the emitted diagnostics, including improved locations, location ranges, suggestions for misspelled identifiers, option names etc., fix-it hints and a couple of new warnings have been added.

The OpenMP 4.5 specification is fully supported in this new release, the compiler can be configured for OpenMP offloading to Intel XeonPhi Knights Landing and AMD HSAIL. The OpenACC 2.0a specification support has been much improved, with offloading to NVidia PTX.

The optimizers have been improved, with improvements appearing in all of intra-procedural optimizations, inter-procedural optimizations, link time optimizations and various target backends.

See  https://gcc.gnu.org/gcc-6/changes.html for more information about changes in GCC 6.1.

This release is available from the FTP servers listed here: http://www.gnu.org/order/ftp.html

The release is in gcc/gcc-6.1.0/ subdirectory.

If you encounter difficulties using GCC 6.1, please do not contact me directly. Instead, please visit http://gcc.gnu.org for information about getting help.

Driving a leading free software project such as GNU Compiler Collection would not be possible without support from its many contributors. Not to only mention its developers but especially its regular testers and users which contribute to its high quality.  The list of individuals is too large to thank individually!

New “Italian C++ Conference” event in Italy (Italian only)

A full day of C++ in the Italian language:

Italian C++ Conference 2016

May 14, 2016

University "Bicocca", in Milan.

Special guest: James McNellis, from the Visual C++ Team.

The site and the event are entirely in Italian. Here is a translation of the main information:

In a nutshell

The Italian C++ Conference 2016 aims to be a forum for exchanging experiences using the C++ language, paying special attention to what we learned in the last years using C++11 and C++14, and what to expect from the upcoming C++17.

James McNellis will talk (in English!) about CoRoutines and CRT refactoring.

Other Italian C++ professionals will speak (in Italian) on different topics.
 

Who should attend the Italian C++ Conference 2016?

This event is made by C++ professionals for C++ professionals, students and enthusiasts.

 

What can I find in the Italian C++ Conference 2016?

After 5 years of C++11, we'll show the picture of the situation through real stories.

The agenda consists of 5x60' tech talks and 1x40' Q/A "Ask Us Everything" panel.

James McNellis will talk about CoRoutines and about his experience on redesigning the C Runtime (CRT).

Other speakers are Italian C++ professionals, working in different domains. They will cover topics like C++ simplification, REST and Websocket, ideas for teaching modern C++.

Coffee breaks and lunch included.

You can refer to the detailed program for more information.
 

When does the Italian C++ Conference 2016 take place?

The event will be held on May 14, 2016 at the University "Bicocca", in Milan.

Check-in starts at 8.30 AM, the main event starts at 9.00 AM and will last for a full day.
 

Who supports this event?

RogueWave Software is our main sponsor.

JetBrains and O'Reilly are supporting us with free books/licenses.

Get in touch if you want to support us!
 

Do I need to register?

The Italian C++ Conference 2016 is free, but you must register to facilitate the organization of the event. You can register here.

C++ meetup in Madrid, Spain: C++ in Fintech

Today we have another C++ meetup in Madrid, Spain.

C++ in Fintech

C++ applied to fintech products and services

What to expect at the meetup:

Short keynotes on how C++ is applied to risk calcuation apps, fast market information transfers, quantitative finance and much more. It will be hosted at Indizen HQs and we will have programers from BME, BBVA and Indizen.