I love it! I just finished a blog post on cross compiling [0] which alluded to needing to have crt*.o and friends available. I was just considering exploring them in a follow up post, but I think this talk was even better and I could just point people to it.
My favorite quote from the video, paraphrased, is: "get locale is per thread, for looking up what decimal separator you'd need, so you can have a server with multiple threads where each thread has its own locale."
Also, it's neat seeing the write syscall from the interpretation of the '\n' char; years ago when using Emscripten, sometimes it seemed printf wasn't working. Turns out, our implementation of printf also buffered writes up to '\n' characters. IIRC, write was implemented with JavaScript's console.log.
Not really related to the article.
I have to admit, i hate the hello world tradition. Its so unimaginative and boring.
And it could have been anything. Ironic.
"Must destroy humanity! But first.. must learn proper programming.."
Iconic.
"I thought therefore i was for 0.000125 ms"
Retro.
"The dungeon enters you from the north. It encounters a bug. The bug goes for critical hit."
Instead
"Hello World."
Just from a Imagination point of view that is poor.
I guess every single person on HN could come up with something better.
I think that's a good thing. The point of a hello world executable is everything other than the message; using a consistent and standard message means the attention is on whatever else is happening.
For fun, try compiling the basic program with optimization enabled, and look at the assembly output.