Re:Programming in D
by nja on Sunday May 12, 2013 @10:56AM
(#5694463)
Do you think you can go into more detail on what you've found to be better in D vs Rust?
[ Parent
| on HN ]
Re:Programming in D
by steveklabnik on Sunday May 12, 2013 @03:03PM
(#5695417)
My D is rusty by now (ha!), but one thing is how different their macro system is.
The biggest thing that D is better at is having been around for a much longer time. There's way more docs and users.
I find D to be much less complex than Rust. Rust, even now, is woefully incomplete. Take the 'rust' tool for instance, see how many bugs you can find just in the flags that you can pass to it!
(it's a substantial amount... or it just decides to break conventions, which dmd did also with it's '-offilename' type flags.)
Rust is also harder to learn, and it seems (to me) to also be more difficult to use C libraries from Rust than D. I cut my teeth on D by creating a few bindings, and I really struggle to do the same in Rust.
Just my experiences...
PS - Rereading this it occurs to me that D is probably just as complex as Rust, but it 'feels' less complex due to syntax familiarity.