Skip to content

Some pointers on creating the wrapper js over the emscripten build#1

Draft
sdmuki wants to merge 3 commits intomainfrom
integration
Draft

Some pointers on creating the wrapper js over the emscripten build#1
sdmuki wants to merge 3 commits intomainfrom
integration

Conversation

@sdmuki
Copy link
Copy Markdown

@sdmuki sdmuki commented Apr 24, 2024

Here is what's needed:

  1. A library to JS array and pointer conversions. I wrote the vector one for 32 bit floats.
  2. an API exposing readable functions which consumes the wasm js wrapper from emscripten build. Examples in the api folder.

Comment thread src/eigen/eigen.cpp

extern "C"
{
EMSCRIPTEN_KEEPALIVE
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be accomplished through compiler flags too

@TtheBC01
Copy link
Copy Markdown
Contributor

32bit floats is probably what we want to work in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants