Skip to content

sample benchmark setup to test wasm interop with js for intensive calculations

Notifications You must be signed in to change notification settings

JSM33T/HandsOnWASM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build

    wip

run

emsdk_env.ps1 (for windows)

emcc add.c -o add.wasm --no-entry -s EXPORTED_FUNCTIONS=_add

Issues

unable to to go beyond a limit fo n without overflow.

Resolution

  1. without using any library

  2. Using a library, probably GMP (GNU Multiple Precision Arithmetic Library)

About

sample benchmark setup to test wasm interop with js for intensive calculations

Resources

Stars

Watchers

Forks