On Thu, May 29, 2014 at 4:21 PM, Boris Zbarsky <bzbar...@mit.edu> wrote:
> On 5/29/14, 5:13 PM, Glenn Maynard wrote: > >> Assembly language is inherently incompatible with the Web. >> > > A SIMD API, however is not. Under the hood, it can be implemented in > terms of MMX, SSE, NEON, or just by forgetting about the SIMD bit and > pretending like you have separate operations. In particular, you could > have a SIMD API that desugars to plain JS as the default implementation in > browsers but that JITs can recognize and vectorize as they desire. This > sort of API will happen, for sure. > I doubt it, at least with performance competitive with native assembly. We certainly shouldn't delay features while we hope for it. -- Glenn Maynard