3 ms·
> Can it be used for c++ code? Yup! https://github.com/ziglang/zig/commit/db17c0d88c44183b3060993d85657e7637b43d68 https://github.com/ziglang/zig/commit/db17c0
by O_H_E 5y ago
> Can it be used for c++ code?
Yup! https://github.com/ziglang/zig/commit/db17c0d88c44183b3060993d85657e7637b43d68 https://github.com/ziglang/zig/commit/db17c0d88c44183b306099...
> Also we build LLVM tip of tree from scratch...
I would have also thought it would be non-trivial (Julia uses LLVM and has some non-backwards compatible patches) but this paragraph intrigued me:
>> At the time of this writing, LLVM 10 was just released two hours ago. It will take days or weeks for it to become available in various system package managers. But you can already download a master branch build of Zig and play with the new features of Clang/LLVM 10. For example, improved RISC-V support!
I found this for LLVM 12 (released April 14)
https://github.com/ziglang/zig/commit/5a3ea9beced660c9cc463b921a1581cc07855dd6 https://github.com/ziglang/zig/commit/5a3ea9beced660c9cc463b...
https://github.com/ziglang/zig/commit/e248de93a07fd6a7f48581ce0d9f6f77a69c76de https://github.com/ziglang/zig/commit/e248de93a07fd6a7f48581...
https://github.com/ziglang/zig/commit/6a7f21d1b8ca5c082c804e0bbc4659d4e9b558ae https://github.com/ziglang/zig/commit/6a7f21d1b8ca5c082c804e...
https://github.com/ziglang/zig/commit/1438c324a460789f1004a307a3267bcca3ee0bd3 https://github.com/ziglang/zig/commit/1438c324a460789f1004a3...
Andrew seem to be following along their release pretty closely.
Disclaimer: I don't know squat what I'm talking about