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
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/…
Cloudflare is collaborating on tsrs, a Rust port of TypeScript that is up to 8x faster and uses 70% less memory. cfl.re/3Whs9bC
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…
ascii 版鲨鱼
github.com/stackedlol/ascii-…
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
在中国,微信都算比较克制的产品了。DHH 要是遇到开屏广告满天飞、功能大杂烩、退出按钮死循环、开通 VIP 仍需解锁 SVIP 等、估计会更崩溃,那些才真正毫无产品设计可言...
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!
感觉米哈游在强行给 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!
原来是特斯拉的梗
xitter.cf/sandro_pozzi/status/21…
一个单页 HTML 大海效果实现,作者虽未开放源码,但直接保存网页即可运行。
ocean-noniv.vercel.app




























