Doodle3D/Doodle3D-Slicer

Research WebAssembly

peteruithoven opened this issue · 1 comments

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:

Looking through the issue queues of Typescript and Flow they don't believe it fits their goals.

On using / wrapping ASM.js modules: https://youtu.be/vDFf8V9n6RM?t=13m48s