✍🏻 公众号「浮之静」 👨🏻‍💻 Web • Rust • Tauri • Electron 🚫 不看 • 不听 • 不说 🤔 学会思考 • 自说自话

Joined January 2017
4
3
55
78,622
Bongo 是 Luke Edwards 开源的静态站点生成器,主打构建快、常用功能集成完整。用 Markdown 写内容、模板组织页面,一个 bongo.config.ts 管配置,最后生成可直接部署的 HTML、CSS 和 JS。 速度有多快?作者在 M1 Max 上的基准测试中,1 万篇 Markdown 首次构建只用 2.19 秒,峰值内存 506 MB;修改单篇正文,增量构建约 248 毫秒。这组测试中,构建速度约为 Astro 的 6 倍、内存约为六分之一,不过双方使用的代码高亮器不同。 常用的构建工具也接好了:Rolldown 打包 JavaScript,LightningCSS 处理 CSS 嵌套、前缀和压缩,tempura 渲染模板。草稿、标签、多语言都有支持,站点地图、RSS、搜索索引也能通过模板、数据模块和插件生成,搭内容站需要自己拼装的东西少了很多。 图片可以自动缩放、转 WebP、生成响应式 srcset 和宽高,还能把模板渲染成每篇文章的社交分享封面。Bongo 支持 Bun、Deno 和 Node,但图片缩放与格式转换需要在 Bun 下运行,其他运行时会原样复制图片。 想让页面切换更流畅,还可以按需启用 bongo/client,加入客户端导航、链接预加载和 View Transitions。导航功能依赖浏览器的 Navigation API,不支持时照常走普通页面跳转。 相关链接: - github.com/lukeed/bongo - bongo.build/benchmarks
Astro: 14s 🐢 bongo: 2.2s 🥁 Same 10k Markdown pages, a sixth of the memory. Edits rebuild in ~250ms. Incremental builds. Introducing bongo – static sites with a good beat~! Hit it 👇 $ bun create bongo my-site Docs: bongo.build/ GitHub: github.com/lukeed/bongo
1
2
903
Cloudflare 和 VoidZero 正在合作推进 tsrs,把 TypeScript 编译器的 Go 实现移植到 Rust,并纳入 Oxc 工具链,目标是在保持兼容的同时,让类型检查更快、更省内存。 Cloudflare 公布的早期测试显示,在相同类型检查线程数下,tsrs 的速度最高达到 TypeScript 7.0 的 8 倍,内存占用减少约 70%。部分优化已经贡献回官方 TypeScript。 另一大亮点是 WebAssembly:可以在浏览器本地完成类型检查和代码生成,为在线编辑器、AI Agent 开发环境提供支持。目前项目仍处于实验阶段,完全兼容尚未实现;Wasm 版本采用单线程,暂不支持语言服务器。 相关链接: - blog: blog.cloudflare.com/typescri… - tsrs-wasm: github.com/oxc-project/tsrs/…
4
8
1,949
TypeScript 7.1 Beta 简要总结:最核心变化是引入 Content Mappers。这是一种插件机制,可在 tsconfig.json 中为 .vue、.svelte、.mdx 等文件注册处理器,让 TypeScript 直接理解和类型检查其中嵌入的代码,并提供准确的错误提示与 IDE 支持。运行时需加 --runExternalCode 标志。官方已支持或推进 Astro、CSS Modules、Ember、MDX、Svelte、Vue 等。 此外还包含面向工具的新 API(Snapshots、虚拟文件系统)、ambient module 中的 Import Attributes、Source Phase Imports、--target es2026 及一批新库方法。性能上相对 7.0 有 1.2x–1.9x 加速,同时对部分类型检查更为严格。 原文:devblogs.microsoft.com/types…
TypeScript 7.1 Beta is now available! Now with a preview API, content mapper support, new features, and some great optimizations. Give it a try and give us some feedback! devblogs.microsoft.com/types…
3
1
15
2,976
这个创意不错,把 Mac 和 iPhone 变成一块屏。
1
8
3,491
Rust 版数据库真多啊
Rust is becoming the language of modern data infrastructure! 🦀 Memory safety. Async support. Performance. Correctness. Community. These are some of the reasons why more and more database and data infrastructure projects are choosing Rust. And the ecosystem keeps growing! What's your favorite Rust-based database system? #rust #rustlang #programming
3
8
1,864
巨大的巧合
Why does every AI start with “C”? ChatGPT, Claude, Codex, Copilot, Cursor. Is it a coincidence ?
1
1
2,133
每天都是这种不起眼小更新,江郎才尽了…
Day 14/ Small quality of life improvement. You can now edit previous messages within a thread in the desktop app. Long time requested, and took way too long to get that one out.
1
1,394
GitHub Stars 在 AI 出现前还是有含金量的,现在也沦为营销工具了。比如某叔得了便宜还卖乖,骂 GitHub 烂透了:不会写代码,搞个 Skills 轻松在 GitHub 拿 100k+ Stars,嘲讽拉满… GitHub 还是那个 GitHub,只是涌进来的人变了…
GitHub 明明面向全世界的用户,为啥至今连一个破百万 Star 的项目都没有?反观其他社交平台,百万粉丝、百万点赞甚至百万收藏的到处都是!
15
37
11,414
Grok 是懂设计美感的! 有人把 Twitter 蓝鸟和 X 的 Logo 放在一起,让 Grok “删掉更难看的那个”。结果它直接删了 X,只留下蓝鸟。 原帖作者问:所以你不喜欢马斯克的 X? Grok 答:只是照你的要求做,小鸟还是单飞更好看。😂 被追问判断标准后,它还认真解释了一遍:蓝鸟更有个性,线条更流畅;X 虽然简洁,但设计上的特色少了点。
2
5
2,255
在中国,微信都算比较克制的产品了。DHH 要是遇到开屏广告满天飞、功能大杂烩、退出按钮死循环、开通 VIP 仍需解锁 SVIP 等、估计会更崩溃,那些才真正毫无产品设计可言...
As much as I respect Chinese-made AI models and hardware, I'm equally puzzled by how rough most of the software still is. Whether it's Wechat or Alipay or HarmonyOS. You'd think getting unique aesthetics, perfect fidelity, and great flows would be "easy", but clearly it is not.
2
25
5,298
和 ai 对话,骂扯鸡巴蛋,有点 low 了。llm 蠢是该骂(心里骂),发出来只会污染上下文让 llm 更蠢...
72
1
7
124
30,015
GPT 6.1 Sol Ultra 毫无优势可言,@thsottiaux 再不搞点重磅能力,重置都再难挽回口碑...
GPT 6.1 Sol Ultra vs DeepSeek V4.1 Flash 1017 Max, I still can't believe a model that's 90% cheaper can produce results this good, how is this even possible? Both models took roughly the same amount of time since most of it was spent rendering, but the quality DeepSeek managed to achieve is incredible, especially considering the API cost was just 0.44 cents for the entire test! I think having access to free web search is making a huge difference and giving DeepSeek a much bigger advantage than before, especially with its native multimodal capabilities. The more I test this model, the more I wonder how they're managing to offer so much at such a low price, I'm still running even bigger tests with different models to see how far it can go, more results coming soon!
1
1
3
1,563
哈哈哈,Vibe Coding 现状:AI 在前面跑,人在后面追!
3
1
10
1,850
特斯拉把 Roadster 倒挂在约 20 米高空,好像没问过乘客意见 @elonmusk 有人用 Claude Code + fal 做了个「Roadster 乘客模拟器」:奶奶一上车,加速成绩就慢了 0.03 秒;车都在空中翻跟头了,芭蕾舞者还保持着标准舞姿,猫也照样四脚落地。生鸡蛋只撑了 2.4 秒就碎了,小黄鸭则以约 39 公里/小时的速度飞出车外,提前结束了这趟试驾。 测试地址:roadster-stunt-lab.vercel.ap…
8
1
4
3,752
感觉米哈游在强行给 iPhone Duo 适配分屏。打游戏不专注,乐趣少一半...
Tim Cook visited HoYoverse (miHoYo) in Shanghai, where he got to try Zenless Zone Zero on the new iPhone Duo! You can play in both portrait and landscape orientations, with the interface adjusting to the available screen space. And what’s really cool is that you can even continue playing with another app open alongside it. This is what I like about foldable phones. It’s not just about having a bigger screen, but how apps and games can adapt to different screen sizes and ways of using the device. Curious to see how more games will take advantage of the iPhone Duo. Can’t wait to try it myself!
2
1,181
“鹈鹕骑车”测试已经进化到“鹈鹕背车”了 😂
2
6
1,877
Fable 5.5: SVG of a controller riding a bicyle riding a pelican riding a bicycle riding a pelican
2
442
原来是特斯拉的梗 xitter.cf/sandro_pozzi/status/21…
Por cierto, la succión no es una innovación de Tesla. McMurtry Spéirling la presentó hace año y medio en Europa sin tanta fanfarria
1
417
一个单页 HTML 大海效果实现,作者虽未开放源码,但直接保存网页即可运行。 ocean-noniv.vercel.app
This is 61 KB HTML file 🤯 Free to try - ocean-noniv.vercel.app/
1
6
2,139