Hacker News new | past | comments | ask | show | jobs | submit login
Spotify halved build times with just one script (spotify.com)
16 points by tmpz on Oct 23, 2019 | hide | past | favorite | 6 comments



Although the impact is incredibly minor, I'm sure consistently removing features also helps with build times.


Why do they do this? It seems every update the Spotify client becomes less and less useful.


Money, most likely. Removing or obfuscating user choice allows them to push you towards content that they curate themselves, presumably to pay fewer royalties or something similar. I kind of ignored it until they started removing dislike options, at some point not even having hulu bundled will stop me from switching to a competitor.


or, you know, maintenance cost in hours/developer.


All I could think of is, Rust already does this properly. It doesn't recompile libraries every time. It compiles them once, or again if the compiler is upgraded.


Cargo has the tools to do this properly, but in practice it's still a bit of a mess. Firefox was building half a dozen barely-different versions of libraries from different dependency chains, though someone eventually deduped most of these by hand.

Additionally, the Rust community has a propensity (from what I've seen) to ship dependencies on v0.x.y libraries. I mean, just look at the version numbers on https://crates.io/! Below v1.0.0, otherwise-minor sem-ver updates are breaking, and can't be de-duplicated. (0.6 is breaking from 0.5, though Cargo does allow 0.6.1 from 0.6.0 upgrades)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: