Does Qlang compile to machine code?

A question we get a lot from people with technical interest in the Qlang language. Short answer is yes, it does.

Up until version 3.1.4000, Qlang had an internally built compiler and optimizer. It was very fast and reliable. For future proofing however, Qlang now uses the LLVM toolchain for compile and optimization.

It is even possible to sneak-peek into the process when working in the developer. An example: write some Qlang code.

Press Ctrl+Shift+F12 when cursor is in the function. This will show the so called intermediate format that is passed to the LLVM, including the opimization passes.

Then press Ctrl+F12. This will take the very interested coder into the assembly produced by the LLVM tool chain. Voilà. Machine code.

1 Like