Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm a D expat using and managing Rust now. Do I miss D, yes. The D syntax is so beautiful and easy to follow. D code was always plastic, except there's just too many attrs @safe, @system, @oh-god-what-next that don't play well with each other.

However, the runtime - not so much. I didn't complain much. We rewrote all of our core utils written in D (and many in C++) to Rust. No more null. Yes it took a while to onboard everyone to Rust, but hey, there's been zero production downtime since we migrated. Crazy compile times with Rust (compared to D), but we are happy with production runtimes!

Rust is what D should've been, but it's crazy verbose! I can live with that and I do love Rust.



> D code was always plastic, except there's just too many attrs @safe, @system, @oh-god-what-next that don't play well with each other.

Rust has the same problem, kinda, `#[derive(Debug, Clone)]` spam everywhere for example..

I think D can still catch up, Enum/Tuple/Option are relatively easy to implement, competition is growing however, even for Rust

I much prefer nullable in Zig for example




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: