Research WebAssembly
peteruithoven opened this issue · 1 comments
peteruithoven commented
WebAssembly is the next iteration of ASM.js.
This is especially important for the javascript port of Clipper library we use.
It's currently embedded in this source), @casperlamboo are we using the following project? http://sourceforge.net/projects/jsclipper/
We might want to port the latest C++ version of Clipper ourselves to something more optimized using Emscripten.
For this slicer in general, which we don't want to write in C++, we might want to look into languages that can compile into WebAssembly/ASM.js like:
More info:
- https://blog.mozilla.org/luke/2015/06/17/webassembly/
- https://brendaneich.com/2015/06/from-asm-js-to-webassembly/
- http://arstechnica.com/information-technology/2015/06/the-web-is-getting-its-bytecode-webassembly/
Looking through the issue queues of Typescript and Flow they don't believe it fits their goals.
peteruithoven commented
On using / wrapping ASM.js modules: https://youtu.be/vDFf8V9n6RM?t=13m48s