News for hackers. Stuff that matters.
Re:Ask HN: Why do you use Rust, when D is available? by pjmlp on Saturday June 13, 2020 @03:56AM (#23507705)
Given the choice, I would rather use D, because experience has taught me that tracing GC are a productivy boom, even in systems programming, also D provides all the necessary tooling for doing GC free programming when required to do so.

However it lacks the commitment of a proper roadmap and big corporate support, and that sadly damages its image.

Rust on the other hand, while quite relevant for bringing affine types into mainstream, still isn't what I would like to use across the various domains I work on.

Ironically, I see Java and .NET getting the missing features (AOT, low level unsafe code, better control over memory allocation) that will eventually allow me to use them in system level programming scenarios, where I would choose D today.

Re:Ask HN: Why do you use Rust, when D is available? by ckcheng on Saturday June 13, 2020 @07:05AM (#23508624)
Is there much choice though in terms of jobs? I mean, is it worth learning D vs rust? I'm actually thinking about that nowadays, for what to learn next..
Re:Ask HN: Why do you use Rust, when D is available? by pjmlp on Saturday June 13, 2020 @07:28AM (#23508703)
In terms of jobs I guess Rust has the edge, including all major ones in desktop, server and mobile OSes, there are still some companies using D though.

https://dlang.org/orgs-using-d.html

So if getting a job is your major learning motivation, then I guess Rust has definitely the edge there.

Re:Ask HN: Why do you use Rust, when D is available? by he_the_great on Saturday June 13, 2020 @02:42PM (#23511618)
Well learning D or Rust likely will not help you get a job writing Javascript. My C# style is heavily influenced by D, for the better IMO.

I have some potential coming up to do some Typescript, it will be interesting to find out how to transfer my experience into this language.