Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: Code size a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 2360 of 2474
Post > Topic >>

Re: Code size as a function of source size

by Sid Touati <SidTouati@[EMAIL PROTECTED] > Apr 22, 2008 at 11:24 AM

J|rgen Bvhm a icrit :
> I would like to pose a very simple question, for which nevertheless I
> could not find an answer through google:
>
>    Of what general type is the dependence of the size of compiled code
> to the size of the respective source code?


The answer depends on the source language, on the source code, on the
compiler (with its version), the applied code optimisation methods,
and in which order, etc.

It is pretty unlikely that we can write a unique precise function
describing the relation****p between source code size and low level
code size that takes into account all the parameters above.

The function you are looking for is not linear at all... unless you use
code translators, not compilers...

Compilers apply may code transformations, while code translators only
generate a valid low level code from a source code: this is the usual
behavior of compilers if you do not turn on any compilation switch.

S.T.
 




 4 Posts in Topic:
Code size as a function of source size
=?ISO-8859-1?Q?J=FCrgen_B  2008-03-12 20:28:20 
Re: Code size as a function of source size
Marco van de Voort <ma  2008-03-14 10:30:09 
Re: Code size as a function of source size
Barry Kelly <barry.j.k  2008-03-14 14:55:39 
Re: Code size as a function of source size
Sid Touati <SidTouati@  2008-04-22 11:24:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:15:21 CDT 2008.