作者觉得 Rust 的宏太好用了。
How to make your C codebase rusty: rewriting keyboard firmware keymap in Rust
Recently, my colleague introduced me to QMK 1, an open-source keyboard firmware. Like many non-trivia C projects, macro is heavily used everywhere, especially in keymap files 2. It didn’t bother me much since I have been programming C for many years. But I kept thinking to myself, “what would it look like if I can start from scratch and redesign everything using Rust’s more powerful macro system?”
1
共 0 条评论, 1 页
评论区
写评论还没有评论