News for hackers. Stuff that matters.
Re:Hello World Executable Sizes in 18 Languages by aniketh on Wednesday January 28, 2009 @08:06AM (#453705)
don't forget you would have to add a shebang line to make it truly executable
Re:Hello World Executable Sizes in 18 Languages by smcdow on Wednesday January 28, 2009 @03:41PM (#454511)
Not really:

$ echo 'echo $0' > 'Hello, world!' $ chmod +x 'Hello, world!' $ 'Hello, world!' Hello, world! $ wc 'Hello, World!' 1 2 8 Hello, world!

8 bytes. I think that's probably as small as you can get.

Re:Hello World Executable Sizes in 18 Languages by smcdow on Wednesday January 28, 2009 @03:43PM (#454526)
Oh, brother, formatting.<p> <pre> $ echo 'echo $0' > 'Hello, world!' $ chmod +x 'Hello, world!' $ 'Hello, world!' Hello, world! $ wc 'Hello, World!' 1 2 8 Hello, world! </pre>