5 ms·
People really do appreciate such convenience. I am not familiar with Zig, but GO provides me similar experiences for cross-compilation. Being able to bootstra
by qlk1123 7y ago
People really do appreciate such convenience. I am not familiar with Zig, but GO provides me similar experiences for cross-compilation.
Being able to bootstrap FreeBSD/amd64, Linux/arm64, and actually commonly-used OS/ARCH combinations in a few minutes is just like a dream, but it is reality for modern language users.
- jclulow 7y agoI'm all for cross compilation, but in reality you still need running copies of those other operating systems in order to be able to test what you've built.
- vijaybritto 7y agoYes but the dev setup is not really necessary for all of those OSes.
- pjmlp 7y agoOnly if not using OS APIs.
- vijaybritto 7y agoYeah sorry I didnt think about. Probably very important as low level code like this mainly for talking with OS APIs
- Reelin 7y agoSetting up 3 or 4 VM images for different OSes takes a few minutes. Configuring 3 or 4 different build environments across as many OSes on the other hand ...
- VMG 7y agoAnd actually building on these potentially very low-power systems...
- solarkraft 7y agoSure, but building typically takes more resources than executing, so it's not really feasible to use a Raspberry Pi to build, but it can be for testing.