4 ms·
An Ownership/Borrowing system like the one Rust uses? Rust is sadly not (yet) able to use its stricter rules about ownership and aliasing for optimization, beca
by muldvarp 6y ago
An Ownership/Borrowing system like the one Rust uses? Rust is sadly not (yet) able to use its stricter rules about ownership and aliasing for optimization, because the LLVM backend has been shown to have a number of bugs that prevent such optimizations.
Sadly, I'm not that knowledgeable on optimization. Do you expect that such optimizations would make most programs significantly faster or is it more of a special case that would not improve the performance of most programs?
Keep up the good work with D. I especially love its template/metaprogramming capabilities!
- WalterBright 6y ago> Do you expect that such optimizations would make most programs significantly faster or is it more of a special case that would not improve the performance of most programs? I don't know because I have no personal experience with such. What I have to go on is the Fortran vs C/C++ experience I mentioned.