Product News

C++ Debugging and Diagnostics--Adam Welch

A quick tour of the Visual Studio native debugger and how it can help you in all areas of your C++ development:

C++ Debugging and Diagnostics

by Adam Welch

From the article:

Debugging is one of the cornerstones of software development, and it can consume a significant portion of a developer’s day.  The Visual Studio native debugger provides a powerful and feature-rich experience for finding and fixing problems that arise in your applications...

CppCast Episode 96: Jewelbots with Sara Chipps

Episode 96 of CppCast the only podcast for C++ developers by C++ developers. In this episode Rob and Jason are joined by Sara Chipps to discuss Jewelbots, Arduino and getting girls interested in STEM fields.

CppCast Episode 96: Jewelbots with Sara Chipps

by Rob Irving and Jason Turner

About the interviewee:

Sara Chipps is a JavaScript developer based in NYC. She has been working on Software and the Open Source Community since 2001. She’s been obsessed with hardware and part of Nodebots since 2012.

She is the CEO of Jewelbots, a company dedicated towards drastically changing the number of girls entering STEM fields using hardware.

She was formerly the CTO of Flat Iron School, a school dedicated to teaching people of all ages how to build software and launch careers as software developers.

In 2010 she cofounded Girl Develop It, a non-profit focused on helping more women become software developers. Girl Develop It is in 45 cities, and has taught over 17,000 women how to build software.

CLion 2017.1 released -- Anastasia Kazakova

Welcome CLion 2017.1, new version of the cross-platform C/C++ IDE from JetBrains!

CLion 2017.1 released

by Anastasia Kazakova

From the article:

With the 2017.1 update CLion has learned a lot about C++14 and C++17. It improves your debugging experience with a disassembly view and unit testing with support for the Catch framework. In addition, Windows users are welcome to check out the new experimental support for Microsoft Visual C++ compiler.

The highlighted new features are:

  • Extended support for C++14 (in brief, all except constexpr are there!)
  • First step towards C++17 support (nested namespaces!)
  • First step to modernizing your C++ code: make auto intention
  • Support for precompiled headers and headers included via -include compile option
  • Disassembly view in debugger (GDB)
  • Support for the Catch unit test framework
  • Experimental support for Microsoft Visual C++ compiler
  • Find in Path in popup
  • Enhanced Log viewer and branches popup
  • Swift plugin: SourceKit inspections and ability to generate type from usage

CppDepend v2017 Released! -- CoderGears

We are happy to inform you that CppDepend v2017 has been released and is now available for download! CppDepend v2017 allows architects and developers to analyze C and C++ code base, automate code reviews, and facilitate refactoring and migration.

More Information about CppDepend v2017 new features!

by CoderGears

About the release

With CppDepend v2017 Save time, reduce costs and deliver high-quality code with these important updates:

  • Support: for Visual Studio 2017 RC.
  • Smart Technical Debt Estimation: CppDepend v2017 is the only VS extension that can tell the developer that, for example, since this morning the code just written has introduced debt that would cost about 30 minutes should it have to be repaid later. Knowing this, the developer can fix the code before even committing it to the source control.
  • Quality Gate: A Quality Gate is a check on a code quality fact that must be enforced before releasing and eventually, before committing to source control. Quality Gates for example can forbid issues with a certain severity introduced since the baseline, enforce particular code coverage by tests ratio on new and refactored code or enforce thresholds on any Technical Debt criteria.
  • Default Rules Set Improvements: All default rules have been revisited to smartly estimate the cost-to-fix and the severity of each issue and also to filter more false positives.
  • Dashboard Improvements: The dashboard now includes Technical Debt metrics, Quality Gates status and Issues facts. It allows drilling down any Technical Debt fact and filter issues through any criteria (new, severity, cost to fix...).
  • Enhanced Baseline Experience: Do you want to measure progress since this morning, last week or since the last release? Choose the baseline in a single click from the Dashboard and harness the updated results in just a few seconds.
  • Report Improvements: The CppDepend report now includes the new Dashboard and proposes Technical Debt and Quality Gates highlights.
  • Code Query Improvements: CppDepend Code Query LINQ (CQLinq) can now be used to live query the Technical Debt and the issues-set. Also, CQLinq now lets users write custom Quality Gates. With CQLinq, smart Technical Debt estimations are computed through custom formulas written in C#. Finally, a code query can now match code elements of various kinds (assemblies, namespace,s types, methods, fields) to obtain more informative results.

