Hacker News new | ask | show | jobs
by 2400 2779 days ago
What do they use it for generally? Downloading updates?
5 comments

Might be as simple as opening a website and reading some text. Technically also "downloading" - but why not use curl for any http-based reading of data.
I would just say "interacting with all kinds of backend services".

That can be everything from OTAs to weather services, vehicle assistance services, positioning things, etc. Every feature of a "connected car" might be powered by a HTTP-based backend. And if the application inside the car is written in C/C++, using libcurl is a reasonable thing for interacting with those.

I have noticed that the CD database in my car gets updated once in a while. A CD that it previously did not have track data for started being recognized at one point. It clearly doesn't fetch the data on demand based on observation, but it does get occasional updates.
currently: entertainment systems (audio streams, weather forecasts, traffic/route planning navigation, etc.)

Eventually: spying on the passengers and turning the operator's behavior profile into an alternate revenue stream.

> spying on the passengers

I'm not familiar with this functionality of curl. Is there some undocumented flag for that?

There are also a bunch of libraries that use curl, when the task is simple it is often the best solution.