December 08
Hi all,

Compiler Explorer [1] is an interactive compiler. The left-hand pane shows the editable code. The right, the assembly output of having compiled the code with a given compiler and settings.

HowTo

1. open the site [1]

2. press 'Libraries' bottom on the right window and pick required libraries with all their dependencies. For example, mir-algorithm(trunk) and its dependency mir-core(trunk).

3. Pick LDC compiler

4. Use LDC's -mtriple= or -mcpu= flags to pick the target you want. LDC can do cross-compilation for ARM CPUs.

5. Add compiler flags like -O -release -boundscheck=off -mcpu=native

6. Past you code in the left window.

7. Enjoy

[1] https://d.godbolt.org/