Holi Labs
1 分钟 QR

为什么 Holi QR 保留一个小型 Rust 核心

把经过测试的 QR 逻辑放在 Rust 中,同时让浏览器行为和界面留在 TypeScript 的决策指南。

#qr #rust #wasm
目录
合理边界 保留 Rust 的门槛 不应随之扩张的部分 验证

Holi QR 的编码核心有真实网页使用方,因此一个小型 Rust 模块是合理的。这并不意味着整个应用都应该迁移到 Rust。

合理边界

结构应保持为“纯核心 + 薄适配器”:Rust 负责确定性编码和矩阵生成;WASM 只转换浏览器友好的值;TypeScript 负责文件、剪贴板、画布、状态、无障碍和界面。

保留 Rust 的门槛

核心必须保持小型、经过单元测试,并在浏览器中覆盖。任何性能优势都应通过当前浏览器和硬件上的可复现基准证明,同时计入包体和初始化成本。

不应随之扩张的部分

CLI、TUI 或公开 Rust 包不会自动产生价值。只有存在实际用户和发布用途时才添加这些表面。

验证

对照已知 QR 固件比较输出,测试 WASM 边界,检查错误信息,并确保 TypeScript 回退或失败状态仍然可用。

上一篇 编写用户能够验证的隐私标签 下一篇 如何公平比较 WASM 与 JavaScript

本地偏好

设置

这些偏好仅保存在此浏览器中,无需账户。

外观

主题 应用于此设备

导航

首页 Holi.tools 文章
会话 无需账户 · 本地偏好

当前 v0.6.0

版本

让 Holi 持续可用

支持独立工具

捐赠用于支付托管和开发费用,同时不强制要求账户或远程存储。

联系
v0.6.0 2026-09-02
  • Defined Tutorials, Field notes, Experiments, and Papers as formats in one Holi Labs publication
  • Added a localized Papers collection with a subtle crane category mark across all seven languages
  • Added format filters and the axolotl identity while preserving one shared library and privacy shell
v0.5.0 2026-09-02
  • Extended the Labs library shell, privacy summary, search, filters, and article routes to all seven Holi languages
  • Localized the shared product dock and removed its unstable outer glow
  • Kept code blocks, URLs, file paths, and technical product names intact across translated tutorials
v0.4.0 2026-09-02
  • Rebuilt Labs as a practical library with featured reading, search, category filters, and reading time
  • Published seven complete English and Spanish tutorials, guides, and engineering notes
  • Added coherent light and dark Labs palettes and limited public routes to fully translated locales
v0.3.0 2026-09-02
  • Unified Configuration, Versions, and Privacy in the shared Holi product dock
  • Added local theme and language preferences plus Labs navigation inside Configuration
  • Placed donations, support, and the visible Shadow Log inside Versions
v0.2.1 2026-09-02
  • Separated privacy and Version Log into left and right floating controls
  • Moved privacy facts into a dedicated glass drawer
v0.2.0 2026-09-02
  • Added a visible privacy summary to experiment, article, and tag pages
  • Made the current version and Shadow Log available throughout Labs
  • Reframed Labs as a research publication rather than a product backlog
v0.1.1 2026-01-12
  • Added English and Spanish routes
  • Synchronized the content collection
  • Improved stability
v0.1.0 2026-01-12
  • Created the first Labs content collection
  • Published initial graphics and performance notes

隐私概览

隐私摘要

阅读和导出文章不会向 Holi 提交个人文件。Cloudflare 可能看到你的 IP 和访问时间。

内容
Labs 发布静态文章,不会请求你的本地文档。
导出
复制摘要以及生成 Markdown 或打印输出均在浏览器中完成。
托管
Cloudflare 可能处理 IP、时间、请求路径、流量和路由数据。
外部链接
捐赠、支持和外部来源只会在你主动选择时打开。

关于

Holi Labs

前沿研究、WebGPU 实验与技术论文。

浏览 Holi.tools

捐赠

捐赠

如果 Holi.tools 对你有帮助,可以在这里支持持续开发:

GitHub Sponsors Ko-fi

支持与建议

支持与建议

如需支持、报告错误或提出建议:

电子邮件 [email protected] GitHub Issues

源代码: https://github.com/HugoAndresAmayaChairez/holi.tools