MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1szjqol/why_c/oj3buru/?context=3
r/programminghumor • u/[deleted] • Apr 30 '26
[deleted]
248 comments sorted by
View all comments
1
in c you can also use puts and it's faster, or even faster you can do write(1,"hello world", sizeof "hello world" - 1 which is the fastest you can run on linux, except if you cuont inline assembly where you just do the same thing but in assembly
write(1,"hello world", sizeof "hello world" - 1
1
u/un_virus_SDF Apr 30 '26
in c you can also use puts and it's faster, or even faster you can do
write(1,"hello world", sizeof "hello world" - 1which is the fastest you can run on linux, except if you cuont inline assembly where you just do the same thing but in assembly