From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: Intervention needed? Date: Tue, 19 Mar 2019 15:26:50 -0700 Organization: A noiseless patient Spider Message-ID: <87zhpq33h1.fsf@nightsong.com> References: <6e1977a5-701e-4b4f-a937-a1b89d9127f0@googlegroups.com> <6f9ea847-2903-48c8-9afc-930201f2765a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="fae3a525a353552e1467f1269cb4ae18"; logging-data="17642"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OM+Rw/iqEXqOSxkRCc0k2" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:rVbOgknmZ9rbZojCo5xANNLnXik= sha1:lKUHKVqTsKI6x+IMqvz5At4qi5E= Xref: reader01.eternal-september.org comp.lang.ada:55902 Date: 2019-03-19T15:26:50-07:00 List-Id: "Randy Brukardt" writes: > Rust... You can't build a cursor that way (nor a doubly-linked > list). Perhaps the Rust people have gone beyond simple borrow > semantics -- I don't know. I did a little web searching and it does seem to me that as of a year or so ago, the way to make doubly linked lists in Rust was to call some kind of unchecked library. I'd like to know how it's done in ATS, and I might ask on a Rust chat if it's still like that in Rust. I think it might be a serious issue for Rust, since one of Rust's driving applications was web browsers. Those build DOM trees where nodes point to both their children and their parent, so the tree is full of cycles.