TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Google to Reimplement Curl in Libcrurl

281 pointsby Leacealmost 6 years ago

18 comments

jkaplowitzalmost 6 years ago
The curl author writes in the linked article that Google has a right to do this both morally and legally. He should check with a trademark lawyer immediately since they don't have a right to pick such a confusing name and the curl trademark is probably strong enough to be enforceable even in unregistered form. (I'm not a lawyer and this is not legal advice, but I have been involved in administering and enforcing other open source trademarks.)
评论 #20222524 未加载
评论 #20222762 未加载
评论 #20222870 未加载
评论 #20222505 未加载
评论 #20222521 未加载
willnorrisalmost 6 years ago
Hey, Will from Google&#x27;s Open Source Office here.<p>I apologize for the confusion this caused; that was certainly not the intent. Mea culpa! The name &quot;libcrurl&quot; was just an internal working name for this effort that wasn&#x27;t expected to gain much attention.<p>This project is still very experimental in nature (as discussed at <a href="https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=973603#c4" rel="nofollow">https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=973603...</a>), and there are no plans here to try and replace or compete with libcurl. We have huge respect for the tireless work Daniel does to maintain curl, and didn&#x27;t mean to cause any confusion or extra work for him.<p>To make things clearer, the team is renaming the project, and adding some more docs outlining the goals and intent of the project: <a href="https:&#x2F;&#x2F;chromium-review.googlesource.com&#x2F;c&#x2F;chromium&#x2F;src&#x2F;+&#x2F;1652540" rel="nofollow">https:&#x2F;&#x2F;chromium-review.googlesource.com&#x2F;c&#x2F;chromium&#x2F;src&#x2F;+&#x2F;16...</a>
glenndebackeralmost 6 years ago
I’ve read the title as “Google to reimplement curl in libcurl”. I only noticed the libcrul after reading the article so they certainly have a point that’s it’s very confusing.
评论 #20223222 未加载
评论 #20222664 未加载
评论 #20223756 未加载
评论 #20222441 未加载
评论 #20222424 未加载
评论 #20223218 未加载
评论 #20223213 未加载
bla3almost 6 years ago
<a href="https:&#x2F;&#x2F;groups.google.com&#x2F;a&#x2F;chromium.org&#x2F;forum&#x2F;m&#x2F;#!topic&#x2F;chromium-dev&#x2F;0TmXyy_G9_o" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;a&#x2F;chromium.org&#x2F;forum&#x2F;m&#x2F;#!topic&#x2F;chr...</a> suggests this is an intern project. My guess is that some proof of concept will be committed, then the internship will end, then nobody is going to use this for anything, and in a few years it&#x27;s going to be deleted again. This seems more like a project that&#x27;s happening because it&#x27;s technically possible, not like one that&#x27;s actually all that useful.
评论 #20228549 未加载
skybrianalmost 6 years ago
Some context here: cronet is a high-performance HTTP&#x2F;QUIC library. It seems to be promoted as an alternative to HttpUrlConnection and OkHttp for Android developers, with a Java API and implementation in C++.<p>I&#x27;d guess this bug is more about making it easier to use from C.<p><a href="https:&#x2F;&#x2F;developer.android.com&#x2F;guide&#x2F;topics&#x2F;connectivity&#x2F;cronet" rel="nofollow">https:&#x2F;&#x2F;developer.android.com&#x2F;guide&#x2F;topics&#x2F;connectivity&#x2F;cron...</a><p><a href="https:&#x2F;&#x2F;medium.com&#x2F;@cchiappini&#x2F;discover-cronet-4c7b4812407" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@cchiappini&#x2F;discover-cronet-4c7b4812407</a>
Daemon404almost 6 years ago
Their motivation isn&#x27;t really made clear in the bug (easier for developers to switch to is a little too vague), but if I had to guess, I&#x27;d bet the actual reason is that they want the debug&#x2F;insight&#x2F;whatever features from cronet available to all the third party dependencies in their monorepo, and a shim was the easiest way.<p>Doesn&#x27;t make it a good look, though.<p>As an aside: Given history with Google&#x27;s other OSS libs, I have absolutely no faith in them having a concept of a stable ABI, or even API. This is anecdotal of course.
评论 #20223610 未加载
评论 #20222381 未加载
lallysinghalmost 6 years ago
Woah, I feel like this is all blown out of proportion.<p>AFAICT, nobody&#x27;s actually trying to replace the curl that people will have installed on their workstations or laptops.<p>The cronet http&#x2F;quic library (cronut url: crurl) could use some command-line tools to test it and make the underlying protocols (e.g., quic) useful outside of a browser. I think this is a test tool&#x2F;utility to ship with that library. I don&#x27;t think it&#x27;s going to be installed by default anywhere. Maybe I&#x27;m wrong? I think the name was chosen only to indicate how it should be used (&quot;like regular curl&quot;), not to indicate that it&#x27;s a competitor. curl does all kinds of useful things that I don&#x27;t think this one is intended to do.<p>I don&#x27;t think the authors are trying to replace curl, as much as imitate it for a development utility.<p>But, I can imagine that it sucks to spend a ton of time on developing proper curl and suddenly hearing that Google&#x27;s going to replace it with one developed by a big team of big-company engineers. I don&#x27;t think that&#x27;s what&#x27;s going to happen, but I can imagine that Daniel Stenberg had a nasty pang in his heart when he heard about libcrurl&#x27;s curl implementation.<p>[disclaimer: I&#x27;m an ex googler that did some work on chrome while never being part of the chrome team, I don&#x27;t think I know any of the involved people]
评论 #20223828 未加载
shereadsthenewsalmost 6 years ago
Only hacker news can impute so much malice into the plans of an intern. If she can really disrupt free software in only 12 weeks then good for her I guess.
评论 #20223762 未加载
Sir_Cmpwnalmost 6 years ago
If Google is just hoping to get their new protocols implemented in something curl-like, they ought to implement them in curl and send it upstream.<p>However, it&#x27;s totally fine to provide several implementations of the same API. If it applies to Oracle&#x27;s Java then it applies to Daniel&#x27;s curl, even if we like one more than the other.<p>HOWEVER, that name has got to change. If an unambiguous pronunciation is not evident then it comes off as a deliberate attempt to muddy the waters and capture mindshare of an open source project.
tyingqalmost 6 years ago
Somewhat related, the reason curl is called curl: <a href="https:&#x2F;&#x2F;ec.haxx.se&#x2F;curl-name.html" rel="nofollow">https:&#x2F;&#x2F;ec.haxx.se&#x2F;curl-name.html</a>
评论 #20222612 未加载
评论 #20227314 未加载
AdmiralAsshatalmost 6 years ago
&quot;libcrurl&quot; seems tailor-made to cause confusion.<p>If they wanted to follow usual fork&#x2F;clean-room-implementation alternative norms, they could use some kind of synonym for &quot;curl&quot; such that the intent is clear without being infringing.<p>Suggestions:<p>- libcoil<p>- libtwist<p>- libcrimp<p>- libswirl
pdkl95almost 6 years ago
&gt; pretty strong indication that their API will not be fully compatible<p>If the compatibility problems are from an incomplete implementation of the API, it will simply be an inferior inferior implementation, perhaps optimized for different uses or environments.<p>However,if the incompatibility is from an <i>extension</i> of the API introduced after initially <i>embracing</i> the <i>de facto</i> standard set by te widely-used original implementation that is outside their control, it will be a clear example of the Embrace, Extend, Extinguish[2] method. The canonical example of EEE is when Microsoft introduced an incompatible &quot;security feature&quot; in their implementation of Kerberos. Hopefully, Google won&#x27;t do the same thing to HTTP with a new and supposedly-important &quot;security feature&quot; in their re-implementation of libcurl.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Embrace,_extend,_and_extinguish" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Embrace,_extend,_and_extinguis...</a><p>[2] <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20140222133423&#x2F;http:&#x2F;&#x2F;www.networkworld.com&#x2F;news&#x2F;2000&#x2F;0511kerberos.html" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20140222133423&#x2F;http:&#x2F;&#x2F;www.networ...</a>
klagermkiialmost 6 years ago
Does this mean that QUIC and other protocols implemented by Chrome will be available through this Google library? That would be a benefit over existing cURL.
评论 #20222552 未加载
peterwwillisalmost 6 years ago
Back when I forked and redesigned an embedded network analysis and packet dumping tool, I did not change one letter in the name. I gave it a completely different name, and credited the original author, even after 95% of the original code was changed.<p>The purpose was twofold: 1) respect to the original author whose ideas and work made it easy for me to attempt this project, and 2) I didn&#x27;t want my bastardized horrible code to reflect on the original project or cause confusion.<p>Curl is the most widely used HTTP request tool outside of a browser. Calling your fork of it &quot;crurl&quot; is like forking &quot;Linux&quot; and calling it &quot;Linox&quot;. This is a dick move.
carlsborgalmost 6 years ago
Dear Google Chrome Folks,<p>Please rename your library.<p>Thanks
评论 #20222297 未加载
评论 #20222282 未加载
评论 #20222481 未加载
评论 #20222599 未加载
评论 #20222431 未加载
评论 #20222764 未加载
评论 #20222874 未加载
评论 #20223006 未加载
评论 #20228238 未加载
评论 #20223537 未加载
评论 #20222651 未加载
ptahalmost 6 years ago
Embrace, Extend and Extinguish
tempodoxalmost 6 years ago
A Google-copyrighted network library will make sure that Google users will only see Google-authorized parts of the Internet.
kerkeslageralmost 6 years ago
The stated reasoning behind this seems pretty vague to me, and this follows an increasingly common business pattern in the software industry: clone or fork an existing free software solution, and then fund it massively so that it pulls ahead of the original free software.<p>In the most extreme cases, i.e. FreeBSD-&gt;MacOSX, the free software is replaced by software under a non-free license. If there is mention of how libcrurl will be licensed, I missed it, but there&#x27;s actually a subtler attack on free software which has happened with i.e. GCC-&gt;Clang or Konqueror-&gt;Safari&#x2F;Chrome. What makes this attack subtle is that it allows companies to release under a free license, while not actually making any commitment to a free ecosystem. By providing massive amounts of funding and manpower to these projects, large companies can ensure that their version of the software remains dominant, and they get to choose what to include and exclude. This has predictable results: breaks in support for related free software[1] and pressuring the introduction of non-free components even in otherwise free browsers[2] after people have committed to the new, corporately-controlled platform.<p>As noted, I don&#x27;t know what license this will be released under, or how this power will be used if they supersede the original curl tool. I&#x27;m just saying that projects like this should be seen as attacks on free software and viewed with suspicion.<p>[1] <a href="https:&#x2F;&#x2F;bugs.kde.org&#x2F;show_bug.cgi?id=365327" rel="nofollow">https:&#x2F;&#x2F;bugs.kde.org&#x2F;show_bug.cgi?id=365327</a><p>[2] <a href="https:&#x2F;&#x2F;blog.mozilla.org&#x2F;blog&#x2F;2013&#x2F;10&#x2F;30&#x2F;video-interoperability-on-the-web-gets-a-boost-from-ciscos-h-264-codec&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.mozilla.org&#x2F;blog&#x2F;2013&#x2F;10&#x2F;30&#x2F;video-interoperabil...</a> (note: OpenH264 is free as in beer not free as in freedom, a.k.a. gratis not libre).
评论 #20223377 未加载