From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Ada vs. Rust for low level system software Date: Tue, 12 Dec 2023 22:28:40 -0600 Organization: A noiseless patient Spider Message-ID: Reply-To: nma@12000.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 13 Dec 2023 04:28:41 -0000 (UTC) Injection-Info: dont-email.me; posting-host="e2a3a31bbf26129b522e058138646c78"; logging-data="48127"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199wvtvPGqiLt/9E03sLOAy" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Cancel-Lock: sha1:vFpnGLSf4oAriGMLZUTsSXXMoY0= Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:65910 List-Id: Has anyone made study of difference between Rust and Ada for low level hardware system software? Since Ada is mainly used in this area, why has Rust, which is much younger language, and target this same area has gained so much popularity but not Ada? https://dl.acm.org/doi/fullHtml/10.1145/3551349.3559494 "Rust is a rising programming language designed to build system software [4, 10, 20]. On the one hand, Rust offers access to and control of the low-level system resources. On the other hand, unlike conventional systems programming languages, Rust ensures memory and concurrency safety" "Rust often inserts bound checks at the execution time to rule out out-of-bound accesses" Well, does not Ada also "ensures memory and concurrency safety" and checks for out-of-bound accesses? I am just wondering what does Rust brings to the table that Ada does not have and why is Rust becoming so popular when Ada is not. I never used Rust myself, but used Ada. Any one done study comparing the two languages or knows both that can give some comments on this? --Nasser