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 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/09/07 Message-ID: <6t18af$p83$1@Starbase.NeoSoft.COM>#1/1 X-Deja-AN: 388765932 References: <0095000017115526000002L062*@MHS> <6ss8cc$qrl@web.nmti.com> <6ssnp9$6pv$1@Starbase.NeoSoft.COM> <6svdad$ggd@web.nmti.com> Organization: NeoSoft, Inc. +1 713 968 5800 Newsgroups: comp.os.vms,comp.sys.dec,comp.lang.c Oh, well you should have said that then... In article <6svdad$ggd@web.nmti.com>, Peter da Silva wrote: >In article <6ssnp9$6pv$1@Starbase.NeoSoft.COM>, >Jordan Henderson wrote: >>In article <6ss8cc$qrl@web.nmti.com>, >>Peter da Silva wrote: >>>In article <6sac4v$4ti$1@Starbase.NeoSoft.COM>, >>>Jordan Henderson wrote: >>>>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". > >>>In a "hosted" implemantation that's true, but not in an "embedded" one. If >>>you're messing around at this level you're not worried about the normal >>>C runtime, are you? I mean, that's the point. > >>I'm perplexed. What is it exactly from the above are you saying is true >>for a "hosted" implementation, but not in an "embedded" one? > >Hmmm. I seem to have misquoted your message. The part I was responding >to was this: > >> 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? > >Basically, I think that the distinction between a hosted and embedded >implementation is a good place to start. > I still don't have the Standard document at hand, but does it clearly say that non-hosted systems cannot have command line arguments? I know that VRTX (and probably lots of other) real-time OS's allow you to write programs that have command lines (they implement exec(), so you have to have arguments). What exactly is the difference between hosted and non-hosted environments? Even if command line arguments are not supported in non-hosted environments, I have the string constants to fall back on for my claim that nul-terminated strings are a "feature" of the language. So, if you attempt to draw the line at hosted/non-hosted => core/extensions you still have to allow nul-terminated strings in as part of the core and not just a "convention". >-- >In hoc signo hack, Peter da Silva > `-_-' "If Microsoft don't think you need it, it's not there and there's no > 'U` way to include it yourself." -- Geoff Lane, a.s.r.