News for hackers. Stuff that matters.
Re:My experience with the computer language shootout by kingkilr on Sunday April 03, 2011 @09:43PM (#2404911)
Well, that's what the compiler is for! PyPy uses SSE under the hood for various float handing things.
Re:My experience with the computer language shootout by onan_barbarian on Sunday April 03, 2011 @11:33PM (#2405238)
Unfortunately, SSE - especially in integer-land, so I suppose we're talking SSE2 and beyond - often requires more specialist care and feeding than any automatic method (compiler or run-time) can provide.

Some cases aren't hard to pick up (e.g. bulk operations on big arrays) but others require trickery of the kind that compilers usually don't (or couldn't) have.

This isn't made easier by the notoriously non-orthogonal nature of the SSE integer operations and the rather limited number of ways that you can get in and out of SSE-land (to, say, affect a conditional or get something into a GPR).

Re:My experience with the computer language shootout by igouy on Monday April 04, 2011 @01:10PM (#2407425)
Also "J2SE platform version 1.4.2 now uses SSE and SSE2 instruction sets for floating point computations".