Article View: comp.lang.c
Article #1877Re: C and its pesent 'ancestos'
From: Bonita Montero
Date: Thu, 26 Nov 2026 18:15
Date: Thu, 26 Nov 2026 18:15
46 lines
4765 bytes
4765 bytes
Am 26.11.2026 um 19:10 schrieb Ross Finlayson: > (Of course above there where I wrote "signed char" that's wrong, > since it's defined by the implementation or usually compiler switches, > then about the "... and decltype" then also is "the const and > non-constness what whether you mean const or not or just in/out", > that, you know, "in or out" is one of the usual things, vis-a-vis > that const is more than less a hint, that the compiler can enforce > while consumers ignore. I rather don't care whether char is signed > or unsigned or what is its default, yet that in accounts like > the processor instructions about compare whether they exist for > both signed and unsigned, pretty much don't care as a suitable > type would be used instead, that "char" just happens to be the > most common type of expected C-strings in any sys-call expecting > a C-string or array of C-strings.) > > So, the idea is that called-functions need some unknown amount of > memory, that basically they get from the caller-function, who in > its stack & heap, may be responsible for itself and its > called-functions, basically usually looking to put its locals on the > stack while it's yet a reasonable account of how much stack-memory a > long-lived thread, for example, may have, then that both stack & heap > together are "storage" as far as the language cares, yet visible for > scope & state in the process & thread as far as the runtime/host > cares, then about CPU & RAM memory as far as the processor cares. > > "Close to the hardware", then, and "in the language", is to be making > for both "not too close" (to the least addressible unit of memory) > and "not too far" (from the account of proximity and distance in > memory), of the combined scope & state of the CPU (it can see all > the registers), combined scope & state of the RAM (it's one contiguous > name-space of memory), and block- and function- scoped account of > thread- and process- state, and vice-versa, process- and thread-scope, > and function- and block-state. > > Then, "placement-new" is the account of C++ for the lifecycle of objects > giving them a place to live, about this "carving" (allocating) > and "imbedding" or "inlaying" (free'ing), where the idea is that > there's a usual account where C++'s is not apropos and Rust's > "borr-w-checking pointer-stealers" is not apropos, yet that can be in > C and "in the language" and "strongly-typed", with a brief account > of reference routines after abstracting away standard libraries > with "glo-calls" then for "sys-calls", where an account of "state & > scope" then means never having to ask for a buffer because the > caller's responsible for providing one (or getting more). Tell me, do you have a teaching assignment here ?
Technical Details
Message-ID:
<11e9t0q$u41k$1@raubtier-asyl.eternal-september.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mailReferences:
<11dup6q$v4j9$1@dont-email.me> <11e0kde$1jpvu$1@dont-email.me> <11e0r13$1lqm6$1@dont-email.me> <11e0uc0$1mtpv$1@raubtier-asyl.eternal-september.org> <11e7fj4$37l9$1@dont-email.me> <11e8oro$ft4l$1@raubtier-asyl.eternal-september.org> <11e8stp$hajr$1@dont-email.me> <11e8ti0$hhqa$1@dont-email.me> <11e8v24$i2mc$2@raubtier-asyl.eternal-september.org> <11e9045$ihk3$1@dont-email.me> <11e90j7$io87$1@raubtier-asyl.eternal-september.org> <0oSdnUooBKya15X2nZ2dnZfqn_udnZ2d@giganews.com> <11e9lje$qt1s$1@raubtier-asyl.eternal-september.org> <tJqcnayyjasu_JX2nZ2dnZfqnPGdnZ2d@giganews.com> <ZLKcnezYXoNE-JX2nZ2dnZfqn_SdnZ2d@giganews.com> <DJGcnZFULfeg65X2nZ2dnZfqnPqdnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail From: Bonita Montero <Bonita.Montero@gmail.com> Newsgroups: comp.lang.c Subject: Re: C and its pesent 'ancestos' Date: Thu, 26 Nov 2026 19:15:55 +0100 Organization: A noiseless patient Spider Lines: 46 Message-ID: <11e9t0q$u41k$1@raubtier-asyl.eternal-september.org> References: <11dup6q$v4j9$1@dont-email.me> <11e0kde$1jpvu$1@dont-email.me> <11e0r13$1lqm6$1@dont-email.me> <11e0uc0$1mtpv$1@raubtier-asyl.eternal-september.org> <11e7fj4$37l9$1@dont-email.me> <11e8oro$ft4l$1@raubtier-asyl.eternal-september.org> <11e8stp$hajr$1@dont-email.me> <11e8ti0$hhqa$1@dont-email.me> <11e8v24$i2mc$2@raubtier-asyl.eternal-september.org> <11e9045$ihk3$1@dont-email.me> <11e90j7$io87$1@raubtier-asyl.eternal-september.org> <0oSdnUooBKya15X2nZ2dnZfqn_udnZ2d@giganews.com> <11e9lje$qt1s$1@raubtier-asyl.eternal-september.org> <tJqcnayyjasu_JX2nZ2dnZfqnPGdnZ2d@giganews.com> <ZLKcnezYXoNE-JX2nZ2dnZfqn_SdnZ2d@giganews.com> <DJGcnZFULfeg65X2nZ2dnZfqnPqdnZ2d@giganews.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 26 Nov 2026 18:15:54 +0000 (UTC) Injection-Info: raubtier-asyl.eternal-september.org; logging-data="987188"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cQHmlAZ0wpPr73xtWaswhxUHLGJXN93A="; posting-host="b5d0c6a64d4561e46edbb7a5c64af4ef" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:yxW/TWaaa4+xFfMbqVJvCwlzNMY= sha256:TkDxGAkl1lHqsIylc51u3iWmpB+dAQPhF+sbXxNW0CM= sha1:Hg2EK9sLCy+TbLjnw9KvCbfa8Fs= sha256:iJEgOTUu9l82nmYLVcf+1nG6BUPe2/MdQYuWmVatIz4= Content-Language: de-DE In-Reply-To: <DJGcnZFULfeg65X2nZ2dnZfqnPqdnZ2d@giganews.com>