V
Vijay Kumar R Zanvar
Hi clc,
I want to know few examples of freestanding environments.
I want to know few examples of freestanding environments.
Vijay Kumar R Zanvar said:I want to know few examples of freestanding environments.
In said:I want to know few examples of freestanding environments.
Martin Dickopp said:Martin ( <-- that's my name, /not/ an example of a freestanding
environment)
Christopher Benson-Manica said:Well, you don't walk with a cane, do you?
Then you're freestanding![]()
Dan said:Any high end microwave oven, washing machine, TV set etc etc.
Your computer's keyboard, your computer's hard disk, your computer's OS
(and very likely your computer's monitor and graphics card).
Practically any computing environment that is not under the control of an
operating system is a freestanding environment.
In said:Cell phones, microwave ovens, washing machines, VCRs, DVD players...
In said:... and as a particular example, the operating system itself
is usually a freestanding environment.
Any high end microwave oven, washing machine, TV set etc etc.
In said:Your favourite mistake at work again: high end microwave ovens and
washing machines need not be freestanding environments, for the simple
reason that they can be (and are) programmed in languages other than C
where the term "freestanding environment" isn't defined.
Martin Dickopp said:Neither do I, nor does my name.
But I'm not an environment,
Dan Pop said:In <[email protected]> Martin Dickopp
Freestanding environment is a general concept, that has precious little
to do with one programming language or another. Ditto for hosted
environment.
Freestanding environment is a general concept, that has precious little
to do with one programming language or another. Ditto for hosted
environment.
And an executable binary is an executable binary, regardless of the
language(s) it was written in, before being translated to an executable
binary.
Try engaging your brain next time!
Dan said:Any particular point in repeating my own example?
In said:Ahem.
This is comp.lang.c. If someone asks about "freestanding
environments" in this newsgroup, it's reasonable to assume that the
question is about the C programming language, especially since the C99
standard defines the term "freestanding implementation" in section 4,
paragraph 6 (and the C90 standard defines the same term in section 4,
paragraph 2). (I assumed you already knew that, since you replied to
the question with useful information without complaining that the
question was off-topic.)
Before telling people to engage their brains, you might pause to
consider the possibility that they already have.
In said:Well, I'd apply context here (which due to the description
of comp.lang.c is ISO C):
The question is relevant to C programming, even if it is not about the
C programming language. The C standard itself mentions the concept of
"freestanding environment", without elaborating on it, hence the OP's
question about concrete examples was legit. And a freestanding
environment is still a freestanding environment even if no C
implementation exists for it...
We were talking about "freestanding environment", not about "freestanding
implementation", which is something completely different.
If you engage your brain, you may realise the difference...
In said:Ok, you're at least partly correct. I had missed section 5.1.2,
"Execution environments", which defines the terms "freestanding
environment" and "hosted environment".
But since "freestanding environment" is a term defined by the C
standard, I'm not convinced that a freestanding environment (in the
sense that the term should be used in this newsgroup) can exist in the
absence of a C implementation. There can be non-C freestanding
environments, just as the term "byte" can have a non-C meaning that
may or may not match the C definition, but when we talk about "bytes"
and "freestanding environments" here it should be with the
understanding that we're using the terms as they're defined in the C
standard.
Certainly there's a difference, but I'd say there's a strong link
between a "freestanding implementation" and a "freestanding
environment" (and likewise for "hosted"). Off the top of my head, I'd
say that a freestanding implementation provides a freestanding
(runtime) environment. That statement may be imprecise or even wrong,
so take it with a grain of salt.
<OT>
On a personal note, I'm getting really tired of the "engage your
brain" taunts.
I don't expect you to do anything about it, but I just had to mention it.
</OT>
Keith Thompson said:(e-mail address removed) (Dan Pop) writes:
<OT>
On a personal note, I'm getting really tired of the "engage your
brain" taunts. I don't expect you to do anything about it, but I just
had to mention it.
</OT>
You'd better take the advice seriously, instead of being tired of it.
If you (realistically) don't expect me to do anything about it, what's
the point in mentioning it?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.