SN Systems Tech Blog

Coroutines and C++ DSLs for Human Scale Concurrency

ARTICLE BY: Dominic Robinson
POSTED: Jun 12, 2017
TAGS: ACCU 2017, C++ coroutines

C++ coroutines have not yet been standardised, but are available today in Visual Studio 2015 (coming soon to clang/llvm) in the form of the stackless coroutines/resumable functions presented at CppCon2016. This session will look beyond the canonical examples of generators and asynchronous IO to see if coroutines can be leveraged in the pursuit of C++ DSLs to make concurrency easier to work with for humans - "Concurrency at Human Scale".

READ THE WHOLE POST 

Delivering Sample-based PGO for PlayStation(R)4

Users of the PlayStation(R)4 toolchain have a number of expectations from their development tools: good runtime performance is vitally important, as is the ability to debug fully optimized code. The team at Sony Interactive Entertainment have been working on delivering a Profile Guided Optimization solution to our users to allow them to maximize their runtime performance.

READ THE WHOLE POST 

Demo of a repository for statically compiled programs

ARTICLE BY: Paul Bowen-Huggett
POSTED: Nov 17, 2016
TAGS: LLVM, LLVM Developers Meeting, Toolchain

Paul presents a proof of concept of an approach which improves compile and link times by replacing the conventional use of object files with an incrementally updated repository without requiring change to existing build infrastructure. It aims to present the idea at a high-level using a live demo of some trivial tools and initiate discussion of a real implementation within the LLVM framework.

READ THE WHOLE POST