[OT] What are D's values?
jfondren
julian.fondren at gmail.com
Tue Oct 5 20:00:42 UTC 2021
On Tuesday, 5 October 2021 at 17:53:46 UTC, H. S. Teoh wrote:
> This is particularly powerful in UFCS chains: if you had to
> implement the UFCS chain in C, for example, you'd have to
> rewrite a whole bunch of types, variable declarations, etc.,
> every time you need to do something like insert a new component
> into the chain, or reorder the chain. That makes refactoring
> the equivalent code in C an onerous task,
This is all great, but C is too weak a competitor for it to be
persuasive to someone who needs persuading.
Here's a remark on brittleness in Rust:
>I’ve seen this many times in Rust: I write a large chunk of code
>being a little careless about lifetimes, just to then have to
>change the types of my variables and functions everywhere in my
>program to avoid having to clone() things everywhere to make it
>work.
from
https://renato.athaydes.com/posts/how-to-write-slow-rust-code.html
More information about the Digitalmars-d
mailing list