Speed kills

Jack Stouffer via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 17 10:50:45 PST 2016


On Wednesday, 17 February 2016 at 18:26:47 UTC, Basile B. wrote:
> Anyway, not good for phobos, why? When looking for 
> documentation yesterday night I've landed on a post by Walter 
> who explained that the library for a system programming 
> language shouldn't be specific to an architecture.

While I don't know about the post you're talking about, I don't 
think what Walter says applies to internal version blocks in a 
function. You could make it so on AMD lround and friends are much 
faster by using those ASM routines. Also, std.math is already 
chock full of architecture specific code.


More information about the Digitalmars-d mailing list