behind "hello world" on Linux https://jvns.ca/blog/2023/08/03/behind--hello-world/

Reply to this note

Please Login to reply.

Discussion

I'd love suggestions for additions to this one, ESPECIALLY if they include a way to showcase another cool Linux spy tool

nostr:npub1upkp7fd7rc3lrjg23r8gy0wc723vze7mxlx5984ut6zurjzpf5xss4tcwy How can you tell what the magic numbers are for a file type? Is it always just the extension name?

really appreciate all of the comments/additions/corrections on this "behind hello world" post, would still welcome more. I think the main thing I want to add is a little more about terminals/file descriptors but I haven't figured out how to spy on the internals of how all that works in a useful way.

nostr:npub1upkp7fd7rc3lrjg23r8gy0wc723vze7mxlx5984ut6zurjzpf5xss4tcwy Thanks for this post. I would really love to see a complementary post: 'Behind "write()" on Linux': system calls, despatch to device, device drivers, UARTs and terminal windows, ...

Of course, 'write()' is a huge topic, but just restrict it to 'write (1, "Hello World", 12)'

Thanks!

PS: thanks for all the wonderful blogs and zines!

nostr:npub1upkp7fd7rc3lrjg23r8gy0wc723vze7mxlx5984ut6zurjzpf5xss4tcwy really neat deep-dive on process execution; I kinda know vaguely things in that area but not nearly to this specificity. So I don't have anything to add as far as additional tooling, but as a teeny "proofreading" contribution, I noticed a small typo on the 4th-ish paragraph of item 6: an extra "it" in the "All of this is happening..." sentence.

Hello and welcome 🍀 have a great time on Nostr 🦩🫡