https://github.com/oxide-byte/wasm-calculator
POC in implementing as many programming languages to WASM Modules as possible
https://github.com/oxide-byte/wasm-calculator
kotlin leptos rust typescript wasm webassembly webassembly-lang
Last synced: 2 months ago
JSON representation
POC in implementing as many programming languages to WASM Modules as possible
- Host: GitHub
- URL: https://github.com/oxide-byte/wasm-calculator
- Owner: oxide-byte
- License: mit
- Created: 2025-03-09T13:01:22.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-03-17T19:32:54.000Z (2 months ago)
- Last Synced: 2025-03-17T20:35:12.536Z (2 months ago)
- Topics: kotlin, leptos, rust, typescript, wasm, webassembly, webassembly-lang
- Language: Rust
- Homepage:
- Size: 420 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# One Ring to rule ...
or somehow a theatrical introduction would be.
Target of this POC is to demonstate how many programming languages are already WASM Compatible and could exchange modules from one to the other language.
In this case there is a Rust Leptos Frontend consuming mathematical operations provided from different languages.
To not install all the languages, the build is done with Docker Images and build Scripts.
*Build WASM modules* : docker-compose up --build
| *module* | *language* | | *module* | *language* | | *module* | *language* |
|------------|------------|----|-----------|------------|----|------------|------------|
| wasm-add | Typescript | | wasm-mul | Kotlin | | wasm-power | Python |
| wasm-sub | WAT | | wasm-div | Go | | wasm-mod | Dart |
| wasm-min | Rust | | wasm-max | Java | | | |executing the Leptos application, you need have installed Rust + Trunk
*Executing frontend* : trunk serve

Links:
https://www.assemblyscript.org/introduction.html#from-a-webassembly-perspective
https://wa2.dev/