2 ms·
For those writing embedded firmware, one of the subpoints of a talk I did recently (about a rust dev kit for the Nintendo 64) was that you want to avoid a stand
by monocasa 8y ago
For those writing embedded firmware, one of the subpoints of a talk I did recently (about a rust dev kit for the Nintendo 64) was that you want to avoid a standard model where in C and C++ you might have most of your code in a static library and build the executable as a second step. Instead you really want all of your code including your asm in rust source files so it's as painless as possible to generate an LTOed binary. I had binary sizes go from ~1MB to about ~70KB. Rust really depends on LTO if you care about binary size.
- StrangeDoctor 8y agoWas this talk recorded anywhere? it sounds really interesting.
- monocasa 8y agoNo, unfortunately. I really just need to take the content and stick it in a blog, but life gets in the way...
- naikrovek 8y agoSo kick life's ass, tell it to back off, and blog that info somewhere! It would be good info for the rest of us, and it would be great if you could chronicle that stuff. (Don't tell Life I said to kick it's ass, please. It will crush me.)
- RobotCaleb 8y agoHi! I think I was at your talk. In Denver? I asked about emulation.
- monocasa 8y agoHey! Yeah, that was me. Sorry for being so rambley; I hope that you still enjoyed it. https://github.com/n64dev/cen64 https://github.com/n64dev/cen64 is the emulator that I use