Product News

Recommendations to speed C++ builds in Visual Studio--Sridhar Madhugiri

This post discusses features, techniques and tools you can use to reduce build time for C++ projects:

Recommendations to speed C++ builds in Visual Studio

by Sridhar Madhugiri

From the article:

Developers invoke build frequently while writing and debugging code, so improvements here can have a large impact on productivity. Many of the recommendations focus on this stage...

PVS-Studio C/C++ static code analyzer for Linux

We released the first version of PVS-Studio analyzer for Linux. Now Linux developers are getting a new powerful tool to fight bugs in the code.

PVS-Studio for Linux

From the news:

Starting with the 6.10 version, PVS-Studio analyzer supports not only Windows, but the Linux too.

PVS-Studio performs static code analysis and generates a report that helps a programmer find and fix bugs. PVS-Studio performs a wide range of code checks, it is also useful to search for misprints and Copy-Paste errors. Demonstrative examples of such errors: V501, V517, V522, V523, V571, V611.

The new Linux version (.deb, .rpm, .tgz) is available for download on the page: http://www.viva64.com/en/pvs-studio-download-linux/

C++ Core Check code analysis is included with VS “15”--Andrew Pardoe

Following the core guidelines is becoming easier.

C++ Core Check code analysis is included with VS “15”

by Andrew Pardoe

From the article:

Visual Studio “15” Preview 5 now includes the C++ Core Guidelines Checkers. This means you no longer have to install the C++ Core Check package from NuGet to check your code against rules and profiles in the C++ Core Guidelines. Just configure Code Analysis to include the C++ Core Check extensions.

rest_rpc released the first official version

The C++ open source community released (purecpp.org) released theit first official version.

rest_rpc website

by purecpp,org

From the website:

rest_rpc is developed using modern c++. The first version was released after several iterations and refactoring. rest_rpc is an easy to use, flexible, high-performance, cross-platform RPC framework.

Features of rest_rpc

  • RPC call just like local function call
  • Easy to use: developers only need to focus on business
  • Flexible: the serialization method can be freely customized, default support json,msgpack
  • Supports synchronous and asynchronous calls

build2 0.4.0 released

build2 is an open source, cross-platform toolchain for building and packaging C++ code. It includes a build system, package manager, and repository web interface. There is also cppget.org, a public repository of open source C++ packages.

build2 0.4.0 Release Notes

From the announcement:

This release includes a number of major new features in the build system (support for Windows/MSVC, C compilation, pkg-config integration, library versioning and export model, as well as the uninstall operation) and packag manager (support for repository authentication and system packages).

This version has been tested on Windows, Linux, Mac OS, and FreeBSD with GCC, Clang (both vanilla and Apple's), MinGW GCC, MSVC, and Intel icc.

Metashell 3.0.0 is available

Metashell provides a compile-time debugger for debugging template instantiations and macro usage.

Metashell 3.0.0 is available

From the website:

Some of the major new features in 3.0.0:

  • Profiling template instantiations
  • Debugging template instantiations in expressions involving SFINAE
  • Displaying preprocessed expressions

Commands for exploring the available headers (similar to the which and ls commands).
The full list of changes can be found here.

An online demo can be found at http://metashell.org/about/demo/

Installers can be downloaded from http://metashell.org/getting_metashell/installers#version-300

 

Chobo Single-Header Libraries Released

Chobo SHL is a collection of five small single-header libraries with no external dependencies by Chobolabs.

Chobo SHL Released

by Chobolabs

From the release:

The list of libraries is:

  • optional - A value wrapper with an optional invalid state (similar to boost::optional)
  • static_vector - A std::vector-like class with fixed capacity (similar to boost::static_vector)
  • flat_map - A std::map-like class with linear storage and optional storage container (similar to boost::flat_map)
  • vector_ptr - A non-owning std::vector pointer to be used in generic code
  • vector_view - A view of a std::vector<T> which makes it look as a vector of another type

doctest—the lightest feature rich C++ single header testing framework released! -- Viktor Kirilov

The lightest feature--rich C++ single--header testing framework for unit tests and TDD

doctest 1.1.0 released!

by Viktor Kirilov

From the release:

The reddit thread might be of interest as well.

The project is looking for sponsors and publicity!

Vcpkg: a tool to acquire and build C++ open source libraries on Windows--Eric Mittelette

The Visual Studio Team has announced the availability of Vcpkg, a tool which simplifies acquiring and building open source libraries on Windows.

Vcpkg: a tool to acquire and build C++ open source libraries on Windows

From the article:

Acquiring native libraries on Windows is a critical part of the application development process; in our surveys, you told us that 80% of your C++ projects depend on two or more libraries...