|
|
|
|
|
by throwaway9d0291
1974 days ago
|
|
Sure, it can be simple. To give you a less clear example, think about writing a library that sends telemetry to some cloud service. The telemetry could be readings from a sensor attached to a microcontroller with 512K of RAM or it could be readings from a server sitting in a datacenter with 256GB of RAM. You need some helper library to handle the protocol and there's a really nice full-featured library that comes with a bunch of handy debugging tools but it's too memory-hungry for that tiny microcontroller. Another option is a minimalist library that uses very little memory but also has less flexibility in say TLS. If you pick just one, one of your platforms ends up suffering needlessly. Adding the options allows the user to decide what's best for them. |
|
I simply don't understand the explosion of complexity associated to autotools, cmake, and the like.