Add WebAssembly as Compiling Target #4180
Replies: 2 comments
-
|
Interesting yes, and an interesting project, but likely of limited use unless you also bundle gfan and normaliz and a bunch of other software that M2 relies on as well. |
Beta Was this translation helpful? Give feedback.
-
|
You are right. That is possible and requires more work. To see what the WebAssembly version of Macaulay2 could achieve, you can try this demo: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be quite interesting to see if it is possible to compile Macaulay2 to WebAssembly. This will allow Macaulay2 to be used in browser as a static website and also to be integrated into JavaScript ecosystem.
As a reference, I had some experiments in porting Singular CAS to WebAssembly:
demo:
https://wangyenshu.github.io/Singular-wasm/
build script:
https://github.com/wangyenshu/Singular-wasm/tree/Singular-wasm/emscripten
Beta Was this translation helpful? Give feedback.
All reactions