From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 69B001F463 for ; Mon, 30 Dec 2019 03:11:21 +0000 (UTC) Received: from localhost ([::1]:57848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1illSi-0004ss-0z for normalperson@yhbt.net; Sun, 29 Dec 2019 22:11:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50553) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1illSe-0004sH-Ti for bug-gnulib@gnu.org; Sun, 29 Dec 2019 22:11:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1illSd-0007Ij-RB for bug-gnulib@gnu.org; Sun, 29 Dec 2019 22:11:16 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:46394) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1illSd-0007Ep-Lw; Sun, 29 Dec 2019 22:11:15 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A7C84160263; Sun, 29 Dec 2019 19:11:12 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id JEfpcoeu3CbA; Sun, 29 Dec 2019 19:11:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 088B7160502; Sun, 29 Dec 2019 19:11:12 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id d4yPiPwdrL8f; Sun, 29 Dec 2019 19:11:11 -0800 (PST) Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id D20D1160263; Sun, 29 Dec 2019 19:11:11 -0800 (PST) Subject: Re: immutable string type To: =?UTF-8?Q?Tim_R=c3=bchsen?= , Bruno Haible References: <2299371.vStytN2T3e@omega> <569e571e-4d48-821c-1594-3eb30c84106a@gmx.de> <2241193.CIXnYTY7CS@omega> <238f4446-9fb6-363e-9277-6fb1bbad10cf@gmx.de> <287084bb-467d-fe4a-2999-dbb287a0c778@gmx.de> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Sun, 29 Dec 2019 19:11:11 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <287084bb-467d-fe4a-2999-dbb287a0c778@gmx.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-gnulib@gnu.org, Darshit Shah Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" On 12/29/19 11:03 AM, Tim R=C3=BChsen wrote: > A quick web search didn't give me any complaints about immutable in D. > Do you have some examples or can you elaborate a bit ? Sorry, I don't recall the details. But the basic problem I had was that t= he const/mutable/in trichotomy is kinda complicated. Part of the issue is th= at in D one cannot have a const pointer to a mutable int (the D folks think of th= is limitation as a feature).