4 ms·
I’ve often wanted to try out Zig at work but the dependency on the latest LLVM meant doing that first. Building LLVM from scratch on our platform takes more res
by butterisgood 6y ago
I’ve often wanted to try out Zig at work but the dependency on the latest LLVM meant doing that first. Building LLVM from scratch on our platform takes more resources (including time) than I normally have available (LLDB needs like 6GB of RAM to link?)
So, I welcome this news!
- dnautics 6y agoI thing zig ships with the relevant prebuilt llvm if you don't mind being tied to a release.
- deleted 6y ago[deleted]
- AnIdiotOnTheNet 6y agoZig releases are available in statically compiled form, no dependencies, no compilation necessary.
- butterisgood 6y agoNote I mentioned I wanted it for our platform... there is no pre-built Zig for it - despite being BSD based.
- eggy 6y agoAside from using software that relies on LLVM, I am not at all familiar with its internals. A fellow on another forum was ranting against using LLVM as a backend for security reasons pointing out its sheer size and the fact that it is a "US controlled software stack" [1]. Don't get me wrong, I think he has a very fringe and suspicious outlook on LLVM and the US, but it is a big codebase that would be hard to audit for such things. Would Zig ever be fully independent and auditable by a small team when the break from LLVM is made? Just curious, and I would love input on the LLVM comspiracy topic. [1] https://www.mail-archive.com/picolisp@software-lab.de/msg09579.html https://www.mail-archive.com/picolisp@software-lab.de/msg095...
- higerordermap 6y ago90% of your computing stack is US controlled code. What's so different about LLVM LLVM monoculture is pretty bad though.. and its codebase quality is not very good either. But that's another issue.
- Arelius 6y agoEven if your build system isn't set up for it, you could potentially do a cross-compiled build for just LLVM your target architecture, then just rely on those binaries?
- butterisgood 6y agoThat’s a really interesting idea... Got a new spare time project to try out!