4 ms·
Have you ever worked on a project that has to combine code from different languages into one cohesive application or tool? Have you ever had to build a binary t
by phinnaeus 4y ago
Have you ever worked on a project that has to combine code from different languages into one cohesive application or tool? Have you ever had to build a binary that needs to end up in an installer package with some custom install scripts and also needs to support multiple end user OSs?
It's nice that you've lived in a world where you haven't had to concern yourself with the concerns of how your code is built, but please understand that some of us actually need or want to delve into this. It can't always be magic.
- phendrenad2 4y agoBuilding different languages into one cohesive application or tool is a procedural process. I build the code in language A, I build the code in language B, I package them together in some way, and do something with the result. I don't need a build tool with a custom declarative language for that, I can just use a BASH script. The problem is people want to do both high-level merging such as this and low-level compilation management using the same declarative language. It should really be two things.
- phinnaeus 4y ago> I package them together in some way That's a build system! > I can just use a BASH script Yep you can. Many build systems start out like that. Complexity tends to creep in.
- phendrenad2 4y agoA shell script that copies files into a directory may technically be a "build system" in the same way that a hot dog it technically a sandwich. Obviously (question mark?) I'm not talking about that.