News for hackers. Stuff that matters.
Re:How to make your C codebase Rusty: rewriting keyboard fir... by cdirkx on Thursday November 21, 2019 @06:10PM (#21600775)
Also, normally the array in Rust would also be a constant, with the keyword `const` instead of `static`: the reason it is static however, is so the C program can access it.
Re:How to make your C codebase Rusty: rewriting keyboard fir... by petschge on Thursday November 21, 2019 @07:24PM (#21601266)
I don't mind the const vs static. I mind just about everything else.