Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

iodide-project/untitled-math-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

untitled-math-project

So far this project represents attempts to create a wasm-module which wraps the rust bluss/ndarray scientific computation library to provide performant arrays to datascientists within the js environment.

steps to setup

  • follow the installation steps for rust here

  • setup rust nightly on your machine

  • update and install wasm-target

  • install wasm-bindgen

    • cargo +nightly install wasm-bindgen-cli
    • extra info

compilation of rust-> wasm

From the root of the project directory run

cargo +nightly build --lib --target wasm32-unknown-unknown
wasm-bindgen target/wasm32-unknown-unknown/debug/rust_sci_test.wasm \
  --out-dir js_code/