News for hackers. Stuff that matters.
Re:Best aspects of C by WalterBright on Tuesday November 17, 2020 @10:51PM (#25133006)
If you use D as Better C, it does not require anything other than the existence of the C standard library. Here's "hello world" in DasBetterC:

    import core.stdc.stdio;
    int main() {
        printf("hello world!\n");
        return 0;
    }
and yes, it is calling C's printf. To build it:

    dmd -betterC hello.d

There are no comments on this comment yet.