4 ms·
> Hello World using putchar(). This is closer to how the computer actually does it deep down inside. Generally putchar is just going to call write anyways, whi
by saagarjha 3y ago
> Hello World using putchar(). This is closer to how the computer actually does it deep down inside.
Generally putchar is just going to call write anyways, which takes a buffer.
Unrelated: seeing 32-bit ARM code for a device that has been 64-bit for years just makes me sad :(
- idrios 3y agoRaspberry Pi Zero-W is 32-bit. Even more unrelated: Uvicorn servers don't run on 32-bit machines as of version 0.19.0
- oso2k 3y agoAlso for this example, it is not unusual, especially for RISC ISAs, to have to or for it to be optimal to count down rather than how we’re taught in CS/EE/CE to count up in loops. RISC machines can often do several interesting things with zero’d registers or flags or conditions.