- 在任意 Postgres Schema 上执行 Migration
链接:https://www.sea-ql.org/blog/2022-11-10-whats-new-in-0.10.x/Regex WASM 优化
https://regex101.com/ 目前没有 Rust 语言的支持,网站维护者在添加时发现很难将 wasm 的大小降低到理想的 <500KB(事实上有接近 3MB)。最新的消息是有人已经做了一些成功的尝试,相关消息和相关讨论可查看这个 Issue:https://github.com/firasdib/Regex101/issues/1208五步使用Arduino C++库
本文详细记录如何在 Rust 项目中使用任何 Arduino 的 C++ 库。步骤包括:
- 准备使用 Rust 编程 Arduino 板的环境
- 创建基于 avr-hal 的 Rust 项目并使 LED 闪烁
- 编译 Arduino SDK 和第三方库,链接到 Rust 工程
文章链接:https://dev.to/kgrech/five-simple-steps-to-use-any-arduino-c-library-in-a-rust-project-1k78嵌入式四步入门
作者发现阅读嵌入式 HAL 文档会很困惑,好像总是在绕圈子。因此有了这么一篇如何浏览嵌入式 HAL 文档的文章,主要分为四个步骤:
文章链接:https://apollolabsblog.hashnode.dev/4-step-primer-on-navigating-embedded-rust-hal-documentation不要再写Rust链表库了
- 不要写 Rust 链表库,它们很难写好,而且通常也没用。
- 使用
VecDeque,如果需要比 VecDeque 更多的功能,使用少数几个实际提供更有用 API 的库之一。
- 如果正在编写自己的数据结构,先检查是不是已经有人做过了,并考虑 slotmap 或 generation_arena(或者可能是 Rc/Arc)。
链表库整理(附带使用建议):https://www.chiark.greenend.org.uk/~ianmdlvl/rc-dlist-deque/文章链接:https://diziet.dreamwidth.org/13476.htmllisp-rs:lisp解释器
一个用 Rust 编写的 Lisp 解释器,并实现了 Scheme 的一个子集。GitHub:https://github.com/long-long-float/lisp-rs
原文作者:Rust语言中文社区;如有侵权,请联系管理员删除。