Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Many people do use D as a scripting language, replacing their use of bash. D programs can be compiled and run in one step.

    #!/usr/bin/env rdmd
    import std.stdio;
    void main()
    {
        writeln("Hello, world with automated script running!");
    }


    > ./myprog.d
    Hello, world with automated script running!
https://dlang.org/rdmd.html



Classically, you wait until your name is said three times, before appearing before the supplicant!


Do you also have:

1. Statically linked executables (essential but not crucial)

2. Dependency management (import tripleo.rtfm from "git:...#1234567")

3. A good AST API (jdt/roaster, javapoet, etc)

4. Tooling (cf spoon/soot)

(I approve this comment, even given it's limited usefulness/expressivity)


> 2. Dependency management (import tripleo.rtfm from "git:...#1234567")

Not built into the compiler, but Dub, the official package manager distributed with the compiler, should be what I think your concise statement is referring to.


1. yes

2. no

3. that's what this topic is about

4. yes




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: