News for hackers. Stuff that matters.
Re:I spent a year of my life making an ASN.1 compiler in D by sfpotter on Thursday October 23, 2025 @12:40PM (#45683954)
I freely admit to not being a Go or Rust expert, but from what I can tell using C from D is even easier than in either of these languages. The C++ interop is also decently usable.

IMO, the bigger issue is language tooling.

Re:I spent a year of my life making an ASN.1 compiler in D by WalterBright on Thursday October 23, 2025 @11:42PM (#45690529)
D really does work as a "Better C" C compiler. For example, D's Import C supports this:

    void abc() { def(1.0); }
    void def(double) { }
I.e. forward references "just work". (Forward references don't work in C++, either.)
Re:I spent a year of my life making an ASN.1 compiler in D by sfpotter on Friday October 24, 2025 @02:53PM (#45697892)
Being able to use ImportC to "just include" all of LAPACKE was a high point for me with this! Thanks for adding this feature, it rocks.

... Now, get started on ImportC++!!! (Only joking... kind of. ;-) )