today @ag_dubs and I are pair-programming and TDDing a new vga driver for @intermezzOSrs
-
-
Replying to @steveklabnik
it is kinda awesome/ridiculous that you can TDD a driver. like, it is clearly not impossible, but at the same time, not usually done?
4 replies 3 retweets 16 likes -
Replying to @steveklabnik
https://github.com/intermezzOS/vga/blob/master/tests/vga.rs#L25 … dependency injection/mocking: can pass in a pointer to a vec/array for tests, but pass in 0xb8000 in the kernel
1 reply 2 retweets 6 likes -
Replying to @steveklabnik
Also if you're reading this code yes that won't actually print hello, due to half the bytes being about color codes. Getting there!
1 reply 0 retweets 3 likes -
Replying to @steveklabnik
(And so the buffer is only half-sized yadda yadda)
2 replies 0 retweets 0 likes -
-
Replying to @sgrif
I ALWAYS forget this
2 replies 0 retweets 1 like -
Would probably save time if we just compiled a list of things clippy *doesn't* have a lint for. ;)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.