Go compiler moving from C to Go

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sun Dec 22 11:57:54 PST 2013


On 21/12/13 15:44, Russel Winder wrote:
> Inline assembly means you have to have the assembly code for each
> supported platform in the code with all the conditionals to the
> compiler. Having separate files is often much easier to manage and to
> build from.
>
> OK so D only support Intel processors just now so only one inline
> assembly type, but this is part of the problem not the solution.

That surely depends on your use-case.  There must be situations in embedded 
programming where it's useful to be able to just put in a handful of lines of 
assembly, and where there's no portability issue to cause you to get lost in a 
maze of conditionals.



More information about the Digitalmars-d mailing list