D for sciencetific scripting / rapid protoryping

Daniel Kozak kozzi11 at gmail.com
Tue Oct 22 08:30:36 UTC 2019


On Tue, Oct 22, 2019 at 10:25 AM Prokop Hapala via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:
>
> ...
>
> Also where is RDMD in the equation? I really like the idea run
> binary programs like:
>
> #!/usr/bin/env rdmd
> import std.stdio;
> void main(){
>      writeln("Hello, world!");
> }
>
> But I cannot find any documentation how to use rdmd with any
> libraries/dependencies and dub.json ? Not even statically linked,
> not to say dynamic.
>

You can't use rdmd with dub, but for simple scripts you can use dub directly:

https://dub.pm/advanced_usage.html


More information about the Digitalmars-d-learn mailing list