Earlier quoted context omitted.
D can do RAII.
via structs, right? As for classes you should not rely on it I recall.
https://dlang.org/blog/2017/07/07/go-your-own-way-part-one-t...
71–80 of 89 posts
Earlier quoted context omitted.
D can do RAII.
via structs, right? As for classes you should not rely on it I recall.
https://dlang.org/blog/2017/07/07/go-your-own-way-part-one-t...
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.
Earlier quoted context omitted.
> Do you plan on giving Zig a try? (They seem to be doing a lot right.) All this Zig spam is getting very tiring.
Have you heard of Rust?
Earlier quoted context omitted.
> In a conversation about languages with this kind of C interop It's not. It's a discussion about "the C compiler built into the Digital Mars D compiler". Please stop with all the Zig spam.
Instead of being petulant about it, you could ignore it and move on
Not wanting to see gratuitous self-promoting spam degrading the signal/noise ratio of an otherwise interesting discussion is hardly petulance. Replace any Zig reference shoe-horned into this discussion with, say, Java, and see if you have any point.
Earlier quoted context omitted.
Instead of being petulant about it, you could ignore it and move on
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.
Earlier quoted context omitted.
> Do you plan on giving Zig a try? (They seem to be doing a lot right.) All this Zig spam is getting very tiring.
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 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 and any top submission with these gratuitous references.
Earlier quoted context omitted.
Designator-list support has since been added. The multi-layer designators are still to be done, though (they're rarely used, so are a lower priority).
I think something along those lines (rarely used...) was also given by the C++ Committee as justification why so much of the C99 designated init feature set was left out of C++20, which is a bit of a shame. All C99 designated-init 'sub-features' complement each other nicely once you start using them. It's a great way for building 'data-centric' APIs. For instance check out this call to create a 3D-API pipeline-state-…
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…
Earlier quoted context omitted.
Instead of being petulant about it, you could ignore it and move on
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.