4,096 bytes
- Renders two words
- Rust
#[no-std]
- Using winuser rendering that's already built into Windows
This was all set in motion by this blog post. If it weren't for this blog post, I wouldn't have even attempted this craziness.
Thanks to Ralith for making the hecs
ECS library and helping me write a #[no_std]
PR for it.
Thanks to Lokathor for explaining to me how broken some #[no_std]
stuff is.
Thanks to Fenrir for the inspired idea to copy rust's libstd's windows allocator code directly.
Last but not least, thanks to mr. bun bun for writing the winapi
crate
and helping me port the libstd's allocator to use its bindings instead of the internal Rust ones.