Skip to content

Test repository to run KOS OT in the browser using WASM

Notifications You must be signed in to change notification settings

tlsnotary/wasm-tokio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wasm-Tokio Example

This is a test project to run KOS OT rand_setup in the browser using WASM, making use of a single-threaded tokio runtime and multiple rayon threads.

How to run it

Requirements

  1. Install google-chrome browser.
  2. Install simple-http-server
  3. Install wasm-pack

Run

# Build wasm modules and js wrapper
wasm-pack build -t web -d www/pkg --release

# Serve files
simple-http-server --ip 127.0.0.1 --nocache -t1 -i --coop --coep www

Now open Chrome at localhost:8000. You should see some messages in the console.

About

Test repository to run KOS OT in the browser using WASM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published