Submitted via IRC for Bytram
Google to reimplement curl in libcrurl
Not the entire thing, just “a subset”. It’s not stated very clearly exactly what that subset is but the easy interface is mentioned in the Chrome bug about this project.
The Chromium bug states that they will create a library of their own (named libcrurl) that will offer (parts of) the libcurl API and be implemented using Cronet.
Cronet is the networking stack of Chromium put into a library for use on mobile. The same networking stack that is used in the Chrome browser.
There’s also a mentioned possibility that “if this works”, they might also create “crurl” tool which is then their own version of the curl tool but using their own library. In itself is a pretty strong indication that their API will not be fully compatible, as if it was they could just use the existing curl tool…
“Implementing libcurl using Cronet would allow developers to take advantage of the utility of the Chrome Network Stack, without having to learn a new interface and its corresponding workflow. This would ideally increase ease of accessibility of Cronet, and overall improve adoption of Cronet by first-party or third-party applications.”
Logically, I suppose they then also hope that 3rd party applications can switch to this library (without having to change to another API or adapt much) and gain something and that new applications can use this library without having to learn a new API. Stick to the old established libcurl API.
(Score: 2) by Runaway1956 on Sunday June 23 2019, @04:50PM (2 children)
You beat hundreds of us to that post - good job!
(Score: 0) by Anonymous Coward on Sunday June 23 2019, @07:51PM (1 child)
"dont be evil" really meant dont be like microsoft.
Turns out they got rid of that slogan years ago... There is money to be made.
It is obvious from the outside there was a major tectonic shift in the way google was run a few years ago. Even MS still supports junk they made in the 90s. What does google support more than a few years? If you need to get ahold of them to talk to them for some reason how do you do so other than making a stink on twitter? I posit that google is not a good partner to have anymore. They drug us from the clutches of MS. Then decided they were in charge. Meet the new boss worse than the old boss.
(Score: 2, Informative) by Anonymous Coward on Sunday June 23 2019, @08:54PM
That shift wasn't a few years ago, that shift goes back to the very instant they gobbled up doubleclick.net.