< 返回版块

Mike Tang 发表于 2019-11-07 12:02

作者觉得 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?”

https://about.houqp.me/posts/rusty-c/

评论区

写评论

还没有评论

1 共 0 条评论, 1 页