Re: [9fans] The first annual "Hello, World" challenge

2009-08-19 Thread andrey mirtchovski
> What the Fuck?!?! What kind of lunix did that? Fedora 11

Re: [9fans] The first annual "Hello, World" challenge

2009-08-19 Thread Uriel
On Tue, Aug 18, 2009 at 8:53 PM, andrey mirtchovski wrote: > also, i discovered something new today: > > "... decided to link everything dynamically. To enforce this (allmost) > all static libraries are removed (or not even build)..." > > $ gcc t.c -static > /usr/bin/ld: cannot find -lc > collect2:

Re: [9fans] The first annual "Hello, World" challenge

2009-08-18 Thread LiteStar numnums
What, no HQ9+? H Having "Hello, world!" as a semantic & syntactic element in the language serves as the ridiculous part... On Tue, Aug 18, 2009 at 8:25 PM, Abhishek Kulkarni wrote: > > > On Tue, Aug 18, 2009 at 11:26 AM, ron minnich wrote: > >> See this: http://www.wxwidgets.org/docs/tutorials

Re: [9fans] The first annual "Hello, World" challenge

2009-08-18 Thread Abhishek Kulkarni
On Tue, Aug 18, 2009 at 11:26 AM, ron minnich wrote: > See this: http://www.wxwidgets.org/docs/tutorials/hworld2.txt > > Well, they just seem to keep getting longer. > > Your goal: hello, world in one line. Language of your choice. Linking > in a 512 MB library is a violation of the spirit of thi

Re: [9fans] The first annual "Hello, World" challenge

2009-08-18 Thread James Tomaschke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 andrey mirtchovski wrote: > i have some variations on a theme: > > linux, i386: main() { syscall(4, 1, "hello world\n", 12); } (~6KB > dynamically linked) > linux, x86: main() { syscall(1, 1, "hello world\n", 12); } (~6KB, 4KB > stripped; 2.4megs stat

Re: [9fans] The first annual "Hello, World" challenge

2009-08-18 Thread andrey mirtchovski
i have some variations on a theme: linux, i386: main() { syscall(4, 1, "hello world\n", 12); } (~6KB dynamically linked) linux, x86: main() { syscall(1, 1, "hello world\n", 12); } (~6KB, 4KB stripped; 2.4megs statically linked, 400KB statically linked and stripped) p9, shell: % syscall write 1 'h

Re: [9fans] The first annual "Hello, World" challenge

2009-08-18 Thread John Floren
In rc: % window 'echo hello world; sleep 5' It's probably against the spirit, but hey, it fits on a Hollerith card! Technically. In C, the quickest thing I came up with using draw is: #include #include #include void main(void) { initdraw(0, 0, "hello"); string(screen, addpt(P

Re: [9fans] The first annual "Hello, World" challenge

2009-08-18 Thread erik quanstrom
> Your goal: hello, world in one line. Language of your choice. Linking > in a 512 MB library is a violation of the spirit of this contest. > > Additional rules: > - line length is not defined but let's be reasonable > - if you can fit it in a standard Hollerith card format (72 chars plus > 8 char