slightlyoff / cassowary.js

Cassowary/JS, better, faster, future-ready
Other
1.69k stars 107 forks source link

Use asm.js for ROFLPERFS #33

Open subtleGradient opened 11 years ago

subtleGradient commented 11 years ago

http://asmjs.org/spec/latest/

slightlyoff commented 11 years ago

It may be possible to rework the core of the solver to use asm.js, but interacting with it sanely looks like it'll always be an FFI.

I wonder if we wouldn't be better off re-writing the C++ version to use modern C++11 style and then emscripten that down to asm.js to see if we can't get the perf that way.

subtleGradient commented 11 years ago

:+1: