logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git

qbe.md (1107B)


  1. ---
  2. layout: page
  3. title: Introduction to qbe
  4. ---
  5. **Abstract**
  6. > qbe is an optimizing compiler backend which consumes programs in a simple
  7. > intermediate language, optimizes them, and emits assembly for x86_64, aarch64,
  8. > or riscv64, aiming to achieve "70% of the performance" of advanced compilers
  9. > like LLVM in "10% of the code". This talk will briefly introduce qbe and its
  10. > intermediate language, explain how it works and what it's capable of, and go
  11. > over some sample programs which can be written in it.
  12. **Resources**
  13. - [Download slides](https://fosdem.org/2022/schedule/event/lg_qbe/attachments/slides/4878/export/events/attachments/lg_qbe/slides/4878/qbe.pdf)
  14. - [qbe](https://c9x.me/compile/)
  15. - [cproc C compiler](https://sr.ht/~mcf/cproc/)
  16. **Events**
  17. FOSDEM 2022 (virtual)
  18. 2022-02-05 @ 14:40
  19. Recording:
  20. <iframe title="FOSDEM 2022: Introduction to qbe: A lightweight compiler backend" src="https://spacepub.space/videos/embed/bccf239c-3e88-4cdd-99bf-d71ab150fa78" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" height="315" frameborder="0"></iframe>