Re:Learning C3
by stevefolta on Thursday May 29, 2025 @04:50PM
(#44130277)
The downside of QBE is that it doesn't have a way to generate debug symbols. But I still love and use it.
Re:Learning C3
by YorickPeterse on Thursday May 29, 2025 @09:23PM
(#44131918)
The most recent release has the ability to generate basic debugging information (see "new experimental dbgfile and dbgloc directives. " from the release notes) as Hare needed that (and IIRC a Hare contributor added it). Unfortunately, there's no documentation on it, and last I checked to see how to use it I had to go spelunking in the Hare source code.
Plus the "frontend -> QBE -> assembler -> binary" process is slower than "frontend -> LLVM -> binary". And LLVM is known for being a fairly slow compiler.