3 ms·
C is what, five decades old? Seems like building and packaging software should be a solved problem by now. Instead every single language has to re-invent everyt
by drowsspa 3y ago
C is what, five decades old? Seems like building and packaging software should be a solved problem by now. Instead every single language has to re-invent everything, and it seems it's mostly because of these binary dependencies.
- nmz 3y agoStatic compilation solves everything, that and cosmopolitan should solve the portability problem. Looking at redbean, we could be programming native applications in lua that would be portable across OS and be lean as well as static (and fast, without depending on a browser). The main problem is dynamic compilation, I wouldn't fault the "every lang wants to reinvent everything", go took its lessons from plan9 and seems to me the correct method of compilation in nix. for versioning, the only way to do it correctly is tossing away the FHS and using the structure of gobolinux.
- taeric 3y agoC is the last of the old guard languages where every major target had their own toolchain to build with. Microsoft shops used the visual studio compiler chain. Sun used their own, sgi, etc. Gcc broke the mold by being unattached to a platform and usable.