QBE – Compiler Back End

c9x.me

71 points by smartmic 11 hours ago


cestith - 13 minutes ago

Related, there’s Blaise which is a new Object Pascal that uses QBE as its backend.

https://news.ycombinator.com/item?id=48058644

There’s also cproc which has a few HN posts about it.

https://news.ycombinator.com/item?id=24076603 https://news.ycombinator.com/item?id=28242024 https://news.ycombinator.com/item?id=32466098 https://news.ycombinator.com/item?id=25273918

lucrbvi - 3 hours ago

I really like QBE but I hope they will make it a true library because I don't want to launch a subprocess to compile a program.

superdisk - 4 hours ago

Cool project, and FWIW it's like one Claude prompt to add MIPS support to this. I did that and then was able to compile my little custom language to the N64.

Tiberium - 2 hours ago

Also relevant: https://git.sr.ht/~mcf/cproc is a C compiler on top of QBE

sylware - an hour ago

Combined with cproc, I get 70% of gcc -O2, for a small fraction of the code... and a plain and simple C coded compiler.

graemeg - 4 hours ago

Do you know if there is ongoing work to support x86_64 on Windows?

anthk - 2 hours ago

A, c9x among codemadness, cool people, among gopher://bitreich.org

https://codemadness.org/git/

Tons of these tools I use are from these guys (among 2f30). Small, predictable, usable, such as pointtools and catpoint. Sfeed for RSS, scc for gopher and so on, and smu for markdown from git repos > html.