digitalmars.D - It's Alive! hello.d for Mac OSX Arch64 with dmd
- Walter Bright (16/16) Jun 19 ```d
- FinalEvilution (10/14) Jun 20 Congratulations Walter!
- Walter Bright (10/18) Jun 20 My work is specific to the Mac Arm64 ABI, which is sadly different from ...
- Indraj Gandham (1/1) Jun 20 Congratulations!
- Richard (Rikki) Andrew Cattermole (3/23) Jun 20 Nice!
- Walter Bright (3/4) Jun 20 I don't know if it will be ready for the next release. But the optimizer...
- Peter Alexander (2/6) Jun 20 Fantastic! Looking forward to using this when it is ready.
- singingbush (2/2) Jun 20 This is great news. Looking forward to testing out a build with
- Mindy (0xEAB) (2/5) Jun 20 Awesome, congrats!
- Walter Bright (1/1) Jun 20 Thanks everybody for the kind words! It makes my work worthwhile.
- Mike Shah (2/19) Jun 20 Very exciting -- well done Walter!
- Kapendev (2/6) Jun 21 Hypee!!!
```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.
Jun 19
On Saturday, 20 June 2026 at 06:21:30 UTC, Walter Bright wrote: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.Congratulations Walter! I remember you talking about the "arm programming experience™" at dconf and all the trials and tribulations. It's good to see you've had success. Although i won't immediately benefit from this i do have some project ideas that may need to run on low power devices, and better D support for the platform is much appreciated.
Jun 20
On 6/20/2026 12:26 AM, FinalEvilution wrote:Congratulations Walter!Thank you! It made me happy to see "hello world" appear!I remember you talking about the "arm programming experience™" at dconf and all the trials and tribulations. It's good to see you've had success. Although i won't immediately benefit from this i do have some project ideas that may need to run on low power devices, and better D support for the platform is much appreciated.My work is specific to the Mac Arm64 ABI, which is sadly different from the Linux AArch64 ABI, even though the CPUs are the same. Apple is set to abandon Rosetta in their upcoming Macs, meaning that only the Arm64 will be supported. After the Mac Arm64 is fully functional, I will return to making Linux AArch64 work. The initial work I'd done was on the Raspberry Pi, and I was able to make C programs work with DMD on it. There are no plans for the 32 bit Arm.
Jun 20
On 20/06/2026 6:21 PM, Walter Bright wrote:
```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.
Nice!
So next release we'll have a non-optimizing arm support fully shipped?
Jun 20
On 6/20/2026 1:03 AM, Richard (Rikki) Andrew Cattermole wrote:So next release we'll have a non-optimizing arm support fully shipped?I don't know if it will be ready for the next release. But the optimizer shouldn't need any changes.
Jun 20
On Saturday, 20 June 2026 at 06:21:30 UTC, Walter Bright wrote: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.Fantastic! Looking forward to using this when it is ready.
Jun 20
This is great news. Looking forward to testing out a build with these changes.
Jun 20
On Saturday, 20 June 2026 at 06:21:30 UTC, Walter Bright wrote: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.Awesome, congrats!
Jun 20
Thanks everybody for the kind words! It makes my work worthwhile.
Jun 20
On Saturday, 20 June 2026 at 06:21:30 UTC, Walter Bright wrote:
```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.
Very exciting -- well done Walter!
Jun 20
On Saturday, 20 June 2026 at 06:21:30 UTC, Walter Bright wrote: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.Hypee!!!
Jun 21









Walter Bright <newshound2 digitalmars.com> 