This is cool, but I can't help but think you could have saved thousands of dollars, probably finished faster, and had similar results by using the same models for reviewing, but using Qwen / Deepseek / GLM for workhorse code writing model(s).
"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.
This is cool, but I can't help but think you could have saved thousands of dollars, probably finished faster, and had similar results by using the same models for reviewing, but using Qwen / Deepseek / GLM for workhorse code writing model(s).
Possible. Would you like to give it a try? ;D
On a recent post, curl's maintainer wrote this:
"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.