Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #2055
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end |
|---|---|
| From | Kaz Kylheku <157-073-9834@kylheku.com> |
| Newsgroups | comp.compilers |
| Subject | Re: language design after Algol 60, was Add nested-function support |
| Date | Tue, 10 Apr 2018 18:38:52 +0000 (UTC) |
| Organization | Aioe.org NNTP Server |
| Lines | 21 |
| Sender | news@iecc.com |
| Approved | comp.compilers@iecc.com |
| Message-ID | <18-04-036@comp.compilers> (permalink) |
| References | <18-04-029@comp.compilers> |
| Injection-Info | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="61525"; mail-complaints-to="abuse@iecc.com" |
| Keywords | C, design |
| Posted-Date | 11 Apr 2018 13:22:57 EDT |
| X-submission-address | compilers@iecc.com |
| X-moderator-address | compilers-request@iecc.com |
| X-FAQ-and-archives | http://compilers.iecc.com |
| Xref | csiph.com comp.compilers:2055 |
Show key headers only | View raw
On 2018-04-10, Martin Ward <martin@gkc.org.uk> wrote: > Yet, for all that complexity, "C combines the power of assembly language > with the flexibility of assembley language"! Not so; C provides no portable way to inspect the stack or machine registers. Writing a precisely-tracing garbage collector which can look for root pointers in the stack is possible in assembly language; only a conservative approach is feasible in anything remotely resembling portable C. Assembly languages are predictable; for instance, they have defined behaviors on integer overflow. Decent quality instruction sets architectures provide ways to catch an exception in a handler which can precisely re-start the program from the faulting point after doing some fixup. Almost anything can be treated in a way that assures safety: illegal instruction, division by zero. In assembly languages, a pointer value held in a register doesn't become "indeterminate" just because it was passed to some free()-like function. (And other such nonsense fictions.)
Back to comp.compilers | Previous | Next — Previous in thread | Find similar
Re: language design after Algol 60, was Add nested-function support Martin Ward <martin@gkc.org.uk> - 2018-04-10 16:11 +0100
Re: language design after Algol 60, was Add nested-function support "Derek M. Jones" <derek@_NOSPAM_knosof.co.uk> - 2018-04-10 16:56 +0100
Re: language design after Algol 60, was Add nested-function support anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2018-04-10 16:04 +0000
Re: language design after Algol 60, was Add nested-function support "Derek M. Jones" <derek@_NOSPAM_knosof.co.uk> - 2018-04-10 23:14 +0100
Re: language design after Algol 60, was Add nested-function support Martin Ward <martin@gkc.org.uk> - 2018-04-13 13:55 +0100
Re: language design after Algol 60, was Add nested-function support Gene Wirchenko <genew@telus.net> - 2018-04-10 11:04 -0700
Re: language design after Algol 60, was Add nested-function support Kaz Kylheku <157-073-9834@kylheku.com> - 2018-04-10 18:38 +0000
csiph-web