Conversation
Notices
-
Verius (verius@community.highlandarrow.com)'s status on Sunday, 04-Feb-2018 06:08:07 EST Verius
ThisĀ https://github.com/dotnet/coreclr/blob/master/Documentation/botr/intro-to-clr.md is a quite interesting read. And it got me thinking of the marketing of Rust. As the doc rightly mentions non-trivial programs often have hard-to-predict lifetimes. Rust's famous memory guarantees are very dependent on static understanding of lifetime. Now I don't claim to fully understand Rust but as far as I can see it only provides a partial solution to memory safety (for variables with statically determined lifetimes, though at zero runtime overhead) where GC provides a full solution (though at an overhead that varies between insignificant and crippling depending on workload and performance targets). Meanwhile GC is waaaay easier to program with, which actually matters a great deal out there in the real world where your coders might not be the best and the brightest.