News for hackers. Stuff that matters.
Re:Rust: Not So Great For Codec Implementing by phkahler on Tuesday August 01, 2017 @02:42PM (#14903948)
I want it to turn it into SIMD instructions. What I don't want is to write classes, functions, or loops that have to be automatically converted to SIMD. I want a simple built-in type for these three size vectors. I also mentioned that they should be passed by value and be able to be returned by value in a (SIMD) register. This is the most efficient way to write and execute vector math.
Re:Rust: Not So Great For Codec Implementing by kbenson on Tuesday August 01, 2017 @02:54PM (#14904076)
Can't a library just add that? Make some types, implement some functions and/or overload some ops. If you're defining the special type anyway, I'm not sure why it has to be built in.