Go compiler moving from C to Go

Russel Winder russel at winder.org.uk
Sat Dec 21 06:44:32 PST 2013


On Sat, 2013-12-21 at 14:03 +0100, Jacob Carlborg wrote:
> On 2013-12-21 11:14, Russel Winder wrote:
> 
> > Inline assembly language is a huge disadvantage in many (most?) case.
> 
> I don't know. Would you like to move all the current inline assembly in 
> druntime to their own files? I don't use assembly myself but it seems 
> convenient to have support for inline assembly for use cases like in 
> druntime. Most inline assembly in drunimte only consists of 1-10 lines 
> of code.

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.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20131221/edd98b8a/attachment.sig>


More information about the Digitalmars-d mailing list