Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Safety of casting from 'long' to 'int' Date: Fri, 08 May 2026 15:12:38 -0700 Organization: A noiseless patient Spider Lines: 34 Message-ID: <86cxz5tusp.fsf@linuxsc.com> References: <10su8cn$am9i$1@dont-email.me> <10thrud$1v1r3$1@dont-email.me> <10tibhl$ba1$1@reader1.panix.com> <86y0hvt1kz.fsf@linuxsc.com> <10tkvvk$e93$2@reader1.panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Fri, 08 May 2026 22:12:39 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3407938"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1811d6TUCiVVrNlSe+ltgh32dc2F3UXSyA="; posting-host="12a84863e630bdf33525bc8ffa10a418" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:ajq3DX4RqxwqM8sHVJbP/5TkpKk= sha1:kYVTZC8cjF06er8a0xN6sDTRslk= sha256:bkvsocFUyZTz+8iifPLtslkkGuTpWCPSfuYkYW+jOCQ= sha1:ZtVg1ItezD93ceCNBQGGtMufFYE= Xref: csiph.com comp.lang.c:398542 cross@spitfire.i.gajendra.net (Dan Cross) writes: > In article <86y0hvt1kz.fsf@linuxsc.com>, > Tim Rentsch wrote: > >> cross@spitfire.i.gajendra.net (Dan Cross) writes: >> >>> In article <10thrud$1v1r3$1@dont-email.me>, Bart wrote: >>> >>>> On 07/05/2026 04:02, Dan Cross wrote: >>>> >>>>> I dunno, how about a written description of this language of >>>>> yours and its semantics? >>>> >>>> https://github.com/sal55/langs/tree/master/MLanguage >>>> >>>> (Against my better judgement, as I can't imagine any circumstances >>>> in which you are going to have anything positive to say about it, >>>> it will be just be fuel for more cutting remarks.) >>> >>> I like that it is expression-oriented. It was clearly inspired >>> by (at least) ML, which is a sound basis for a language design. >> >> What makes you think the language was inspired by ML? I >> didn't notice any resemblance. > > In retrospect, I think it was mostly superficial similarities in > syntax. `func foo(n) = ... end` is visually similar to > `fun foo n = ...`. > > But I think I was too quick to assume a connection, and that > that it is just coincidence. Yes, after reading your other posting I see what happened.