Coroutines in Clang trunk
The future is near!
Coroutines in Clang trunk
From the tweet:
Coroutines are now in Clang Trunk! Working on the Libc++ implementation now. Thanks to @GorNishanov for all the hard work!
September 13-19, Aurora, CO, USA
October 25, Pavia, Italy
November 6-8, Berlin, Germany
November 3-8, Kona, HI, USA
By Adrien Hamelin | May 31, 2017 12:54 PM | Tags: experimental community
The future is near!
Coroutines in Clang trunk
From the tweet:
Coroutines are now in Clang Trunk! Working on the Libc++ implementation now. Thanks to @GorNishanov for all the hard work!
By Adrien Hamelin | May 25, 2017 11:35 AM | Tags: experimental community
Interesting library
corsl - Coroutine support library
by Alexander Bessonov
From the article:
corsl
stands for "Coroutine Support Library" and consists of a number of utility classes and functions that simplify asynchronous programming in Windows. It is inspired by an amazingcppwinrt
library, developed by Microsoft.
cppwinrt
was created as a language projection for Windows Runtime, which is supported by Windows 8 or later operating systems. It is impossible to use in prior Windows versions.One of the goals of
corsl
library was being able to use it under Windows Vista or later operating system...
By Adrien Hamelin | May 23, 2017 09:26 AM | Tags: performance c++14
Check this out!
Frozen - An header-only, constexpr alternative to gperf for C++14 users
by Serge Guelton
From the article:
An open source, header-only library that provides fast, immutable, constexpr-compatible implementation of
std::set
,std::map
,std::unordered_map
andstd::unordered_set
to C++14 users. It can be used as an alternative to gperf...
By Adrien Hamelin | May 19, 2017 11:38 AM | Tags: experimental boost
Working with the future tools.
Using C++ Coroutines with Boost C++ Libraries
by Eric Battalio
From the article:
Last month, Jim Springfield wrote a great article on using C++ Coroutines with Libuv (a multi-platform C library for asynchronous I/O). This month we will look at how to use coroutines with components of Boost C++ libraries, namely boost::future and boost::asio...
By onqtam | May 17, 2017 11:31 PM | Tags: None
The fastest feature-rich C++98/C++11 single-header testing framework for unit tests and TDD
doctest 1.2 released! Focus on features and runtime performance
by Viktor Kirilov
From the release:
- improved runtime by more than 30 times compared to version 1.1.4
- templated test cases - parameterized by type
- an exception translation mechanism
- logging context with lazy stringification
- multiple binaries (dll/exe) can share the same test runner/registry
- subcases can be filtered
- the
TEST_SUITE()
macro now works with blocks of code- crash handling support - using signals under UNIX and SEH under Windows
- added test case decorators - skip, may_fail, should_fail, expected_failures, timeout, etc.
- can show duration of test case execution
- added support for un-parenthesized expressions containing commas in asserts -
CHECK(std::vector<int>{1, 2} == std::vector<int>{1, 3});
- and many more! see the complete changelog
The reddit thread might be of interest as well.
By Marco Arena | May 11, 2017 12:11 AM | Tags: visual studio
Visual Studio 2017 version 15.3 preview is now available, containing an updated Visual C++ toolset:
C++17 Features In Visual Studio 2017 Version 15.3 Preview
by Stephan T. Lavavej
From the article:
Like VS 2015’s Updates, we’re adding C++17 features in VS 2017’s Updates, at a similar release frequency...
By Marco Arena | May 8, 2017 01:40 AM | Tags: visual studio
The Visual C++ Team is elated to announce that with Visual Studio 2017, it has substantially improved the quality of the C++ Modules TS implementation in Visual Studio:
Using C++ Modules in Visual Studio 2017
by Andrew Pardoe
From the article:
Standard Library Modules support is included in Visual Studio 2017 RTM or newer. This capability is currently optional and off by default...
By Adrien Hamelin | May 2, 2017 01:39 PM | Tags: None
A very useful tool:
Continuous integration with Travis CI
by Richel Bilderbeek
From the article:
In today’s guest post, Richel Bilderbeek gives us some insight about some the many possible advantages of setting up a continuous integration service, showing some minimal complete examples. Richel works as a PhD in Theoretical Biology at the University of Groningen industry, in his free time teaching people from ages 7-77 about C++, Processing, Arduino and R. Falling inexplicably in love with a C++ code snippet of Doom as a kid, he started using C++ only since 2001, and you can reach him through his website...
By Hartmut Kaiser | Apr 24, 2017 06:01 AM | Tags: performance parallelism heterogeneous computing distributed computing c++17 c++14 c++11
The STE||AR Group has released V1.0 of HPX -- A C++ Standard library for parallelism and concurrency.
HPX V1.0 Released
The newest version of HPX (V1.0) is now available for download! Please see here for the release notes.
HPX exposes an API fully conforming to the concurrency related parts of the C++11/C++14/C++17 standards, extended and applied to distributed and heterogeneous computing, and aligned with the ongoing standardization discussions.
From the announcement:
By Adrien Hamelin | Apr 20, 2017 01:06 PM | Tags: community boost
The new boost is out!
Boost 1.64.0 is released
From the article:
New Libraries
Process:
Process library by Klemens D. Morgenstern, that provides cross platorm ways to allows you to:
- create child processes
- setup streams for child processes
- communicate with child processes through streams (synchronously or asynchronously)
- wait for processes to exit (synchronously or asynchronously)
- terminate processes
Broken feature:
GitHub #67: "group.wait() does not return".
Updated Libraries
Any:
- Suppressed false warnings about returning reference to temporary
- boost::addressof is now used instead of directly taking the address #12615
- Headers are not included using double quotes any more #12053
- CI tests now run with address, leak, and undefined sanitizers
- Added more test
Atomic:
- Fixed possible incorrect code generation in 64-bit atomic operations on 32-bit x86 with gcc versions older than 4.7 and compatible compilers.
Config:
- Added BOOST_NO_CXX11_SFINAE_EXPR defect detection.
...