Online Tools

This section introduces some C++ online tools that are helpful in developing alpaka.

Compiler Explorer (Godbolt)

Compiler Explorer is a website where you can compile C++ (and other code) with different compilers, view the assembly code, and execute the code.

alpaka provides a header file that can be included into Compiler Explorer. This allows you to easily prototype alpaka ideas with different compilers in your web browser. You can find a link to an alpaka Compiler Explorer example in the code example section.

C++ Insights

C++ Insights is a tool that shows how a compiler implements/resolves C++ functions. To do this, C++ is converted into modified C++. For example, it shows functions such as template resolution or how a range-based loop is implemented. C++ Insights does not support external header files. Therefore, alpaka cannot be integrated.

C++ Insights is very well suited for prototyping and understanding how C++ code works, especially templates.

C++ Standard references