Download and enjoy the new version of CppDepend now by clicking here.

Clang-Tidy, part 1: Modernize your source code using C++11/C++14--Kevin Funk

Do you know what is clang-tidy and how to use it?

Clang-Tidy, part 1: Modernize your source code using C++11/C++14

by Kevin Funk

From the article:

This blog series will introduce the clang-tidy utility from the Clang/LLVM project and show how to use it to automatically refactor C++ source code and integrate with your build system, as well as how to use the tool on other platforms than Unices.

PVS-Studio: searching software weaknesses

As we check Apache HTTP Server, we see bugs crawling everywhere across the code. But wait! These are not just bugs, but security weaknesses!

PVS-Studio: searching software weaknesses

by Andrey Karpov, Phillip Khandeliants

From the article:

PVS-Studio has always been able to detect a large number of various security defects (potential vulnerabilities) in the program code. However, historically, we positioned PVS-Studio as a tool to search for errors. We see a trend in the software development to look for vulnerabilities in the code, although it is just the same. It seems to us that it is high time to do the rebranding of our static analyzer PVS-Studio. We will start with Common Weakness Enumeration (CWE). This article provides a table that shows matches of PVS-Studio diagnostic warnings of with the classifier. The table will be gradually updated and changed, but we can already use the table to write articles about security defects detected in projects. We suppose it would attract more attention of the software security specialists.

Heaptrack v1.0.0 Release -- Milian Wolff

Milian Wolff announces the first stable release of Heaptrack, a fast heap memory profiler for C and C++ software running on Linux.

Heaptrack v1.0.0 Release

by Milian Wolff

From the article:

Heaptrack is a fast heap memory profiler that runs on Linux. It allows you to track all heap memory allocations at run-time.

Afterwards, the accompanying GUI tool can be used to find optimization opportunities in your code by analyzing the recorded profiling data. It allows you to:

  • Inspect peak heap memory consumption
  • Find memory leaks
  • Count overall number of memory allocations and find temporary allocations
  • Find small allocations with large overhead

Zapcc 1.0 - A Much Faster C++ Compiler

We are happy to announce Zapcc, a Clang/LLVM based C++ compiler, with much faster compilations.

Zapcc

by the Zapcc team

About the compiler:

Typically, Zapcc accelerate full C++ builds by x2-x5, and incremental builds by x10 and more.

Zapcc is available for evaluation on the companies website.

Feel free to try it out!

Visual Studio 2017 for C++ developers

The following Visual Studio 2017 launch day articles have gone live on the VCBlog:

Visual Studio 2017 for C++ developers – you will love it

C++ Code Analysis improvements in Visual Studio 2017 RTM

Check for const correctness with the C++ Core Guidelines Checker

Binary Compatibility and Pain-free Upgrade: Why Moving to Visual Studio 2017 is almost “too easy”

MSVC: The best choice for Windows

Use any C++ Compiler with Visual Studio

C++ game development workload in Visual Studio 2017

Completed UserVoice Suggestions in Visual Studio 2017

C++ Standards Conformance from Microsoft

Visual Studio Code C/C++ extension March 2017 Update

C++14 conformance improvements: constexpr and aggregate initialization

Finding installed Visual C++ tools for Visual Studio 2017

Learn C++ Concepts with Visual Studio and the WSL--Andrew Pardoe

Now you can learn Concepts TS in Visual Studio 2017 by targeting the Windows Subsystem for Linux (WSL):

Learn C++ Concepts with Visual Studio and the WSL

by Andrew Pardoe

From the article:

Concepts enable adding requirements to a set of template parameters, essentially creating a kind of interface. The C++ community has been waiting years for this feature to make it into the standard...