enkisoftware logo enkisoftware
Independent software developer making Avoyd
en  fr

Devlog - Runtime Compiled C++

RCC++ - Runtime Compiled C++ - is a technique to live edit C++ code while it's running.

We use Runtime Compiled C++ to develop our software.

Rapid Development with Runtime Compiled C++ Talk

Doug Binks - Juliette Foucaut -       # Game Technology   # Runtime Compiled C++


Doug Binks and Matthew Jack gave the talk Rapid Development with Runtime Compiled C++ in 2012 at the Develop Conference in Brighton. It's a good introduction to the technique which has come a long way since.

Runtime-Compiled C++ (RCC++) is primarily designed to shorten iteration times in development - developers can build their project, run it, make changes during runtime and see the results in a few seconds. It is aimed at games development but could be useful in any industry where turnaround times are a bottleneck.

The slides, video recording and transcript of the talk are available:

Continue reading

Runtime Compiled C++ Dear ImGui and DirectX11 Tutorial

Doug Binks -       # Game Technology   # Runtime Compiled C++


This tutorial takes a small DirectX11 project, the Dear ImGui Example, and adds Runtime Compiled C++ to it. This enables us to edit the code at runtime and see the results live, without recompiling and restarting the project.

This is a Windows only project but both Dear ImGui and Runtime Compiled C++ are cross platform. Thanks to Jonathan Bleeker and Milviz for funding this tutorial.

Runtime-Compiled C++ (RCC++) is a way to reliably make major changes to C++ code at runtime and see the results immediately. It's aimed at games development but could be useful in any industry where turnaround times are a bottleneck.

github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledCPlusPlus

RCC++ is primarily designed to shorten iteration times in development - developers can build their project, run it, make changes during runtime and see the results in a few seconds.

Continue reading

Speeding up Runtime Compiled C++ compile times in MSVC with d2cgsummary

Doug Binks -       # Game Technology   # Runtime Compiled C++


It's rare for me to read a blog post and immediatly put the information to use, but this post from Aras Pranckevičius, Best unknown MSVC flag: d2cgsummary is one. Within a short time I had cut elapsed compile and link times for Runtime Compiled C++ live coding with Visual Studio by 1.5x, and eventually 3x with total compile time (total time for all compile processes in a multithreaded system) down 10x. This post explains how.

Continue reading