用Compiler Explorer學習C/C++的效能與實做

用Compiler Explorer學習C/C++的效能與實做

今天我發現一個網站:compiler explorer,這個網站可以將C和C++即時編譯為組語,而且寒可以選AT&T語法的nasm和INTEL語法的nasm,對於底層學習很有幫助。

支援

這個網站支援ARM、MIPS、X86、AVR等指令集的compiler,支援度甚廣,且網頁本身也開源(使用node.js),連結:https://github.com/mattgodbolt/gcc-explorer

操作畫面

comments powered by Disqus