“I Could Rewrite Curl”
daniel.haxx.se
“I Could Rewrite Curl”
1–10 of 193 posts
Re: “I Could Rewrite Curl”
#2Here's the magic in that trick: we have, collectively, amassed a heap of knowledge on HTTP and its behavior in the wild; this was made possible by curl, in the first place. Once this is handwaved away, of course it's easy to do. "Look at me, [standing on the shoulders of giants,] I have a really great view from up here!"
(*small print: and this is speaking about the happy path, where client, its stack, network, server stack, and server all align perfectly; this happens pretty much never)
Re: “I Could Rewrite Curl”
#3Re: “I Could Rewrite Curl”
#4Re: “I Could Rewrite Curl”
#5 alias mycurl='curl'
/sRe: “I Could Rewrite Curl”
#6People are envious
[0] https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
[1] http://johnsalvatier.org/blog/2017/reality-has-a-surprising-...
Re: “I Could Rewrite Curl”
#7I can write cURL in 1 line of bash: alias mycurl='curl' /s
Re: “I Could Rewrite Curl”
#8I can write cURL in 1 line of bash: alias mycurl='curl' /s
* redis - I can do it, listen socket, serve from hashmap
* uber - how come this app is so huge, I can make it in 2 weekends (google map + api + database)
* cURL - easy, use my fancy library (it already implements HTTP stack) and rewrite it
....