Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!sdcc6!mbongo!djohnson From: djohnson@mbongo.ucsd.edu (Darin Johnson) Newsgroups: comp.sys.amiga.programmer Subject: Re: 20 byte "Hello World" program. Message-ID: <17098@sdcc6.ucsd.edu> Date: 1 Mar 91 06:41:34 GMT References: <45932@nigel.ee.udel.edu> Sender: news@sdcc6.ucsd.edu Organization: CSE Dept., UC San Diego Lines: 27 Nntp-Posting-Host: mbongo.ucsd.edu In article dillon@overload.Berkeley.CA.US (Matthew Dillon) writes: > > How about somebody post a 20MB "Hello World" program instead !8-) OK, I don't have a 20MB one, but I had a 10MB one. Unfortunately, I haven't figured out how to get past rn without complaints (If I can't get hello-world below 10MB, you expect me to be able to figure out rn?) And for you purists out there, the entire thing was coded in assembler, except for those routines in Ada for which the extra size was important. The algorithm roughly ran as follows: 1) Name the program "hello-world". 2) Include the string "xyzzy" as a string in the program. 3) Implement a file-system handler and disk-driver, making full use of Ada rendezvous and exception handling facilities. 4) Now search the file system for the "xyzzy" string. 5) When found, back up through the data block list until you find the directory header. 6) From the directory header, copy the name of the file onto the output, changing '-' to ' '. 7) print a return, along with a system traceback. -- Darin Johnson djohnson@ucsd.edu - Political correctness is Turing undecidable.