Python dependencies (does not include curl)
https://devguide.python.org/getting-started/setup-building/i...
The "requests" module in Python (does not use curl)
that's perfect evidence that, no, a common developer cannot "re-write" curl in a few days.
No way would I run software in my car that someone hacked together in 3 days.
Your car probably wants to use some relatively pedestrian things like HTTPS, but do you think it should have any capability of doing GOPHER, SMBS, SFTP, POP3, LDAP, IMAP, TELNET, TFTP, SCP or any of the other stuff curl supports out of the box?
We can hope that the version of curl used for the car was compiled without support for some of these protocols. I don't even know if we have a good way to verify that. More likely is that whatever the stock configuration (all the protocols) is what is being used in most applications.
So no Tesla for you then.
Sure if you want to fetch a file from the internet you could do it with one line (see the person I'm replying to);
I'd love to see the look on some of these people's faces when they find out that tool/software/whatever they use is actually using libcurl under the hood.
Good luck even getting on the internet in the first place without that router, switch, PC, modem or anything else that's also running curl/libcurl.
I don't know whether it's just my age showing, but thinking you could do anything remotely like curl in 3 days is .... well, my 1 year old probably talks more sense when he says "no".