How Nested Functions Work, part 2

Walter Bright newshound1 at digitalmars.com
Wed Sep 23 14:44:50 PDT 2009


Jeremie Pelletier wrote:
> Walter Bright wrote:
>> Jeremie Pelletier wrote:
>>> Those new and better ways of doing things in programming languages 
>>> might imply semantics some programmers are not willing to use, and 
>>> would rather keep their older language and implement their own 
>>> version of that feature themselves, pure C will always dominate in 
>>> that in my opinion since I can't think of anything in the language 
>>> itself that generate calls to runtime methods,
>>
>> There are several things that do - things like floating point 
>> conversions, long division, etc.
> 
> Aren't those just part of the generated machine code? I mean the 
> compiler does not add calls to symbols which need to be resolved in the 
> runtime library.

No, they are calls to functions in the runtime library. All C compilers 
I know of do this.



More information about the Digitalmars-d mailing list