News for hackers. Stuff that matters.
Re:Zig cc: A drop-in replacement for GCC/Clang by jjnoakes on Tuesday March 24, 2020 @06:31PM (#22679782)
I wonder how much it would cost to sponsor compiles-via-c support. I'd love to use zig-the-language but I need to compile for platforms that LLVM does not support, so I would need to use the native C toolchain (assembler/linker at the least, but using the native C compiler seems easier).
Re:Zig cc: A drop-in replacement for GCC/Clang by ihnorton on Tuesday March 24, 2020 @06:42PM (#22679866)
There is a semi-maintained (perhaps more accurately “occasionally resurrected”) C backend for LLVM: https://github.com/JuliaComputing/llvm-cbe
Re:Zig cc: A drop-in replacement for GCC/Clang by jjnoakes on Tuesday March 24, 2020 @06:59PM (#22679982)
Thanks; I was aware of this but last I checked it only supports a subset of LLVM (whatever Julia needed).