Skip to content

oxide-byte/wasm-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 wasm-concat Swift
wasm-digit-counter Zig

executing the Leptos application, you need have installed Rust + Trunk

Executing frontend : trunk serve

alt text

Links:

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

https://wa2.dev/

About

POC in implementing as many programming languages to WASM Modules as possible

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published