What is Nostr?
翠星石 /
npub1x2v…ar98
2025-03-16 12:26:20

翠星石 on Nostr: nekonomicon Pawlicker 🔧 >Using a optionally weakly licensed libc (MIT expat) that ...

nekonomicon (nprofile…r8am) Pawlicker 🔧 (nprofile…nvyk) >Using a optionally weakly licensed libc (MIT expat) that requires loading the whole bloated Linux (rather than just GNU Hurd or GRUB's kernel).
Just write in assembly with no libc at that stage;
Buffer: db 'Hello World!',0xA
BufferSize: equ $-Buffer

section .text
global _start

_start:
mov edi, 1 ;stdout
mov rsi, Buffer
mov rdx, BufferSize
mov eax, 1 ;sys_write
syscall

exit: mov eax, 60 ;sys_exit
xor edi, edi ;return 0
syscall

(nasm assembles it into 8.8KiB and you can't do much better than that).
Author Public Key
npub1x2vc8gu0kj2slcujhkd2y684k32e2zhzn78d2quea4tajn9ql2pqqjar98