Live data from Hacker News

Driving with D

dlang.org

51–60 of 186 posts

Re: Driving with D

#51
post #2

Any reasons D never caught on more? No big tech company anchor behind it?

Symmetry Investments, a $4.5bn assets-under-management hedge fund, sponsors Dlang. No major tech company behind Dlang.

A company that probably understands risk-reward.

Re: Driving with D

#53
post #13

Hi, I'm the author of the article. Feel free to ask any questions you may have. I have to go to bed, I have work in about 4 hours, so I'll reply when I can.

Out of curiosity, what is your job?

He said he's gone to bed, but he's a student.

Re: Driving with D

#54
post #2

Any reasons D never caught on more? No big tech company anchor behind it?

Symmetry Investments, a $4.5bn assets-under-management hedge fund, sponsors Dlang. No major tech company behind Dlang.

Symmetry are a bit bigger than that now. They use D extensively and it's been very good for them.

Edit: Why am I being downvoted for repeating publicly available information?

Re: Driving with D

#55
post #42
post #32

Earlier quoted context omitted.

Except that Rust compilers seem incredibly hard to implement, as opposed to C.

I don't think minimal compiler complexity is a real requirement as much as safe and reliable software is. CPU fabs aren't easy, yet we're fine with that.

It matters for portability. I'm not saying it's the most important requirement, of course, but it's C strongest point.

Re: Driving with D

#56
post #17
post #2

Any reasons D never caught on more? No big tech company anchor behind it?

I used D for a while. It improves several things over C++, among them: - More powerful metaprogramming capabilities. - Better module and library system. - Nicer syntax. The problem IMO is it's just not enough to justify a total move from C++ -> D. The syntax of C++ can't really be fixed, but the other aspects can be improved without a new language. Furthermore, many of the other downsides of C++ are still present: -…

> such as the fact that a safe subset exists, but depends on GC,

@safe works perfectly fine and exactly the same in @nogc code as in GC-enabled code.

Re: Driving with D

#57
post #32
post #17

Earlier quoted context omitted.

I used D for a while. It improves several things over C++, among them: - More powerful metaprogramming capabilities. - Better module and library system. - Nicer syntax. The problem IMO is it's just not enough to justify a total move from C++ -> D. The syntax of C++ can't really be fixed, but the other aspects can be improved without a new language. Furthermore, many of the other downsides of C++ are still present: -…

Except that Rust compilers seem incredibly hard to implement, as opposed to C.

That is very true but absolutely fine because then some fine set of engineers can do the hard lifting parts and rest of the ecosystem can thrive on stable base that core establishes. That is how things work in most of industries, not everybody is writing a compiler (or even suitable for writing one!), but the complexity compilers remove lets you build more complex pieces of engineering.

Re: Driving with D

#58
> From the factory, it came with a rubbish four-speed automatic gearbox. During 18 months of ownership, I destroyed four gearboxes.

[I'm from Europe.] I absolutely don't get this. Just... what? Four gearboxes? I don't know anyone who destroyed a single one - even after an entire lifetime of daily driving, but I don't mean Mercedeses - more like Škodas. What's up with American cars? Is this common?

Edit: my bad, the car is Australian.

Re: Driving with D

#59

Earlier quoted context omitted.

Honestly, I believe it is much more about marketing than one might expect.

That's kind of an uncharitable way to say, "Rust has a welcoming and beginner-friendly community". It's not like there's a marketing team buying Facebook ads.

Rust had Mozilla blog posting about it for a long time.

https://hacks.mozilla.org/2016/07/shipping-rust-in-firefox/

Let's not pretend marketing is just paid Facebook/Google ads.

Re: Driving with D

#60

Earlier quoted context omitted.

Can you expound upon why you feel that way?

UFCS as a concept is fantastic but the one hangup is that D's language server implementation by the community and its IDE integration can't handle it because of the complexity. https://github.com/Pure-D/serve-d https://github.com/Pure-D/code-d (I can't remember if the Visual Studio extension, VisualD handles UFCS or not) http://rainers.github.io/visuald/visuald/StartPage.html It's possible to implement, because Nim's…

The language server doesn't do it because it's only a parser whereas making UFCS work properly would presumably require a full semantic analyser. By no means impossible to do, just no one has taken the plunge yet.
Post reply on HN