Could you elaborate? I don't see the application, JS is still ghastly slow in comparison to C.
Compile to asm.js?
Right then why would you ever even use this library instead of a typed byte array? ASM.JS isn't needed for typed arrays, besides its only supported on FF.