If I can not get the "hello world" program running less than ten lines, your fancy framework or programming language is dead to me.
Conversation
Notices
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Wednesday, 19-Feb-2025 21:49:54 JST nixCraft 🐧
-
Marijke Luttekes (mahryekuh@fosstodon.org)'s status on Wednesday, 19-Feb-2025 21:51:57 JST Marijke Luttekes
@nixCraft I’m just here for the popcorn. 🍿
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Wednesday, 19-Feb-2025 21:51:57 JST nixCraft 🐧
@mahryekuh old habits die hard 😂
-
Rin3d (rin3d@mastodon.social)'s status on Wednesday, 19-Feb-2025 22:59:16 JST Rin3d
@nixCraft are macros allowed?
-
Gilbert Pilz (gpilz@mastodon.social)'s status on Wednesday, 19-Feb-2025 23:01:30 JST Gilbert Pilz
@nixCraft That's a weird and arbitrary statement. Heavy frameworks exist because they save you from having to write a lot of code. Of course they don't make sense if you aren't doing the things that the framework is designed to do. I wouldn't use a huge truck to run errands around town but neither would I try to haul a load of cinder block in a Mini Cooper.
-
Psylent (psylent@mastodon.social)'s status on Thursday, 20-Feb-2025 07:38:17 JST Psylent
@nixCraft Almost.. I guess ASM is no good then 🤷 🤷
section .data
message db "Hello, World!", 0xA
msg_len equ $ - message
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, message
mov rdx, msg_len
syscall
mov rax, 60
xor rdi, rdi
syscall
-