"Porting curl to another language (like rust) would be a monstrous undertaking that would be slow and introduce lots of new short to medium term problems."
This used to be true, but is no longer the case. With AI agents this can now be done very, very quickly, and with most of the downsides taken care of by just putting in a little bit more effort.
I decided to put my tokens where my mouth is and give it a go. I am sure there are issues and things that could be better with more effort - this was a side / background project while I was working on my actual projects. But it proves the concept.
ABI-compatible libcurl with all of the platforms, protocols and functionality, passing all of the tests, essentially the same performance - and better performance on the WebKit port tests I ran. I already replaced my system's libcurl with it, no issues so far.
kov•6m ago
"Porting curl to another language (like rust) would be a monstrous undertaking that would be slow and introduce lots of new short to medium term problems."
This used to be true, but is no longer the case. With AI agents this can now be done very, very quickly, and with most of the downsides taken care of by just putting in a little bit more effort.
I decided to put my tokens where my mouth is and give it a go. I am sure there are issues and things that could be better with more effort - this was a side / background project while I was working on my actual projects. But it proves the concept.
ABI-compatible libcurl with all of the platforms, protocols and functionality, passing all of the tests, essentially the same performance - and better performance on the WebKit port tests I ran. I already replaced my system's libcurl with it, no issues so far.