Engineering and Technology | Open Access | DOI: https://doi.org/10.37547/tajet/Volume08Issue04-16

Comparative Analysis of MSVC and Clang/LLVM Compilation on Windows on Arm

Gleb Khmyznikov , Senior Software Engineer, Microsoft Bellevue, WA, US

Abstract

This article compares the MSVC and Clang/LLVM compiler stacks for native ARM64 builds in the Windows on Arm environment on Qualcomm Kryo and Oryon platforms. The study's relevance lies in the transition of the Windows ecosystem toward native ARM64 execution and the growing role of the compiler in determining software efficiency on new Snapdragon X systems. The aim of the study is to conduct a quantitative and qualitative assessment of code-generation differences between the two toolchains for computational workloads with different profiles. The novelty of the work is defined by a systematic cross-microarchitectural comparison of new MSVC and Clang/LLVM versions in the specific Windows on Arm environment, with separation of compiler influence from hardware platform influence. It was established that Clang/LLVM delivers higher performance in most tests in audio and video encoding, sorting, and interpreted code execution, whereas MSVC reveals a pronounced advantage in the isolated NumPy sqrt mathematical kernel on the Oryon architecture. The results confirm that code-generation efficiency depends on workload characteristics and processor microarchitecture. The article will be useful for developers of C/C++ systems, compiler researchers, and software architects targeting Windows on Arm.

Keywords

Windows on Arm, ARM64, MSVC, Clang, LLVM, compilers

References

Bezbaruah, M., Dhakulkar, S., Pandey, P., P, H., Kumar, S. A., & Sudarsan, S. D. (2024). Comparative Analysis of GCC and LLVM for Performance Optimization on Aarch64. Proceedings of 2024 IEEE High Performance Extreme Computing Conference (HPEC), 1–6. https://doi.org/10.1109/hpec62836.2024.10938451

Johnson, T. (2026, March 4). C++ Performance Improvements in MSVC Build Tools v14.51 - C++ Team Blog. Dev Blogs. https://devblogs.microsoft.com/cppblog/c-performance-improvements-in-msvc-build-tools-v14-51/

Khmyznikov. (2026). llvm-msvc-arm64-paper/results at main. GitHub. https://github.com/khmyznikov/llvm-msvc-arm64-paper/tree/main/results

Moroz, L. V., Samotyy, V. V., & Horyachyy, O. Y. (2021). Modified Fast Inverse Square Root and Square Root Approximation Algorithms: The Method of Switching Magic Constants. Computation, 9(2), 21. https://doi.org/10.3390/computation9020021

Poje, K., Brcic, M., Knezovic, J., & Kovac, M. (2023). First Steps towards Efficient Genome Assembly on ARM-Based HPC. Electronics, 13(1), 39. https://doi.org/10.3390/electronics13010039

Rahman, T. N., Khan, N., & Zaman, Z. I. (2024). Redefining Computing: Rise of ARM from consumer to Cloud for energy efficiency. World Journal of Advanced Research and Reviews, 21(1), 817–835. https://doi.org/10.30574/wjarr.2024.21.1.0017

Tekriwal, M., & Sarracino, J. (2025). Towards Verified Compilation of Floating-point Optimization in Scientific Computing Programs. ArXiv. https://doi.org/10.48550/arXiv.2509.09019

Williams, G., & Kanapathipillai, P. (2025). Qualcomm Oryon CPU in Snapdragon X Elite: Micro-Architecture and Design. IEEE Micro, 45(3), 8–14. https://doi.org/10.1109/mm.2025.3568807

Xie, W., Luo, Q., Tian, X., Huang, J., & Qi, F. (2024). Performance Improvements via Peephole Optimization in Dynamic Binary Translation. Electronics, 13(9), 1608. https://doi.org/10.3390/electronics13091608

Yen, J., Wang, J., Huang, Z., Wei, Z., Zhang, Z., Chen, C., Yu, S., Wang, Y., Wang, H., & Qi, Z. (2025). ARMing x86 Games: Accelerating Binary Translation Using Software-Only Validated Flag Speculation. Proceedings of the 23rd Annual International Conference on Mobile Systems, Applications and Services, 183–195. https://doi.org/10.1145/3711875.3729163

Yeverechyahu, D., Mayya, R., & Oestreicher-Singer, G. (2024). The Impact of Large Language Models on Open-source Innovation: Evidence from GitHub Copilot. ArXiv. https://doi.org/10.48550/arXiv.2409.08379

Download and View Statistics

Views: 0   |   Downloads: 0

Copyright License

Download Citations

How to Cite

Khmyznikov, G. (2026). Comparative Analysis of MSVC and Clang/LLVM Compilation on Windows on Arm. The American Journal of Engineering and Technology, 8(4), 192–203. https://doi.org/10.37547/tajet/Volume08Issue04-16