FAK - A declarative keyboard firmware based on Nickel #1667
semickolon
started this conversation in
Show and tell
Replies: 1 comment 3 replies
-
The evaluation time gets slow though. Up to 5s in complex configs. The C compilation step happens in less than a second, so the code generation step takes the longest. I wonder if there's anything I can do to improve the perf right now, or maybe this is something being actively worked on. Also, I second incremental eval! Keymap tinkerers like to tweak small parts of their config after initial setup and boilerplate. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://github.com/semickolon/fak
Just wanted to share that I'm glad I chose Nickel for my keyboard firmware project. It's perfect for my use case!
Basically, in FAK, Nickel is the code generator. The configs become C code. The C code is not human-readable for the most part, especially the bitwise keycodes, so there has to be a config abstraction layer. Also, the typing and contracts are awesome so invalid configs don't even compile at all.
Beta Was this translation helpful? Give feedback.
All reactions