TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Cosmopolitan Libc v2.0

210 点作者 Orochikaku将近 3 年前

12 条评论

boris将近 3 年前
&gt; You should use &#x2F;c&#x2F;... paths on Windows rather than C:&#x2F;...<p>This is the start of the realization that building C&#x2F;C++ on Windows is only the beginning of the pain. Once you are past that, there is a multitude of semantic differences like paths, CRLF, the fact that file move is not atomic, the fact that an opened file cannot be removed (e.g. because Windows Defender or some other BLODA is scanning it), etc, etc. It&#x27;s a death by a thousand papercuts. My suggestion is to avoid supporting Windows at any cost.
评论 #32530917 未加载
评论 #32530969 未加载
评论 #32532807 未加载
fourfourthree将近 3 年前
&gt; We&#x27;ve polyfilled the OpenBSD pledge() and unveil() system calls for Linux. You can now use these APIs in your C&#x2F;C++&#x2F;Python&#x2F;Redbean programs, or you can use the new pledge.com command to sandbox your existing Linux userspace.<p>&gt; This change boosts SSL handshake performance from 2,627 to ~10,000 per second which is the same level of performance as NGINX at establishing secure connections.<p>I&#x27;m continuously impressed by how much functionality is baked in and the quality. Fantastic work.
grimgrin将近 3 年前
If you&#x27;re here and maybe learning about this space for the first time (or not), you might like to scan:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;shmup&#x2F;awesome-cosmopolitan" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;shmup&#x2F;awesome-cosmopolitan</a>
kitd将近 3 年前
Congrats!<p>From &quot;Getting started&quot;:<p><i>build&#x2F;bootstrap&#x2F;make.com -j8</i><p>Lol, do I take it that make.com is built with Cosmopolitan? If so, that&#x27;s a nice demo of its purpose! Just download and run.
评论 #32530518 未加载
matheusmoreira将近 3 年前
I love it when I see this project here. Congratulations on the 2.0 release!<p>&gt; You can now use Actually Portable Python by building o&#x2F;&#x2F;third_party&#x2F;python&#x2F;python.com<p>Okay that is seriously amazing.
stephc_int13将近 3 年前
There is a strong need for a good, modern and well maintained cross-platform C&#x2F;C++ libc.<p>I am not sure about the APE executable format, it is a nice and technically impressive feature but I would not mind if the lib dropped the support for it in the future.<p>This might be a minor issue for some, but I do not like having to distribute a .com file, it look suspicious.<p>Overall, this is fantastic work, very useful and inspiring, the kind of project that could help to fuel a C based apps renaissance.
评论 #32532368 未加载
setheron将近 3 年前
Is there is there a good deep dive explaining how the actual portable executable works? The original blog post is kind of light on the details.
评论 #32531847 未加载
评论 #32532885 未加载
jeremyjh将近 3 年前
Very cool! Is there a way to make a single executable file with the python build and our own python script files?
评论 #32531853 未加载
dwheeler将近 3 年前
Does it support ARM as well as x86? I don&#x27;t see anything about that.
评论 #32532501 未加载
parasti将近 3 年前
Hoping for someone to implement the missing %f scanf directive.
intelVISA将近 3 年前
&gt; Binfmt_misc support for Linux users<p>You love to see it.
3np将近 3 年前
Dupe <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32518089" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32518089</a>
评论 #32530987 未加载