Re: BDS2006 exe sizes
- From: Ian <ian610@xxxxxxxxxxxxxxxx>
- Date: Thu, 23 Feb 2006 04:54:59 GMT
On Thu, 23 Feb 2006 04:31:02 GMT, Rob Kennedy wrote:
Why is a "hello world" program a meaningful benchmark?
Good question, and I'm going to try to answer it the best way I can.
A "Hello World" program is usually the norm for testing out various
compilers for all types of programming languages, and for starting out
learning a new programming language. It probably dates back to the
1970s when K&R used it as an introductory program in their book "The C
Programming Language". A hello world program is one of the smallest
programs one can use to see how large of an executable the compiler
will produce from that source. As soon as I get my hands on a new
compiler, the first thing I do is test it out using a simple "Hello
World" (or just a bare-bone skeleton program) with disabled Debug info,
Range checks, etc. If the compiler produces a large executable from
such a simple program as those, then they aren't efficient enough in my
book.
.
- Follow-Ups:
- Re: BDS2006 exe sizes
- From: Bruce Roberts
- Re: BDS2006 exe sizes
- From: Hans-Peter Diettrich
- Re: BDS2006 exe sizes
- From: Marco van de Voort
- Re: BDS2006 exe sizes
- From: Nicholas Sherlock
- Re: BDS2006 exe sizes
- References:
- BDS2006 exe sizes
- From: Ian
- Re: BDS2006 exe sizes
- From: Rob Kennedy
- BDS2006 exe sizes
- Prev by Date: Re: BDS2006 exe sizes
- Next by Date: Re: BDS2006 exe sizes
- Previous by thread: Re: BDS2006 exe sizes
- Next by thread: Re: BDS2006 exe sizes
- Index(es):
Relevant Pages
|