News for hackers. Stuff that matters.
Re:Say Hello to X64 Assembly Part 3 by jwr on Friday September 19, 2014 @05:11PM (#8342513)
The definition of "fast enough" varies.

A while ago, I was doing some exploratory work — basically trying out various approaches to a problem. There was a particular piece of code that was quite expensive to execute and that was executed a lot. The net result was that a single calculation of the required matrix took about two months.

It took more than a month of hard, full-time work to fit the problem into fixed-point registers and the SIMD model used by Intel SSE. Over two weeks from that month were spent on debugging, even though I went through multiple versions in C, each one closer to the target assembly. But the resulting speedup was well worth it: about 600x.

Now think about it. 600x. We went from "a single try/iteration takes two months" to "we can try six variations overnight".

So yes, assembly matters, for many reasons of which I only outlined one.

As a side note, people tend to focus on big-O algorithm performance, neglecting the constant. But the constant matters in practice, more than most people think.

Re:Say Hello to X64 Assembly Part 3 by Havoc on Friday September 19, 2014 @06:25PM (#8342814)
>The definition of "fast enough" varies.

You list one specific example where ASM provided a tangible speed benefit in a research oriented processing heavy env.. Indeed. Now take a good look at my original comment:

>>Sure I can understand some in-line ASM for hardcore speed-critical code

Re:Say Hello to X64 Assembly Part 3 by floody-berry on Friday September 19, 2014 @07:39PM (#8343061)
Er, do you think only a select few people need to know assembler then?