It's Alive! hello.d for Mac OSX Arch64 with dmd
Walter Bright
newshound2 at digitalmars.com
Sat Jun 20 06:21:30 UTC 2026
```d
import core.stdc.stdio;
int main()
{
printf("hello world\n");
return 0;
}
```
```
dmd -marm64 -os=osx hello.d
./hello
hello world
```
A big milestone! It looks like a trivial program (and it is), but an
unbelievable amount of compiler code needs to work correctly for it to compile
correctly. For example, druntime has to compile, initialize itself, and work.
More information about the Digitalmars-d
mailing list