D enters Tiobe top 20

drug drug2004 at bk.ru
Wed Nov 6 09:40:29 UTC 2019

On 11/6/19 8:02 AM, Walter Bright wrote:
> I'm going to speculate that Rust is a bit like pure functional 
> programming. It's a great paradigm, but is inconvenient for that last 
> mile of the code one needs to write. I've struggled with getting that 
> last mile done with other languages (Pascal), and it would consume an 
> inordinate amount of time.

I like your simile. Some developers complain that working with hardware 
in Rust means huge amount of unsafe code. The last mile in Rust can be 
really difficult.

> This is why D has "pure" functions. You can slip in and out of 
> functional programming as you like.
> I'm working on an ownership/borrowing system for D. But the idea is it 
> will only be active in functions marked as @live.

For example in Rust it's very hard to implement tree where nodes can 
point to both its parent and children because in trivial case both 
parent and child node are borrow each other that is impossible in Rust.

More information about the Digitalmars-d mailing list