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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Kibi – A text editor in less than 1024 lines of code, written in Rust

20 点作者 jkstill6 个月前

3 条评论

mananaysiempre6 个月前
In case the reference is not clear, the name is likely a callback to antirez’s Kilo[1], an editor in &lt;1000 lines of C.<p>[1] <a href="http:&#x2F;&#x2F;antirez.com&#x2F;news&#x2F;108" rel="nofollow">http:&#x2F;&#x2F;antirez.com&#x2F;news&#x2F;108</a>
skavi6 个月前
<a href="https:&#x2F;&#x2F;github.com&#x2F;ilai-deutel&#x2F;kibi">https:&#x2F;&#x2F;github.com&#x2F;ilai-deutel&#x2F;kibi</a><p>the repo is here btw. i appreciate that the dependency tree is appropriately minimal. also impressive how many comments are included in the source. maybe they’re not counted towards the LOC?
评论 #42122352 未加载
James_K6 个月前
<p><pre><code> &#x2F;tmp&#x2F;kibi % cloc . 98 text files. 89 unique files. 11 files ignored. github.com&#x2F;AlDanial&#x2F;cloc v 1.96 T=0.05 s (1936.6 files&#x2F;s, 82405.1 lines&#x2F;s) ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- Rust 15 241 379 1480 Markdown 5 179 22 502 INI 50 3 20 388 YAML 10 36 21 281 XML 1 0 1 62 TOML 3 10 1 57 Bourne Shell 1 13 8 46 JSON 2 0 0 31 Dockerfile 1 2 0 3 SVG 1 0 0 1 ------------------------------------------------------------------------------- SUM: 89 484 452 2851 ------------------------------------------------------------------------------- </code></pre> I&#x27;m not sure if this counts as less than 1024.
评论 #42122245 未加载
评论 #42122211 未加载
评论 #42122203 未加载