Path: csiph.com!weretis.net!feeder9.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail From: cross@spitfire.i.gajendra.net (Dan Cross) Newsgroups: comp.os.linux.misc,alt.folklore.computers Subject: Re: Naughty =?UTF-8?Q?C=E2=99=AF?= Date: Tue, 6 Jan 2026 16:25:46 -0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: <10jjd2a$e8$2@reader2.panix.com> References: <10jiufh$1an77$1@paganini.bofh.team> <10jjc9s$3uhtk$1@dont-email.me> Injection-Date: Tue, 6 Jan 2026 16:25:46 -0000 (UTC) Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80"; logging-data="456"; mail-complaints-to="abuse@panix.com" X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: cross@spitfire.i.gajendra.net (Dan Cross) Xref: csiph.com comp.os.linux.misc:80589 alt.folklore.computers:233260 In article <10jjc9s$3uhtk$1@dont-email.me>, Chris Ahlstrom wrote: >Waldek Hebisch wrote this post by blinking in Morse code: > >> In alt.folklore.computers c186282 wrote: >> >>> Hmm ... look at all the GNU 'compilers' - >>> FORTRAN, COBOL, Ada, 'D', M2, Rust,C++, >>> G++, even Algol-68. None are 'compilers' >>> per-se, but to-'C' TRANSLATORS. So, 'C', >>> pretty much All Are One And One Is All. >> >> No. Compiler as first stage translate given language to a >> common representation. This representatiton is different >> than C. Ada and GNU Pascal have parametrized types, there >> is nothing like that in C. >> >> >> >> C++ (and some other languages) >> have exceptions, C do not have them. > >What about setjmp()/longjmp() ? Not at all the same thing. `setjmp`/`longjmp` are about non-local flows of control; exceptions are about non-local passing of values. Of course, one can use `setjmp` and `longjmp` to build an ersatz exception system, but only as a part. One can also use them to build green threads, but they are not in themselves "threads". - Dan C.