News for hackers. Stuff that matters.
Re:Hello World Executable Sizes in 18 Languages by gertburger on Wednesday January 28, 2009 @02:30AM (#453473)
It seem like the author does not differentiate between compiled (To machine code) and (To intermediate/byte code). Does that mean the pyc(114 bytes on my machine) generated by python for 'print "Hello world"' can be compared to the others?

It is still interesting though.

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>