DMD as cross-compiler
Robert M. Münch
robert.muench at saphirion.com
Thu Nov 12 22:01:02 UTC 2020
On 12 Nov 2020 at 07:42:00 CET, "Jacob Carlborg" <doob at me.com> wrote:
> The reason why it works for Go is because they have their own
> full toolchain. That means, their own compiler (including
> backend), their own assembler, their own object format and their
> own linker. All of these are written to be cross-target.
And being x-target is a key design goal, which is really an amazing
out-of-the-box experience.
Of course you have some (silent) different behavior for some Go std lib
stuff... which can be of surprise. The rust guys take a much more pedantic
approach here, which IMO is the cleaner way to do it.
However, Go's goal is getting stuff done. And it's really delivering on that.
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster
More information about the Digitalmars-d
mailing list