<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">On Apr 9, 2021, 2:55 PM -0400, Aruna Hewapathirane <aruna.hewapathirane@gmail.com>, wrote:</div>
<blockquote style="border-left-color: rgb(26, 188, 156); margin: 5px; padding-left: 10px; border-left-width: thin; border-left-style: solid;">This is simply an attempt to inform and educate ( i am not trying to start any flame wars ). This article I feel describes aptly why C will not go away.<br />
<a href="https://drewdevault.com/2019/03/25/Rust-is-not-a-good-C-replacement.html" target="_blank">https://drewdevault.com/2019/03/25/Rust-is-not-a-good-C-replacement.html</a> <br />
Thanks - Aruna ::</blockquote>
<div dir="auto"><br />
Thanks, Aruna. It’s a good article. I don’t necessarily agree with all the premises, nor conclusions - most particularly the “we don’t need no parallelism” part - but there is legitimacy in the argument that Rust is more a C++ replacement than a C replacement.<br />
<br />
I think the lifetime analysis is a game-changer. I’d much rather program in Rust, even with the “cruft” than in C (for the record I have written C compilers and have well over 100K lines of C code under my belt), because I think the safety and concurrency are critically important. Go is interesting, but has never caught my interest, partly because it has a garbage collector (not that I have a problem with garbage collection…. just if I’m going to use a GC’ed language I have a lot better options than Go).<br />
<br />
Perhaps the eventual C replacement is a stripped-down Rust - lifetimes, type inference, safety + concurrency, but not much more.</div>
</div>
<div name="messageSignatureSection"><br />
<div class="matchFont">../Dave</div>
</div>
</body>
</html>