@naviwitch_t *navi well in the early rust for Linux days we hit this limit with the passing kconfig options to rustc. Fun times
@kloenk
@naviwitch_t *navi Back when 128 kB was the limit for argv+envp, Google was hitting it too because they passed all the configuration for their whole software stack on the command line as --long-option=value switches.
Their solution? Compress the command line. So every binary started by ungzipping argv[1] and parsing it to get the configuration.
The person explaining this to me saw my horrified face, and said with the perfect Hide The Pain Harold smile: "a series of individually completely rational and reasonable decisions led to this." and I have been thinking a lot about it since.
If you have a fediverse account, you can quote this note from your own instance. Search https://social.treehouse.systems/users/ska/statuses/114908845598719689 on your instance and quote it. (Note that quoting is not supported in Mastodon.)