ç¿ æ˜ŸçŸ³ on Nostr: Pawlicker 🔧 >Try C hello world #include <stdio.h> int main() { printf("Hello, ...
Pawlicker 🔧 (nprofile…nvyk) >Try C hello world
#include <stdio.h>
int main()
{
printf("Hello, world!\n");
}
>gcc main.c
15344 (~15KiB) a.out
>strip a.out
14320 (~14KiB) a.out
(Most of it is just elf segments and dynamic loading instructions, so you can't do much better if you want to keep the fine .note.gnu.property and .gnu.hash).
>gcc -static main.c && ls -lah a.out
769K
Rust, the language of the future.
Published at
2025-03-16 11:57:05Event JSON
{
"id": "0ae0ab6ab50039ee5ec288fd58551ef2b5f0035f5440d3309c8b81adf74ebee7",
"pubkey": "329983a38fb4950fe392bd9aa268f5b455950ae29f8ed50399ed57d94ca0fa82",
"created_at": 1742126225,
"kind": 1,
"tags": [
[
"p",
"95428b26bbdba9c279d4f358468d16ef4616b96fcd1c5a3248b42f357595bc0e",
"wss://relay.mostr.pub"
],
[
"e",
"e5d39e9294aca680efcbd0c611f878698907bc0a18193b123c22d98dc519f95f",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"include"
],
[
"proxy",
"https://freesoftwareextremist.com/objects/aee9603d-cc2c-4a05-990b-6f4abc3ff194",
"activitypub"
]
],
"content": "nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqj4pgkf4mmw5uy7w57dvydrgkaarpdwt0e5w95vjgkshn2av4hs8q7mnvyk \u003eTry C hello world\n#include \u003cstdio.h\u003e\n\nint main()\n\t{\n\tprintf(\"Hello, world!\\n\");\n\t}\n\u003egcc main.c\n15344 (~15KiB) a.out\n\n\u003estrip a.out\n14320 (~14KiB) a.out\n\n(Most of it is just elf segments and dynamic loading instructions, so you can't do much better if you want to keep the fine .note.gnu.property and .gnu.hash).\n\n\u003egcc -static main.c \u0026\u0026 ls -lah a.out \n769K\n\nRust, the language of the future.",
"sig": "49decaac99eb76a6b6c7ca6ef9c20401e821cfc595998f5d6756597d4d0402a711896e15d452367421d0d09c4befa8d893d5faaac61450f720c07d798360f57e"
}