Remix.run Logo
that_guy_iain 9 hours ago

Serious question, how is this on the front page? We all know of the language and chosen not to use it.

Edit: Instead of downvoting, just answer the question if you've upvoted it. But I'm guessing it's the same sock accounts that upvoted it.

nairboon 8 hours ago | parent | next [-]

> We all know...

HN isn't as homogeneous as you think. By this measuring stick, half of the posts on the front page can be put into question every day.

that_guy_iain 8 hours ago | parent [-]

Let's be serious, most people are regulars and this has been on the front page multiple times like constantly. And it was upvoted 4 times on new to get to the front page rapidly. It's not something new that we're all "Oh that's cool".

We also know there are tons of sock accounts.

And no half of the posts on front page can't be put in that since they aren't constantly reposted like this.

So, while there are a few people who will have learnt about this for the first time. Most of you know what it is and somehow feel like this is your chance to go look I'm smarter than Iain. And I think you've failed again.

nottorp 7 hours ago | parent [-]

Do you know the joke with "I'll repeat the joke to you until you understand it?".

That's why some things get reposted and upvoted. In hope of getting someone else to understand them.

By the way, do you complain about sock accounts when yet another "Here is this problem, and by the way we sell a product that claims to solve it" gets upvoted?

that_guy_iain 7 hours ago | parent [-]

> Do you know the joke with "I'll repeat the joke to you until you understand it?".

Nope. That's not a joke. That's not funny.

> That's why some things get reposted and upvoted. In hope of getting someone else to understand them.

No, they get reposted and upvoted by sock accounts in hope that someone will finally be interested in a 30 year old programming language.

> By the way, do you complain about sock accounts when yet another "Here is this problem, and by the way we sell a product that claims to solve it" gets upvoted?

What does content marketing have to do with sock accounts?

I'm honestly not sure what point you thought was getting made. Do you honestly think people don't understand D? It's been looked at repeatedly and still nothing cool is built in it.

nottorp 3 hours ago | parent | next [-]

> What does content marketing have to do with sock accounts?

If you accuse interesting subjects of being pushed by sock accounts, why wouldn't content marketing, which has even more interest in getting to the front page, be pushed by sock accounts?

that_guy_iain 2 hours ago | parent [-]

Interesting subjects? A 30(?) year old programming language that has been on here repeatedly is not an interesting subject. New programming languages are. Cool things written in obscure languages is also interesting.

The content marketing that is pushed by sock accounts is wank and generally drops pretty quickly and called out like this. But you just complain about content marketing because you're one of those people who think you should make money but no one else.

its_magic 6 hours ago | parent | prev [-]

You're harsh but that's OK. There is a lot of truth in what you're saying. I really wish people would quit downvoting everything they disagree with. HN would be 100x better if both the downvote and flag buttons were removed.

To me, a C guy, the focus on garbage collection is a turn-off. I'm aware that D can work without it, but it's unclear how much of the standard library etc works fine with no garbage collection. That hasn't been explained, that I saw at least.

The biggest problem however is the bootstrapping requirement, which is annoyingly difficult or too involved. (See explanation in my other post.)

that_guy_iain 5 hours ago | parent [-]

I'm not sure how I'm being harsh. It's literally a somewhat well known programming language being reposted for the 100th time or something silly like that. I'm literally just pointing out the truth and it's almost certainly the main poster downvoting things.

its_magic 5 hours ago | parent [-]

> I'm literally just pointing out the truth

Problem identified.

That's not popular here.

badsectoracula 7 hours ago | parent | prev | next [-]

As evidenced by several other comments, even if someone already knows about D they can still use posts like this as a prompt for talking about their experiences and current thoughts about it (which can be different from 1, 5 or 10 years ago).

kitd 8 hours ago | parent | prev | next [-]

Weird post. How does one of today's 10,000 who have never heard of a subject learn about it?

TZubiri 8 hours ago | parent | next [-]

Interestingly, today someone can be one of the lucky to learn about the lucky 10000:

https://xkcd.com/1053/

meta

that_guy_iain 7 hours ago | parent | prev [-]

All seriousness, do you honestly think this site has 10,000 new users a day? How many people do you think are on here that aren't very well informed? Honestly, I'm just wondering?

Also, do you know it only gets to front page if the hardcore that go to new upvote it? How many hardcore people don't know what D is?

kitd 3 hours ago | parent [-]

https://xkcd.com/1053/

And if you've never heard of the lucky 10000, QED.

aki237 8 hours ago | parent | prev | next [-]

Genuinely curious as I'm relatively new compared to the time of inception of this language. Can you cite the reasons why people didn't choose D?

brabel 8 hours ago | parent | next [-]

It was competing with C and Java when it came out. People who like C will not use a language with garbage collection, even one that allows you to not use it. Against Java, it was a losing battle due to Java being backed by a giant (Sun , then Oracle) and basically taking the world by storm. Then there were also license problems in early versions of D, and two incompatible and competing standard libraries dividing the community. By the time all these problems were fixed, like a decade ago, it was already too late to make a comeback. Today D is a nice language with 3 different compilers with different strengths, one very fast, one produces faster results, and one also does that by works in the GCC ecosystem. That’s something few languages have. D even has a betterC mode now which makes it very good as a C replacement, with speed and size equivalent or better than a C equivalent binary… and D has the arguably best meta programming capabilities of any language that is not a Lisp, including Zig. But no one seems to care anymore as all the hotness is now with Rust and Zig in the systems languages space.

jibal 5 hours ago | parent | next [-]

I like and use D but Nim has better metaprogramming capabilities (but D's templates are top-notch except for the error message cascades). (And Zig's metaprogramming is severely hobbled by Andrew's hatred of macros, mixins, and anything else that smells of code generation.)

fuzztester 6 hours ago | parent | prev | next [-]

Can you explain what BetterC is, and what it is used for?

I think there's also something called ImportC. Not sure what that is either.

I read the D blog sometimes, and have written some programs in D, but am not quite clear about these two terms.

jibal 5 hours ago | parent [-]

https://dlang.org/spec/betterc.html

https://dlang.org/spec/importc.html

> Note: ImportC and BetterC are very different. ImportC is an actual C compiler. BetterC is a subset of D that relies only on the existence of the C Standard library. BetterC code can be linked with ImportC code, too.

D contains an actual C compiler because Walter Bright wrote one long ago and then incorporated it into D.

Zig also contains an actual C compiler, based on clang, and has a @cImport directive.

its_magic 6 hours ago | parent | prev [-]

I had D support in my distro for a while, but regrettably had to remove it. There's just too many problems with this language and how it's packaged and offered to the end user, IMO. It was too much hassle to keep it around.

To get it onto one's system, a bootstrapping step is required. Either building gcc 9 (and only gcc 9) with D support, then using that gcc to bootstrap a later version, or bootstrapping dmd with itself.

In the former case I'm already having to bootstrap Ada onto the system, so D just adds another level of pain. It also doesn't support all the same architectures as other gcc languages.

In the case of dmd, last I checked they just shove a tarball at you containing vague instructions and dead FTP links. Later I think they "updated" this to some kind of fancy script that autodownloads things. Neither is acceptable for my purposes.

I just want a simple tarball containing everything needed with clear instructions, and no auto downloading anything, like at least 90% of other packages provide. Why is this so hard?

Tip: pretend it's still the BBS days and you are distributing your software. How would you do it? That's how you should still do it.

I haven't tried the LLVM D compiler, and at this point quite frankly I don't want to waste any more time with the language, in its current form at least--with apologies to Walter Bright, who is truly a smart and likeable guy. Like I said, it's regrettable.

The only way to revive interest in D is through a well planned rebranding and marketing campaign. I think the technical foundation is pretty sound, but the whole image and presentation needs a major overhaul. I have an idea of how to approach that, were there interest.

The first step would be to revive and update the C/C++ version of the D compiler for gcc so as to remove the bootstrapping requirement and allow the latest D to be built, plus a commitment to keeping this up to date indefinitely. It needs to support all architectures that GCC does.

Next, a rebranding focused on the power of D without garbage collection.

I'm willing to offer ongoing consultation in this area and assistance in the form of distro support and promotion, in exchange for a Broadwell or later Xeon workstation with at least 40 cores. (Approx $350 on Ebay.) That's the cost of entry for me as I have way too much work to do and too few available CPU cycles to process it.

Otherwise, I sincerely wish the D folks best of luck. The language has a lot of good ideas and I trust that Walter knows what he is doing from a technical standpoint. The marketing has not been successful however, sadly.

bmacho 7 hours ago | parent | prev [-]

"We all know of the language and chosen not to use it."

Is a strange claim, and hard to cite. But I think many HNers have tried out D and decided that it's not good enough for them for anything. It is certainly advertised hard here.

Maybe you should Ask HN.

anonzzzies 9 hours ago | parent | prev | next [-]

even in this empty thread there are people who dont know it.

LVB 8 hours ago | parent | prev | next [-]

It's a programming language that some people like, and or would like to see become more mainstream?

I think any presumption about what "we all know" will earn you downvotes.

jibal 6 hours ago | parent | prev [-]

You should familiarize yourself with these: https://news.ycombinator.com/newsguidelines.html