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.

Curl is inside 22,734 Steam games

153 pointsby TangerineDream11 months ago

10 comments

codedokode11 months ago
Is curl API that good? It looks a little weird to me, for example, you need to set URL as an &quot;option&quot;, and it is not &quot;optional&quot; despite the name. Wouldn&#x27;t it be better to pass URL and method to &quot;curl_easy_perform&quot; function?<p>Furthermore, it seems to use &quot;set option&quot; function with magic values to control in-memory cookie storage which is even weirder: <a href="https:&#x2F;&#x2F;curl.se&#x2F;libcurl&#x2F;c&#x2F;CURLOPT_COOKIELIST.html" rel="nofollow">https:&#x2F;&#x2F;curl.se&#x2F;libcurl&#x2F;c&#x2F;CURLOPT_COOKIELIST.html</a><p>Also, curl seems to have no built-in function to save data? The user has to implement write callback themselves?<p>Also, regarding options, curl uses a single function for setting options of different types (numbers, booleans, strings) so typing for an option value cannot be used. Is that a good idea? What C developers usually use in such cases?
评论 #40738283 未加载
评论 #40738185 未加载
评论 #40738199 未加载
xyst11 months ago
The author of the blog post is also the original author or cURL.
评论 #40738095 未加载
评论 #40737890 未加载
评论 #40738237 未加载
tinfoilboy11 months ago
I believe CURL is built into Unreal as the HTTP library of choice for desktop platforms. Just to add to the mindboggling number of games that may rely on it.
superlupo11 months ago
And how many of them are donating to or sponsoring the cURL project?
评论 #40738174 未加载
评论 #40738245 未加载
评论 #40741718 未加载
csmeyer11 months ago
This post (just thinking of use of Unix tools within game software) reminds me of that bug a few years back within steam itself that accidentally deleted user’s root directories<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;qzZLvw2AdvM?si=F-Aq9Ha_GKEZH006" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;qzZLvw2AdvM?si=F-Aq9Ha_GKEZH006</a>
flerchin11 months ago
Curl is great! Stenberg and other maintainers should be proud.
lkdfjlkdfjlg11 months ago
Seriously question. What makes curl so special? Couldn&#x27;t the same be said e.g. for wget?
评论 #40737763 未加载
评论 #40737617 未加载
评论 #40737594 未加载
评论 #40737816 未加载
评论 #40737952 未加载
评论 #40737701 未加载
评论 #40737607 未加载
评论 #40737924 未加载
评论 #40737881 未加载
thoronton11 months ago
<a href="https:&#x2F;&#x2F;xkcd.com&#x2F;2347&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;2347&#x2F;</a>
Pulcinella11 months ago
3 Billion devices run Java (disparaging).<p>22,734 games utilize Curl (glorifying).
评论 #40738171 未加载
评论 #40747348 未加载
评论 #40738699 未加载
dijit11 months ago
Now check OpenSSL.<p>Ubiquity does not always equate to quality, sadly.<p>But curl is better than anything you could reasonably develop yourself in C++.
评论 #40737866 未加载
评论 #40738246 未加载