From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2afd440a210c7fb0 X-Google-Attributes: gidf7344,public X-Google-Thread: 1014db,6bdc5c27a0dec527,start X-Google-Attributes: gid1014db,public X-Google-Thread: 1164f8,df8a3dc583bf1f5f X-Google-Attributes: gid1164f8,public From: jordan@Starbase.NeoSoft.COM (Jordan Henderson) Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Date: 1998/08/29 Message-ID: <6sac4v$4ti$1@Starbase.NeoSoft.COM>#1/1 X-Deja-AN: 386050786 References: <0095000017115526000002L062*@MHS> <6s17pe$2g8@post.gsfc.nasa.gov> <6s910k$2bo$1@Starbase.NeoSoft.COM> <35e833be.0@news.wizvax.net> Organization: NeoSoft, Inc. +1 713 968 5800 Newsgroups: comp.os.vms,comp.sys.dec,comp.lang.c In article <35e833be.0@news.wizvax.net>, John Wilson wrote: >In article <6s910k$2bo$1@Starbase.NeoSoft.COM>, >Jordan Henderson wrote: >>I remembered that after posting that the compiler does in fact have >>support for a 'nul-terminated string' in it's string constants. There's >>another place as well, command line arguments are supported as nul-terminated >>strings. > >Nitpick: the argc/argv command line arguments *are* set up by the C >runtime library as part of the init code, so they're not part of the >core language itself. But since the C runtime init is normally linked >in without the user's permission or knowledge it *seems* like it's part >of the language. > I have to admit, I don't have the C standard at hand. However, I would be surprised if the standard >required< that command line arguments be setup by something "linked in". I believe that a conforming implementation could have the compiler writing all the code into the user's program necessary to perform this command line argument setup. I believe that a conforming implementation can write the code in-line for any Standard Library call (and optimize based on this in-lining). This seems to me to make the entire Standard Library part of the "core language". I think that, conceptually, the handling of command line arguments is part of the core language. What >is< part of the core language and what is not? And what is your justification for the separation? >John Wilson >D Bit -Jordan Henderson jordan@neosoft.com