Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I know this is likely to be an unpopular take but: I wish it was normal to ship your compiler in your source repo.

Modern compilers are bloated as hell huge things which makes it a bit impractical, but if it was a normal thing to do then we'd probably have optimized the binary sizes somewhat.

I just really like the idea of including _everything_ you need for the project. Also ensures that weird problems like this dont happen. As an extra benefit, if you included the compiler source and a bootstrapping path instead of just the latest binary, then you could easily include project specific compiler / language extensions with no extra effort.



That's pretty close to the underlying concept behind Guix and Nix. Give them a glance, if you can!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: