Live data from Hacker News

Next C compiler is a D compiler: Introducing DMD's ImportC

briancallahan.net

81–89 of 89 posts

Re: Next C compiler is a D compiler: Introducing DMD's ImportC

#81
post #64

Earlier quoted context omitted.

It's not "Zig spam" to ask, in direct response to a compiler guy who has just stated that they have not tried it yet, whether they plan to. For further context, the video I linked to is Walter showing up to a C++ users group to present a talk about the D compiler infrastructure—again, at a C++ event, for a bunch of C++ programmers. Considering that, if what I've done here by asking the natural follow up question is a…

> It's not "Zig spam" to ask (...) It is Zig spam, not because of the discussion or the question or the topic of the time of day. It's Zig spam because it's yet another Zig post among the barrage of Zig posts desperately shoe-horning offtopic gratuitous references to Zig. It's tiring and adds nothing to any discussion. If you feel that strongly about the need to promote Zig, submit discussions. Please don't spam each…

Please don't blow past the comments already addressing your complaint.

What I responded to was a comment from D's own creator who himself directly mentioned Zig. I didn't shoe-horn shit. I've been waiting a long time for a hit on Corncob TV.

If you're upset about Zig mentioned here, your quarrel is not with me, the person who spent over half the words in their comment bringing it back to the original topic by linking to a useful talk; your quarrel is with, if anyone, the original questioner who got Walter to comment on Zig. (And even then, your ire would be tenuous at best, for the reasons already mentioned.) I also cannot "feel that strongly about the need to promote Zig"—because I am not promoting Zig. As I have already said, D is closer to my tribe than Zig is.

Re: Next C compiler is a D compiler: Introducing DMD's ImportC

#82

Earlier quoted context omitted.

Hard to ignore it when it's always in your face: https://news.ycombinator.com/item?id=33331549 I don't mind languages getting hyped but seeing posts every week on the front page of HN about an unstable esoteric language with 0 adoption - yes, it's getting tiring.

How come it's always accounts made a few days ago which seem too have this problem with other people's interests

Literally from the thread I shared:

- https://news.ycombinator.com/item?id=33337381 (posted from a 12-year-old account)

- https://news.ycombinator.com/item?id=33333904 (posted from a 2-year-old account)

Re: Next C compiler is a D compiler: Introducing DMD's ImportC

#83

Earlier quoted context omitted.

Hard to ignore it when it's always in your face: https://news.ycombinator.com/item?id=33331549 I don't mind languages getting hyped but seeing posts every week on the front page of HN about an unstable esoteric language with 0 adoption - yes, it's getting tiring.

How come it's always accounts made a few days ago which seem too have this problem with other people's interests

10241024 is without a doubt our friendly neighbor troll https://gist.github.com/andrewrk/9aed922a6210e57243af8be8d10...

simplotek is most probably a legitimate user annoyed by Zig news. I don't agree with their point, for what it's worth, but at least it's an opinion shared earnestly, unlike the troll.

Re: Next C compiler is a D compiler: Introducing DMD's ImportC

#84
post #67
post #59

Earlier quoted context omitted.

> A lot of people might not know that Personally, that would surprise me, because C++ compilers is the context where I first read the name. I'm not saying this is incorrect, but I would find it amusing somehow.

It's fair to say that Walter is best known for his work with D rather than his work with C++, though.

Depends on how old you are. ;-)

Re: Next C compiler is a D compiler: Introducing DMD's ImportC

#85

Hello Walter, do you have any advice on integrating Rust and D? Especially regarding GC

Rust is pretty clearly the ascendant language in this (big) niche. I forecast that as it’s pragmatic, industrial uses (inevitably) grow sharply, that the FFI story will just have to improve. Rust is going to be the next “low-level” language. The “Pure Rust” talking point will have to recede a bit but it will be a net win for Rust’s truly broad adoption, which is going to happen whether cranky old-timers like me like…

Bitching about downvotes is generally frowned upon around here, but I’ll burn a little of my old-timer credit.

How is acknowledging that Rust is clearly and obviously the next big thing an insult to anyone.

It’s not my favorite language but it’s a good one and I know it’s going to displace C/C++ in my lifetime. What more does the downvote brigade want?

Re: Next C compiler is a D compiler: Introducing DMD's ImportC

#86
post #84
post #67

Earlier quoted context omitted.

It's fair to say that Walter is best known for his work with D rather than his work with C++, though.

Depends on how old you are. ;-)

Indeed. He was a legend a long time before there was a D programming language.

Re: Next C compiler is a D compiler: Introducing DMD's ImportC

#87

Earlier quoted context omitted.

My experience with D is always a joyful one. If it isn't because it is a relatively straightforward language to learn then it is learning something new now and then that just makes life to much more easier. Infact, D was the first language I learnt templating in and I really like it (or rather, the way D goes about it - made it much more approachable for me).

I wasn't going to add templates to D until I figured out a way to make them simple.

You definately made it simple! I recall the very first time I tried learning then in D (was trying to understand the `to!` from `std.conv` and it seemed simple enough).

The syntax for inferring a type for function calk arguments is nifty too.

Lastly, today I finally understand what mixins are , I just read some stdlib file somewhere and thought, wow that's rather useful. I definately think I will be making use of mixins sometime soon, been working on a small compiler in D itself and there are times were duplication (or perhaps inclusion is a better word) of code would be nice in such a manner.

Re: Next C compiler is a D compiler: Introducing DMD's ImportC

#88
post #84
post #67

Earlier quoted context omitted.

It's fair to say that Walter is best known for his work with D rather than his work with C++, though.

Depends on how old you are. ;-)

Yes, Zortech C++: about 1991 IIRC. If this was not the first commercial compiler available on Windows, it was one of them.

Re: Next C compiler is a D compiler: Introducing DMD's ImportC

#89
post #25

Earlier quoted context omitted.

Do you plan on giving Zig a try? (They seem to be doing a lot right.) Taking the opportunity here to point people to "Adding Modules to C in 10 Lines of Code" from NWCPP earlier this year: https://www.youtube.com/watch?v=2ImfbGm0fls > (The pitfalls you mention running into there wrt to different compiler instances is itself a decent case study in not relying on singletons http://www.object-oriented-security.org/lets-…

> Do you plan on giving Zig a try? (They seem to be doing a lot right.) All this Zig spam is getting very tiring.

Agree about the excessive spam. To include attacks and bashing of other programming languages. It's very obvious what's going on and looks like it's going over the top, as if a concerted effort and mode of operation.
Post reply on HN