3 ms·
> it would be cool to see Zig on QBE. from https://c9x.me/compile/ https://c9x.me/compile/: > Text input only. A C library interface is work in progress. thi
by AndyKelley 8y ago
> it would be cool to see Zig on QBE.
from https://c9x.me/compile/ https://c9x.me/compile/:
> Text input only. A C library interface is work in progress.
this is a bit of a non-starter
> Some ongoing work on the Myrddin compiler aims to use QBE as backend.
sounds like myrddin does not use QBE as a backend.
----
It is unlikely that Zig will ever use QBE as a backend, optional or otherwise. However, it is quite possible that in some distant future Zig has its own backend that avoids the LLVM dependency entirely. This would be in pursuit of fast compile times.
- hawski 8y agoOh. You're right. My bad. I thought that they are pretty focused on QBE switch and as Myrddin is still in quite early phase of development I thought it's not much of a difference. Well looking at public commits in main branches it seems that QBE development is not really active. Too bad. I hope that there's a flame remaining. I'm not tracking mailing lists either. It's great to hear that a home grown backend is something even considered for future. I know that it's a long way there, but that's life. Thank you for your efforts with Zig. From all the new systemish languages I find Zig with it's current momentum the most probable to become the C replacement for me.