wood burning stoves 2.0*
The moose likes Java in General and the fly likes Hello world contest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Hello world contest" Watch "Hello world contest" New topic
Author

Hello world contest

Alok Pota
Ranch Hand

Joined: Mar 07, 2001
Posts: 185
or those of you who were at the meeting, you heard me announce the
"Hello World Contest". I am outlining the contest rules and prize
below. This contest is open to anyone and everyone.
Objective: Write the traditional "Hello World!" program using the least
number of bytecodes possible. (We will look a the size of your .class
file). The minimum size is at least 392 bytes.
Rules:
1. After invoking your application, the text "Hello World!" should be
generated on the console by the application. No other text, either
preceding or succeeding the text should be generated.
2. The application should not generate an Error or Exception or any
subclass instance of either type.
3. The application must run on the jre 1.3.x
4. No changes can be made to the JVM, the bytecode verifier, class
loader, or associated runtime environment
5. Any additional files that are required to run the application
(outside of those available in the JRE) will be considered part of the
byte count.
6. Do the work yourself - no copying any portion of anyone else's
program or best practice, asking anyone for help, etc.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
> or those of you who were at the meeting
What meeting?
And what's this about a "prize below"? It looks suspiciously like you're copying this from somewhere else, but if someone provides a clever answer here, they don't have the necessary info to claim the prize - only you can do that. Which doesn't seem exactly fair...
> The minimum size is at least 392 bytes
??? So what, if someone manages to make a smaller class file than that, it's disqualified?


"I'm not back." - Bill Harding, Twister
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
We will be better-off if we get rid of this garbage.
Alok Pota
Ranch Hand

Joined: Mar 07, 2001
Posts: 185

For those of you who were at the meeting, you heard me announce the
"Hello World Contest". I am outlining the contest rules and prize
below. This contest is open to anyone and everyone.
Objective: Write the traditional "Hello World!" program using the least
number of bytecodes possible. (We will look a the size of your .class
file). The minimum size is at least 392 bytes.
Rules:
1. After invoking your application, the text "Hello World!" should be
generated on the console by the application. No other text, either
preceding or succeeding the text should be generated.
2. The application should not generate an Error or Exception or any
subclass instance of either type.
3. The application must run on the jre 1.3.x
4. No changes can be made to the JVM, the bytecode verifier, class
loader, or associated runtime environment
5. Any additional files that are required to run the application
(outside of those available in the JRE) will be considered part of the
byte count.
6. Do the work yourself - no copying any portion of anyone else's
program or best practice, asking anyone for help, etc.
Entries:
1. All entries must be submitted to me (croach@middleware-company.com)
before the December Social. I will need the '.class' and '.java' file.
Judging:
Judging will be done by Clay, and the rest of the Austin JUG board. Any
ties will be decided by a trivia question.
Grand Prize:
1 entry to the Lone Star Software Symposium (a $595 value) http://www.completeprogrammer.net/lsss/index.htm

Good Luck!
Clay Roach
croach@middleware-company.com
The Middleware Company www.middleware-company.com
We built TheServerSide.com
Alok Pota
Ranch Hand

Joined: Mar 07, 2001
Posts: 185
This is an AUSTIN-JUG announcement. The aim of the contest is to create the least possible byte code. I don't see how that is garbage?. This is a legit contest.
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Originally posted by Alok Pota:
1. All entries must be submitted to me (croach@middleware-company.com)before the December Social. I will need the '.class' and '.java' file.

Umm, ahh, when is the December social?

------------------
Dave
Sun Certified Programmer for the Java� 2 Platform


Dave
Aj Manch
Ranch Hand

Joined: May 07, 2001
Posts: 50
Still how did they come up with 392 bytes as the minimum?
dan moore
Ranch Hand

Joined: Nov 04, 2001
Posts: 68
for anyone attempting the challenge, check out http://www.helper.demon.co.uk/rheolism/ for some tips and methodology.
cheers, dan.


dan moore, infomatiq ltd.<br />email dan@infomatiq.co.uk<br /><a href="http://www.infomatiq.co.uk" target="_blank" rel="nofollow">http://www.infomatiq.co.uk</a>
 
wood burning stoves
 
subject: Hello world contest
 
Similar Threads
question about java import
nosuchmethoderror
stand alone
What Platform/Java Technology - Please Help
Required jars in Axis2 libraries?