SN Systems Tech Blog

Error Handling in Libraries: A Case Study

ARTICLE BY: James Henderson
POSTED: Dec 13, 2018
TAGS: DWARF, LLVM, LLVM Developers Meeting, Toolchain

Using work performed on the DWARF debug line parser earlier this year as an example, this talk will show some of the pitfalls and problems a library developer has to be aware of when handling errors in their code, and will present some good rules of thumb that should be followed.

READ THE WHOLE POST 

Understanding the performance of code using LLVM's (llvm-mca)

ARTICLE BY: Andrea DiBiagio
POSTED: Dec 13, 2018
TAGS: Compiler, LLVM, LLVM Developers Meeting, Toolchain

LLVM-mca is a LLVM based tool that uses information available in LLVM’s scheduling models to statically measure the performance of machine code in a specific CPU. The goal of this tool is not just to predict the performance of the code when run on the target, but also to help with diagnosing potential performance issues. In this talk we, will discuss how llvm-mca works and walk the audience through example uses of this tool.

READ THE WHOLE POST 

Link time performance

ARTICLE BY: Jamie Redding
POSTED: Jun 20, 2018
TAGS: Developer Services, Linker, Toolchain

When developing console games, linking becomes an inevitable iterative process as changes are made and bugs are fixed. Whilst the C++ file may only be re-compiled once, for example after the file is modified, all of the intermediate files are re-linked, thereby generating the final executable, in every build. Over the course of the development life cycle this can mean having to re-link a game many thousands of times before it finally reaches the consumer. Reducing the overall time each link takes makes a significant impact to the games development process.

READ THE WHOLE POST